[Samba] XP join and logon

Ross McInnes (Systems) sysrm at stvincent.ac.uk
Wed Dec 10 15:48:57 GMT 2003


Thats right, change the domain field to be the name of your domain/server.

the problem then is to add your machine to the samba server it needs to 
use a smb account with the correct permissions to do so.

I dont know if an account can be modified to work but root is an account 
that will work. The problem is root is not part or smbpasswd or rather it 
doesnt have an account with samba.

to add it to samba smbpasswd -a root will do so. then change the 
smbpassword for root to whatever password you want.

once you have this done you will then have an account with the correct 
permissions to add your computer to the domain.

Ross

On Wed, 10 Dec 2003, I Wayan Widi Pradnyana wrote:

>  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
> #
> # LDAPv3
> # base <> with scope sub
> # filter: uid=root
> # requesting: ALL
> #
> 
> # root, Users, ta.its-sby.edu
> dn: uid=root,cn=Users,dc=ta,dc=its-sby,dc=edu
> sambaSID: S-0-0-1000
> sambaPrimaryGroupSID: S-0-0-1001
> displayName: root
> sambaPwdCanChange: 1071067311
> sambaPwdMustChange: 2147483647
> sambaLMPassword: B705F7DC7EBE22D9093867073ED9B083
> sambaNTPassword: AE89347BB397A8D0B1E27E6EF8582B8F
> sambaPwdLastSet: 1071067311
> sambaAcctFlags: [U          ]
> objectClass: sambaSamAccount
> objectClass: account
> uid: root
> cn: root
> 
> # search result
> search: 2
> 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'?
> 
> Thanks
> 



More information about the samba mailing list