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

Invalid credentials help



Hi Guys,

Thanks for all the help getting the build working on Solaris, now the 
configuration problems :-)

I'm running @(#) $OpenLDAP: slapd 2.0.7-Release (Fri Nov 17 10:45:56 GMT 2000)
on Solaris with DBD 2.7.7 and the build ran fine. My ldap.conf is:

# $OpenLDAP: pkg/ldap/libraries/libldap/ldap.conf,v 1.4.8.6 2000/09/05 17:54:38 kurt Exp $
#
# LDAP Defaults
#

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

#BASE   dc=example, dc=com
#URI    ldap://ldap.example.com ldap://ldap-master.example.com:666

#SIZELIMIT      12
#TIMELIMIT      15
#DEREF          never

database ldbm
suffix "dc=example,dc=com"
directory /usr/local/var/openldap-ldbm
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
index default
andrewa@ukpse1 100 > 

slapd comes up OK but when I run:
ldapadd -f test.ldif -x -D "cn=Manager,dc=example,dc=com" -w secret

I get the error:

ldap_bind: Invalid credentials

I have been through the faqs and archives and everything says either a password
or config problem but I can't spot it. Can anybody help?

Cheers,
Andy

Oops, almost forgot test.ldif:

andrewa@ukpse1 79 > cat test.ldif
        dn: o=sybase.com
        dc: Sybase HA
        description: Annuaire cfpu01
        objectclass: dcObject
        objectclass: organization
        o: sybase.com

        dn: servername=sundog1, o=sybase.com
        1.3.6.1.4.1.897.4.2.9: Tds
        1.3.6.1.4.1.897.4.2.15: servername=sundog1
        1.3.6.1.4.1.897.4.2.5: TCP#1#sundog1 4100
        1.3.6.1.4.1.897.4.2.11: fimuk
        1.3.6.1.4.1.897.4.2.2: sundog1
        objectclass: servername
        1.3.6.1.4.1.897.4.2.10: CONNECTION_FAILOVER=false
        1.3.6.1.4.1.897.4.2.10: REQUEST_HA_SESSION=true

        dn: servername=sundog2, o=sybase.com
        1.3.6.1.4.1.897.4.2.9: Tds
        1.3.6.1.4.1.897.4.2.15: servername=sundog2
        1.3.6.1.4.1.897.4.2.5: TCP#1#sundog2 4100
        1.3.6.1.4.1.897.4.2.11: fimuk
        1.3.6.1.4.1.897.4.2.2: sundog2
        objectclass: servername
        1.3.6.1.4.1.897.4.2.10: CONNECTION_FAILOVER=false
        1.3.6.1.4.1.897.4.2.10: REQUEST_HA_SESSION=true
andrewa@ukpse1 80 >