[Samba] SambaSamAccount

Andrew Bartlett abartlet at samba.org
Wed Mar 22 20:45:55 GMT 2006

On Tue, 2006-03-21 at 18:50 -0500, lenny at edpausa.com wrote:
> I don't understand what's happening then.
> I copied and loaded the schema,
> added objectclass SambaSamAccount and sambaSID that
> matches uidNumber.
> when I do smbpasswd -a user, to populate ldap with windows passwords,
> I get complaints that userdn.... "has unknown object class "sambaAccount".

Perhaps you configured with the Samba 2.2 backwards compatability option
--with-ldapsam (which perhaps should go by now)?

If you either compile with the default options, or set 'passdb backend =
ldapsam:ldap://my.ldap.server' as documented, then this will use the
Samba 3.0 schema.

Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20060323/03885dc8/attachment.bin

More information about the samba mailing list