[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: invalid dn - newbie here



well, perhaps I am making this too difficult off the bat.

When I try a query, I get invalid dn syntax as well.

First, does my slapd.conf file look correct ?


Thank you!


Don Buchholz wrote:
> 
> 1) try 'ldapadd'
> 
> 2) let's see a sample of the "stuff" you're piping into ldapmodify
> 
> - Don
> 
> Terry Davis wrote:
> >
> > Hello.
> > I followed the quick start guide.
> > Here is the error:
> > ldap_modify: Invalid DN syntax
> >         additional info: invalid DN
> >
> > Here is my slapd.conf:
> >
> > include         /usr/local/openldap/etc/openldap/schema/core.schema
> > pidfile         /usr/local/openldap/var/slapd.pid
> > argsfile        /usr/local/openldap/var/slapd.args
> > database        ldbm
> > suffix          "dc=birddog, dc=com"
> > rootdn          "cn=Manager, dc=birddog, dc=com"
> > rootpw          secret
> > directory       /usr/local/openldap/var/openldap-ldbm
> > index   objectClass     eq
> >
> > I use this to add entries:
> > /usr/local/openldap/bin/ldapmodify -c -r -h $LdapHost -D $slapd_rootdn
> > -w \"$slapd_rootpw\""
> > at that point I pipe in a bunch of stuff but I am thinking my config
> > file is wrong since it is giving me that dn error.
> >
> > any ideas?
> >
> > --
> > Terry Davis
> > Systems Administrator
> > BirdDog Solutions, Inc.
> > (402) 829-6059
> > www.birddog.com
> 
> --
> 
> - Don Buchholz                               <don@truedisk.com>
> - TrueDisk, 7431 NW Evergreen Pkwy - #110, Hillsboro, OR  97124
> - voice: 503/615-0888 x266                    FAX: 503/693-0873

-- 
Terry Davis
Systems Administrator
BirdDog Solutions, Inc.
(402) 829-6059
www.birddog.com