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

Multiple error codes defined as (-1)



Hello all,

There are multiple error codes defined as (-1) in ldap.h.

When you call ldap_result() followed by a
ldap_get_option(ld, LDAP_OPT_RESULT_CODE, &err) how do you distinguish between
the meanings of -1? How does ldap_err2string() do that?

-- 
Jan Synacek
Software Engineer, BaseOS team Brno, Red Hat