Hello again, And sorry for the noise. I'm not on best terms with this mail agent today... Does anybody know how to implement a rebind procedure for the LDAP v3? The function prototype is defined in ldap.h as returning int having four arguments: LDAP* ld, char *url, int request, ber_int_t message_id However, there is no documentation on how to use it. Cheers. Dejan