Powered By Blogger

Wednesday, 20 April 2011

samba domain on centos

first install samba rpm package
go to vim /etc/samba/smb.conf

 define domain

workgroup = mydomain.com
Uncoment all the folowing
hostallow
localmaster=yes
os level = increase the number
domainmaster=yes
prefered master = yes
domain logon=yes
wins support =yes
and also uncoment the following portion
[netlogon]

:wq
save and exit

#service smb restart

now

#useradd -M -s /sbin/nologin winxp$

whrer winxp is the machine name of xp client
#smbpasswd -am winxp

now at client side

roght click the my computer icon
go to properties
go to computer name tab
clik change tabe
give the domain name given in /etc/samba/smb.conf
give user name and password
the user should have super user rihts
u can give user root and for passwd go to linux mache and set root passwd

#smbpasswd root

No comments:

Post a Comment