usercould not be found error in samba
I need to configure a samba server for roaming profile for windows clients.I configured a domain called NSS,but the problem is when i try to join this domain in windows i am getting an error,
"The following error occured attempting to join the domain"nss"
username could not be found"
my configuration is listed below,i am new to this concept please help me.I need the steps.
[global]
workgroup = NSS
netbios name = SAMBA
server string = Samba Server
security = user
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 50
printcap name = /etc/printcap
add machine script = /usr/sbin/useradd -d /home/nodody -g windowsmachines -s /bin/false %U
logon script = logon.cmd
logon path = \\%N\profiles\%u
domain logons = Yes
os level = 33
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[netlogon]
comment = Network Logon Service
path = /home/netlogon
write list = ntadmin
guest ok = Yes
share modes = No
[Profiles]
path = /home/profiles
guest ok = Yes
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[tmp]
comment = Temporary file space
path = /tmp
read only = No
guest ok = Yes
please help me.thanks.
|