[Samba] SambaSID problem in Samba 3.0 beta 3

Georges Goebel georges.goebel at pch.etat.lu
Mon Aug 4 07:24:54 GMT 2003


Hi,

I have the following problem :

I have +- 400 Users in LDAP. They are all Samba users and all have the objectclasses :
account
posixAccount
top
shadowAccount
sambaSamAccount

When I try to add a machine account, I first make a 
useradd -g -d /dev/null -c machine$ -s /bin/false 100 machine$ 

after that I make 
smbpasswd -a -m machine

But the I receive the error when executin "smbpasswd -a -m machine" :
"SID 'S-1-5-...-31008' already in base, with samba attributes"

When I browse the LDAP tree I find a user with this sambaSID.

How is it possible to change the procedure in order to directly add a user or machineaccount 
without using "useradd" and that the sambaSID is a unique string ??

Thanks

Georges Goebel


More information about the samba mailing list