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

Re: Invalid DN



Ian Moroney wrote:

0000: 60 14 02 01 03 04 07 4d 61 6e 61 67 65 72 80 06 `......Manager..
0010: 72 62 68 34 31 39 passwd
ber_scanf fmt (m}) ber:
ber_dump: buf=0x0825d1a8 ptr=0x0825d1b9 end=0x0825d1c1 len=8
0000: 00 06 72 62 68 34 31 39 ..passwd
>>> dnPrettyNormal: <Manager>
=> ldap_bv2dn(Manager,0)
ldap_err2string
<= ldap_bv2dn(Manager)=-4 Decoding error
bind: invalid dn (Manager)
send_ldap_result: conn=4 op=0 p=3
send_ldap_result: err=34 matched="" text="invalid DN"
send_ldap_response: msgid=1 tag=97 err=34
ber_flush: 24 bytes to sd 13
0000: 30 16 02 01 01 61 11 0a 01 22 04 00 04 0a 69 6e 0....a..."....in
0010: 76 61 6c 69 64 20 44 4e valid DN
ldap_write: want=24, written=24
0000: 30 16 02 01 01 61 11 0a 01 22 04 00 04 0a 69 6e 0....a..."....in
0010: 76 61 6c 69 64 20 44 4e valid DN
conn=4 op=0 RESULT tag=97 err=34 text=invalid DN
Can someone shed some light on this?
The string "Manager" does not comply with DN syntax. Slapd is working as expected. Your client is broken or misused.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------