But what about the fact that I can't login to openldap with anything other than anyonymous? :(
Thanks and Kind Regards,
Ian Moroney Field Engineer
T: 020 8891 3010 M: 07791 965924 F: 020 8288 2591 www.techdivision.co.uk
TechDivision - Making IT Work
-----Original Message----- From: Pierangelo Masarati [mailto:ando@sys-net.it] Sent: 11 January 2007 22:30 To: Ian Moroney Cc: openldap-software@openldap.org Subject: 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 ------------------------------------------
Ian Moroney wrote:
But what about the fact that I can't login to openldap with anything other than anyonymous? :(
From what you posted earlier, you can't login because you supply invalid credentials, in the form of a string that doesn't conform to DN syntax where a DN is expected.
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 ------------------------------------------
openldap-software@openldap.org