On Sun, 2008-02-10 at 09:46 +0100, Arthur de Jong wrote: > The manual page of ldap_str2dn() defines the function as: > > int ldap_str2dn( const char *str, LDAPDN **dn, unsigned flags ) > > while ldap.h and getdn.c contain: > > int ldap_str2dn( LDAP_CONST char *str, LDAPDN *dn, unsigned flags )
Also, a little further on in the same page the following is defined:
typedef struct ldap_ava {
char *la_attr;
struct berval *la_value;
unsigned la_flags;
} LDAPAVA;
typedef LDAPAVA** LDAPRDN;
typedef LDAPRDN** LDAPDN;
While ldap.h contains:
typedef struct ldap_ava {
struct berval la_attr;
struct berval la_value;
unsigned la_flags;
void *la_private;
} LDAPAVA;
typedef LDAPAVA** LDAPRDN;
typedef LDAPRDN* LDAPDN;
(both the la_attr attribute and the definition of LDAPDN are wrong)
--
-- arthur - [EMAIL PROTECTED] - http://people.debian.org/~adejong --
signature.asc
Description: This is a digitally signed message part

