RossR |
08-21-2009 02:56 PM |
SAMBA PDC > "Username could not be found" when attempting to add WinXP client to dom
Hi there.
Am running a DHCP Server and DNS on the gateway. The DHCP is set to supply all clients with a WINS server IP.
I also disabled these services and tried to get SAMBA again, but the problem remained.
I Have the following smb.conf:
Code:
[global]
interfaces = eth2,lo
bind interfaces only = yes
netbios name = SOL
#same as the domain name according to the DHCP/DNS
workgroup = MY.DOM
domain master = yes
local master = yes
preferred master = yes
os level = 65
security = user
domain logons = yes
time server = yes
unix password sync = Yes
passwd program = /usr/bin/passwd %u
wins support = Yes
add user script = /usr/sbin/useradd −m ’%u ’
delete user scrip t = /usr/sbin/userdel −r ’%u’
add group script = /usr/sbin/groupadd ’%g ’
delete group script = /usr/sbin/groupdel ’%g ’
add user to group script = /usr/sbin/usermod −G ’%g’ ’%u’
add machine script = /usr/sbin/useradd −s /bin/false −d /tmp ’%u’
[netlogon]
path = /var/lib/samba/netlogon
writable = no
browsable = no
[profiles]
path = /var/lib/samba/netlogon/profiles
browsable = no
writable = yes
create mask = 0600
directory mask = 0700
Have also added a root account to the smbpasswd backend (this is actually the account I am trying to sign into when adding the XP client to the domain).
Was actually able to join a windows workgroup using an XP client and login to a share hosted on samba, just can't join a domain :(.
Code:
# cat smbpasswd
root:0:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:A980EA8682228B2EDF003CECC4ACA8AA:[U ]:LCT-4A8EBF5B:
Thanks for time.
|