[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 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?


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 Tds servername=sundog1 TCP#1#sundog1 4100 fimuk sundog1
        objectclass: servername CONNECTION_FAILOVER=false REQUEST_HA_SESSION=true

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