Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-07-2008, 11:41 AM   #1
LQ Newbie
Registered: Apr 2006
Location: Saint-Jean-de-Luz. South West, Atlantic coast (France)
Distribution: SUSE 13.3 (Commercial)
Posts: 14

Rep: Reputation: 0
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

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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP-Samba problem avatardeviva Linux - Server 1 05-25-2007 05:15 PM
samba-ldap problem activeq Linux - Software 1 04-14-2007 11:02 PM
Samba, LDAP, LAM & SMBLDAP-TOOL Understanding metallica1973 Linux - Networking 0 12-15-2006 03:14 PM
Samba and LDAP problem MarioT Linux - Networking 3 01-31-2005 07:14 AM
Samba 3.0 with LDAP smbldap tools not working melk600 Linux - Networking 0 11-19-2003 01:34 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration