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

Re: successor of ldap_perror()?



> ldap_perror() is marked deprecated in ldap.h (v. 2.2.24), which function
> should be used in the future? I like it better than ldap_err2string() as
> it gives more information, notably the "additional information: ..." part.

ldap_parse_result(3)

if you provide a non-null pointer for errcodep and errmsgp you get the
values you're looking for; you can get more by providing all pointers.

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497