[Samba] add machine account + ldap

Geraldo Coelho geraldo.coelho at grupora.com.br
Thu Jun 22 15:19:15 GMT 2006


Hi all,

I have problem when i need create account machine with samba
The smbldap-useradd create account, but unix account only
like that


dn: uid=notedell$,ou=computers,dc=grupora,dc=com,dc=br
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
cn: notedell$
sn: notedell$
uid: notedell$
uidNumber: 15025
gidNumber: 515
homeDirectory: /dev/null
loginShell: /bin/false
description: Computer
gecos: Computer



But, the samba doesn't create an valid account 
like that 


dn: uid=notedell$,ou=Computers,dc=grupora,dc=com,dc=br
uid: notedell$
sambaSID: S-1-5-21-243819190-2830005574-892836686-31036
sambaPrimaryGroupSID: S-1-5-21-243819190-2830005574-892836686-515
objectClass: sambaSamAccount
objectClass: account
displayName: NOTEDELL$
sambaPwdCanChange: 1150829558
sambaPwdMustChange: 2147483647
sambaNTPassword: D7CD95C07847C9DD38F14D8751D0B8F4
sambaPwdLastSet: 1150829558
sambaAcctFlags: [W          ]


so, windows rejects my login with a "bad password" error
and doesn't join domain

I'm using user id = 0 (root)


Thanks in advance
-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 21/6/2006



More information about the samba mailing list