[Samba] Samba/LDAP Question

Adam Tauno Williams adamtaunowilliams at gmail.com
Thu Feb 28 13:51:53 GMT 2008

> mmmm... I can see something in your Ldifs that I don't have: The
> "objectClass: sambaSamAccount"... I bet this is important in order to
> have Samba working!! Hehe... I'll keep working on this line... :)

The add user / account process should add the sambaSamAccount
objectclass and related attributes.  If Samba can't find the new new
object to modify then that is the problem.  We have a Samba LDAP PDC and
joining machines and adding users works fine.  I think you problem is -

    ldap machine suffix = ou=computers
    ldap user suffix = ou=People

Specifying these causes problems,  it is up to the add script where to
create the account object.  Just make use that creates the object where
you want it and Samba will modify the object in-place.  Remove these two

You said in your original message: ":samba is trying to find that entry
in ou=people instead of ou=computers.".  That is your problem.

Adam Tauno Williams, Network & Systems Administrator
Consultant - http://www.whitemiceconsulting.com
Developer - http://www.opengroupware.org

More information about the samba mailing list