[Samba] Can't add machine account with 3.0.0;ldapsam backend (RESENT)

Ronny Adsetts ronny.adsetts at amazinginternet.com
Tue Oct 14 10:58:31 GMT 2003

jean-marc pouchoulon said the following on 14/10/03 10:40:

>># pdbedit -v -a -m -u tardis
>>ldapsam_modify_entry: Failed to add user dn=
>> uid=tardis$,ou=Machines,dc=amazing-internet,dc=net with: Object class 
>>         object class 'sambaSamAccount' requires attribute 'sambaSID'
> Did you create the machine account in /etc/passwd or in ldap
> before using pdbedit ?

No. Using the ldapsam backend with the appropriate config does not 
require creation of local accounts first AFAIK - they sould be created 
on the fly as they were with 3.0.0beta1.

> Are you sure to have the right object class and  attribute ?

It's all done by Samba... samba LDAP schema is from 3.0.0; schemacheck 
is on (tested with schemacheck off too). LDAP version is 2.0.27.

Technical Director
Amazing Internet Ltd, London
t: +44 20 8607 9535
f: +44 20 8607 9536
w: www.amazinginternet.com

More information about the samba mailing list