SMBLDAP-TOOLS SAMBA LDAP . Problem when filling ldap.
Hello,
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"
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
and LDAP definitions in smbldap.conf
# LDAP Suffix
suffix="dc=ldap_srv,dc=net"
# Domain name the Samba server is in charged.
sambaDomain="MON-DOMAINE.NWK"
# Where are stored peoples and computers
usersdn="ou=Users,${suffix}"
# Where are stored groups
groupsdn="ou=Groups,${suffix}"
# Where are stored domains
domainsdn="ou=Domains,${suffix}"
# Where are stored peoples
peoplesdn="ou=Peoples, ou=Users,${suffix}"
# Where are stored computers
computersdn="ou=Computers, ou=Users,${suffix}"
# Where to store next uidNumber and gidNumber available for new users and groups
# If not defined, entries are stored in sambaDomainName object.
sambaUnixIdPooldn="sambaDomainName=MON-DOMAINE.NET,ou=Domains,${suffix}"
When I start smbldap-populate, I get the following errors :
Use of uninitialized value in pattern match (m//) at /usr/local/sbin/smbldap-populate line 179.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate line 180.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate line 190
Lignes 179, 180 et 190, ..... which are relatives to ou=computers et à ou=peoples, ............
I have no errors about ou=users ( parent of computer and people ).
I have no errors about ou=Domains for sambaUnixIdPooldn.
Thank you for any help.
Merci
|