Joining XP to a Samba PDC
Ok, so here is were i am now.
I have my Samba smb.conf Configured.
# Global parameters
[global]
workgroup = HART
server string = Samba PDC Server
password server = None
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*
username map = /etc/samba/smbusers
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
add user script = /usr/sbin/useradd .d /dev/null .g 100 .s /bin/false .M %u
add machine script = /usr/sbin/useradd -d /dev/null -g 102 -s /bin/false
domain logons = Yes
os level = 64
domain master = Yes
dns proxy = No
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
hosts allow = 10.78., 127.
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[netlogon]
comment = Network Logon Service
path = /opt/samba/netlogon
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
I have the following users set up in Linux.
Root (root User)
dsanchez (normal User)
Then i did:
smbpasswd -a root
smbpasswd -a dsanchez
Now I go to my XP Pro Box and try to add this system to the Samba Server Domain.
Username:hart\root
password: *************
And i get the following error:
Your computer could not be joined to the domain because the following error has occured.
The account used is a computer account. Useyour global user account or local user account to access this server.
However, i can still map tp this server and I even placed a file in my home dir.
I checked the logs and found a log with the name of the XP Pro box.
linux_test.log
This is what is inside that log:
[2005/08/01 13:37:37, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(195)
startsmbfilepwent_internal: file /etc/samba/smbpasswd did not exist. File successfully created.
[2005/08/02 11:56:09, 1] smbd/service.c:make_connection_snum(648)
linux_test (10.78.3.109) connect to service dsanchez initially as user dsanchez (uid=500, gid=500) (pid 10494)
[2005/08/02 11:56:17, 1] smbd/service.c:make_connection_snum(648)
linux_test (10.78.3.109) connect to service netlogon initially as user dsanchez (uid=500, gid=500) (pid 10494)
[2005/08/02 11:57:24, 1] smbd/service.c:close_cnum(836)
linux_test (10.78.3.109) closed connection to service netlogon
[2005/08/02 11:57:24, 1] smbd/service.c:close_cnum(836)
linux_test (10.78.3.109) closed connection to service dsanchez
I think the problem is a rights issue with adding the PC to the Domain.
I have tried using the username administrator, admin, adm in place of root and still no go.
|