Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 7th June 2008, 19:51
jcdole jcdole is offline
Junior Member
Join Date: Aug 2007
Location: Pyrennee Atlantique (64) FRANCE
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default SMBLDAP-TOOLS SAMBA LDAP . Problem when filling ldap.


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

# Domain name the Samba server is in charged.

# Where are stored peoples and computers

# Where are stored groups

# Where are stored domains

# 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.

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
Use of uninitialized value in concatenation (.) or string at

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 parent for sambaUnixIdPooldn.

The ldif file is generated, but there is some blank field about ou computer field and ou people field.

Thank you for any help.
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Ldap Problem ZenMatrix Server Operation 1 10th August 2008 08:02
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 09:04
OpenLDAP + Samba Domain Controller On Ubuntu 7.10 E1sbaer HOWTO-Related Questions 3 7th May 2008 19:41
LDAP Problem pinguingilo Installation/Configuration 4 22nd December 2007 22:32
Samba Ldap PDC in Suse 10.0 budianto Server Operation 2 21st June 2007 07:50

All times are GMT +2. The time now is 05:10.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.