Server
a.Operating System :- Fedora-15
b.Samba Server :- Samba version 3.0.23c-2 (included in Fedora Dvd)
Computer Name:-server
Comment :- Domain Controller
Domain Name :- rizvi.com
Domain admin Name :- rootIp Address :- 192.168.0.10
Client
a.Operating System :- Windows Xp Sp2Computer Name :- wxp
Domain Name :- rizvi.com
Ip Address :- 192.168.0.20
Configuration
Server
1.
vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.10 server
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.10 server
2.
vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=server
HOSTNAME=server
3.
vi /etc/sysconfig/network-scripts/ifcfg-eth0
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:0C:29:9E:C2:10
IPADDR=192.168.0.10
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:0C:29:9E:C2:10
IPADDR=192.168.0.10
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
4.
vi /etc/samba/smb.conf
[global]
workgroup = rizvi.com
netbios name = Server
server string =
server string =
security = user
encrypt passwords = yes
encrypt passwords = yes
domain logons = yes
local master =yes
os level = 65
preferred master = yes
domain master = yes
wins support = yes
[homes]
comment = Home Directories
browseable = no
writeable = yes
5.
add a group for Clents in /etc/group by typing:-
groupadd -r DomainClientComputers
Register in that group Machine name to be join in /etc/passwd by typing:-
useradd -r -g DomainClientComputers -d /dev/null -s /dev/null vxp$
Add Machine Nane in /etc/samba/smbpasswd
smbpasswd -a -m vxp
6.
Add root as a domain admin purpose in /etc/samba/smbpasswd
7.
Add sohail as a client user in /etc/samba/smbpasswd
8.
9.
chkconfig smb on
6.
Add root as a domain admin purpose in /etc/samba/smbpasswd
smbpasswd -a root
7.
adduser sohail
Add sohail as a client user in /etc/samba/smbpasswd
smbpasswd -a sohail
8.
service smb restart
9.
chkconfig smb on
0 comments:
Post a Comment