View Single Post
Old 27th June 2008, 01:45
sangamc sangamc is offline
Junior Member
Join Date: Jun 2008
Posts: 11
Thanks: 0
Thanked 2 Times in 2 Posts

Originally Posted by jcdole View Post

I am trying to modify smbldap-populate for filling people user in the people ou field, and computers in the computer ou field.

I want this organization :

people user in : "ou=people,ou=user,dc=ldap_srv,dc=net"
computer user in : "ou=computers,ou=user,dc=ldap_srv,dc=net"
i dont think you can put a single object into multiple ou, if it is possible you should leave it alone until you get more comfortable with ldap. try instead

computers in: "ou=computers,dc=ldap-srv,dc=net"
users in: "ou=People,dc=ldap-srv,dc=net"

Which relationships (IF ANY IS MANDATORY) is there between LDAP definitions in smb.conf

ldap suffix = dc=ldap_srv,dc=net
ldap machine suffix = ou=??????????????????????
ldap user suffix = ou=???????????????????????
ldap group suffix = ou=Groups
ldap domain suffix = ou=Domains
they are all required for your setup to work, use
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers

and LDAP definitions in smbldap.conf
# LDAP Suffix


Thank you for any help.
they are all required for the setup to work. if your smb.conf is setup correctly (execute # testparm to find out) you can use /usr/share/doc/smbldap-tools-0.9.4/ to configure you smbldap_bind and smbldap.conf for you automatically. just enter the password for you ldap server when the script asks you