LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-09-2005, 05:08 PM   #1
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Rep: Reputation: 33
Bad DN starting slapd


Hello

Fist time trying with openldap

Where is the deal I used an article from LJ to gude me to my first ldap server, but one of the restrictions is giving me problems at startup of the slapd deamon.
I google quite a bit and it does seem to be ok.

here it is the slapd.conf.

Code:
database        bdb
suffix          "dc=merce,dc=com"
rootdn          "cn=mago,dc=merce,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoided.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
# rootpw                secret
# rootpw                {crypt}ijFYNcSNctBYg
rootpw  {SSHA}JbhEXhI+tjTT3Wz958GezXi/ey0KRBHL
# The database directory MUST exist prior to running slapd AND 
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory       /var/lib/ldap

# Indices to maintain for this database
index objectClass                       eq,pres
index ou,cn,mail,surname,givenname      eq,pres,sub
index uidNumber,gidNumber,loginShell    eq,pres
index uid,memberUid                     eq,pres,sub
index nisMapName,nisMapEntry            eq,pres,sub
index sambaSID                          eq
index sambaPrimaryGroupSID              eq
index sambaDomainName                   eq

#Users restrictions
access to attrs=userPassword,sambaNTPassword,sambaLMPassword
        by dn="cn=mago,dn=merce,dn=com" write
        by self                         write
        by anonymous                    auth
        by *                            none

access to *
        by self                         write
        by dn="cn=mago,dn=merce,dn=com" write
        by *                            read
I omited the part that is not relevant, all the includes are there the core, nis, intorgperson, samba, etc....

Now when I startup the slapd deamon it gives me the following error:
Code:
/etc/openldap/slapd.conf: line 100: bad DN "cn=mago,dn=merce,dn=com" in by DN clause
Now the line 100 is the second one of the # Users restrictions

For what I read, it might be a problem with ACL but then again.... Where can I find some detaild info about them?


Thanks a bunch in advance.
 
Old 11-13-2005, 03:19 PM   #2
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Original Poster
Rep: Reputation: 33
Nevermind, is just that it seems that my eyes are only for decoration.....
 
  


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
mount: wrong fs type, bad option, bad superblock on /dev/hdc3 Lordandmaker Linux - Hardware 15 06-05-2011 09:55 AM
openldap replication master/slave slapd.conf paul_mat Linux - Networking 1 11-30-2005 02:54 PM
mount: wrong fs type, bad option, bad superblock on /dev/cdrom, Adil_uk Linux - Hardware 9 02-16-2005 06:50 PM
LDAP's slapd & slurpd does not work!!! lewkh Linux - Newbie 0 10-13-2004 11:56 PM
LDAP: slapd is not listening! jjge Linux - Software 6 01-10-2004 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration