LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 06-07-2008, 11:41 AM   #1
jcdole
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.


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
 
  


Reply


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


All times are GMT -5. The time now is 09:27 PM.

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