[Samba] XP join and logon
I Wayan Widi Pradnyana
zelephoeck at inf.its-sby.edu
Wed Dec 10 15:03:29 GMT 2003
After detail readings on Samba Doc, at XP's change domain dialog I should
fill the DOMAIN textfield. After filling and then asked for domain admin
username/pwd, but it results "The parameter is incorrect".
As add info, I used ldap+smb query was :
kunti:/home/widi# ldapsearch -x 'uid=root'
# extended LDIF
# base <> with scope sub
# filter: uid=root
# requesting: ALL
# root, Users, ta.its-sby.edu
sambaAcctFlags: [U ]
# search result
result: 0 Success
# numResponses: 2
# numEntries: 1
Are there something wrong?
I've read Samba-doc, to join domain should by user which uid is 0?
but why 'smbpasswd -a root' create entry with 'uid=root'?
> 1st of all i assume you are joining a domain? since my info below doesnt
> really apply to a workgroup. get to the bit where is allows to to change
> machinename/workgroup and instead of entering the server in workgroup,
> enter it in Domain.
> 2nd of all are you adding the machine into the /etc/passwd file? eg.
> m6-1$:x:60101:107:Domain account for M6-1:/dev/null:/bin/false
> before you are trying to add them?
> I had this problem. When it prompted me for the Username/Password
> i was putting in Administrator and its password. I was half right...
> create root a smb account, "smbpasswd -a root PASSWORD", where PASSWORD
> is your prefered password (note i made mine different to the unix root
> password, so if someone did get hold of the smbpasswd i wouldnt be up the
> creak without a paddle)
> then when it prompts you to put in username password, put in root /
> password. it should work fine after that. The only thing i will say is
> that it was weird and seemed to take a random time to join the domain.
> some took 5 seconds
> some took 20-40 seconds
> one even took 2 minutes. Not sure why (anyone shead any light on this?)
> Hope this helps.
More information about the samba