[imp] Re: [horde] modify entries in privat-ldap-addressbook

Tony Earnshaw tonni at billy.demon.nl
Thu Jan 16 18:51:18 PST 2003


tor, 2003-01-16 kl. 17:31 skrev alois blasbichler:

> i bind without an error
>  BIND dn="uid=ablasbichler,cn=users,dc=sb-brixen,dc=it" method=128
>  conn=246 op=0 RESULT tag=97 err=0 text=

Because you allow anonymous bind ;)
> 
> i get only the error when i want to modify :
> do_search: invalid dn (lois.blasbichler at sb-brixen.it,ou=ablasbichler,ou=

Because your dn actually begins with cn and you try to bind with uid.

Either change *all* your dns to uid instead of cn, or alter the code as
I advised.

I promise you it works with CVS Turba and Openldap 2.1.10. I *use* it
myself, even for user administration (changing addresses, email
addresses, user passwords etc).

Best,

Tony


-- 

Tony Earnshaw

When all's said and done ...
there's nothing left to say or do.

e-post:		tonni at billy.demon.nl
www:		http://www.billy.demon.nl





More information about the imp mailing list