[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
2.0TO2.2 Root error: [LDAP: error code 49 - Invalid Credential] LDAPBrowser
- To: OpenLDAP-software@OpenLDAP.org
- Subject: 2.0TO2.2 Root error: [LDAP: error code 49 - Invalid Credential] LDAPBrowser
- From: Gazali <gazali@gmail.com>
- Date: Mon, 23 May 2005 16:52:12 +0800
- Content-disposition: inline
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=D3mHfDY2uO67cfyiXLqoe5lNLImSTFr3GCxafPNvD2pgFJcXHzW2VzV6ci2yoJYfeK5hFgvxghjD4rZiksbukHWwbmWtxItvmYrCBbnMmuDKAjwoAUXCfQJfLaVhlA63mA1XlAxUNBe8zHKxDlS5sDN/hF/Tnzri3H2rOoIeQbo=
HI,all
when I used OpenLDAP2.0,I setted userpassword 123 at
rootdn"o=ggpki" as attributes,then I could connect to the server by
userdn"o=ggpki",password"123".
the ACL in slapd.conf is:
#####################################################################
access to dn="*"
by dn="o=ggpki" read
by anonymous auth
database ldbm
#####################################################################
when I used OpenLDAP2.2.20,I can't connect to the server by userdn
"o=ggpki",password"123".
ERROR:Root error: [LDAP: error code 49 - Invalid Credentials]
I just changed the slapd.conf "datebase ldbm" to "datebase bdb".
PS: I can use rootdn and rootpw to connect the server.
I'm running "sladp -d 5",then using LDAPBrowers to connect the
server,the error info:
connection_get(11)
connection_get(11): got connid=18
connection_read(11): checking for input on id=18
ber_get_next
ber_get_next: tag 0x30 len 32 contents:
ber_get_next
ber_get_next on fd 11 failed errno=11 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <o=ggpki>
=> ldap_bv2dn(o=ggpki,0)
ldap_err2string
<= ldap_bv2dn(o=ggpki)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(o=ggpki)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(o=ggpki)=0 Success
<<< dnPrettyNormal: <o=ggpki>, <o=ggpki>
do_bind: version=3 dn="o=ggpki" method=128
==> bdb_bind: dn: o=ggpki
bdb_dn2entry("o=ggpki")
send_ldap_result: conn=18 op=0 p=3
send_ldap_result: err=49 matched="" text=""
send_ldap_response: msgid=1 tag=97 err=49
ber_flush: 14 bytes to sd 11
connection_get(11)
connection_get(11): got connid=18
connection_read(11): checking for input on id=18
ber_get_next
ber_get_next on fd 11 failed errno=0 (Success)
connection_read(11): input error=-2 id=18, closing.
connection_closing: readying conn=18 sd=11 for close
connection_close: conn=18 sd=11
Something wrong?Please help me.