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

Re: password



"Kurt D. Zeilenga" wrote:

> At 10:57 AM 10/16/00 +0500, Dmitry Melekhov wrote:
> >> bash$ ./ldappasswd -D uid=dm,dpt=zachet,org=Aspec_4_floor,o=Aspec,c=RU
> >> -W -x
> >> Bind DN: uid=dm,dpt=zachet,org=Aspec_4_floor,o=Aspec,c=RU
> >> Enter bind password:
> >> ldap_bind: Invalid credentials
> >
> >LDIF with passwords is from working openldap 1.2 server.
> >
> >Any ideas?
>
> Invalid credentials generally implies:
>         the DN doesn't exist,
>         it has no userPassword attribute,
>         it supplied password doesn't match, or
>         or similar condition.
>
> The server logs, assuming you have enough detail enabled,
> should provide details as to the cause.

Hmm. I set loglevel 1 and look into log.
Don't understand :(

Oct 17 09:36:41 dm slapd[9903]: => ldbm_cache_open(
"/usr/local/var/openldap-ldbm/dn2id.dbb", 7, 600 )
Oct 17 09:36:41 dm slapd[9903]: <= ldbm_cache_open (cache 0)
Oct 17 09:36:41 dm slapd[9903]: <= dn2id NOID
Oct 17 09:36:41 dm slapd[9903]: dn2entry_r: dn:
"ORG=ASPEC_4_FLOOR,O=ASPEC,C=RU"
Oct 17 09:36:41 dm slapd[9903]: => dn2id( "ORG=ASPEC_4_FLOOR,O=ASPEC,C=RU" )

Oct 17 09:36:41 dm slapd[9903]: => ldbm_cache_open(
"/usr/local/var/openldap-ldbm/dn2id.dbb", 7, 600 )
Oct 17 09:36:41 dm slapd[9903]: <= ldbm_cache_open (cache 0)
Oct 17 09:36:41 dm slapd[9903]: <= dn2id NOID
Oct 17 09:36:41 dm slapd[9903]: dn2entry_r: dn: "O=ASPEC,C=RU"
Oct 17 09:36:41 dm slapd[9903]: => dn2id( "O=ASPEC,C=RU" )
Oct 17 09:36:41 dm slapd[9903]: => ldbm_cache_open(
"/usr/local/var/openldap-ldbm/dn2id.dbb", 7, 600 )
Oct 17 09:36:41 dm slapd[9903]: <= ldbm_cache_open (cache 0)
Oct 17 09:36:41 dm slapd[9903]: <= dn2id 1
Oct 17 09:36:41 dm slapd[9903]: => id2entry_r( 1 )
Oct 17 09:36:41 dm slapd[9903]: => ldbm_cache_open(
"/usr/local/var/openldap-ldbm/id2entry.dbb", 7, 600 )
Oct 17 09:36:41 dm slapd[9903]: <= ldbm_cache_open (opened 1)
Oct 17 09:36:41 dm slapd[9903]: => str2entry
Oct 17 09:36:41 dm slapd[9903]: <= str2entry(o=Aspec,c=RU) -> -1 (0x80e6200)

Oct 17 09:36:41 dm slapd[9903]: <= id2entry_r( 1 ) 0x80e6200 (disk)
Oct 17 09:36:41 dm slapd[9903]: ====> cache_return_entry_r( 1 ): created (0)

Oct 17 09:36:41 dm slapd[9903]: send_ldap_result: conn=0 op=0 p=3
Oct 17 09:36:41 dm slapd[9903]: send_ldap_response: msgid=1 tag=97 err=49
Oct 17 09:36:42 dm slapd[9901]: connection_get(14): got connid=0
Oct 17 09:36:42 dm slapd[9901]: connection_read(14): checking for input on
id=0
Oct 17 09:36:42 dm slapd[9901]: ber_get_next on fd 14 failed errno=0
(Success)
Oct 17 09:36:42 dm slapd[9901]: connection_read(14): input error=-2 id=0,
closing.
Oct 17 09:36:42 dm slapd[9901]: connection_closing: readying conn=0 sd=14
for close
Oct 17 09:36:42 dm slapd[9901]: connection_close: deferring conn=0 sd=14
Oct 17 09:36:42 dm slapd[9903]: connection_resched: attempting closing
conn=0 sd=14
Oct 17 09:36:42 dm slapd[9903]: connection_close: conn=0 sd=14

--
Dmitry Melekhov
http://www.aspec.ru/~dm
2:5050/11.23@fidonet