[Pkg-openldap-devel] Bug#465024: /usr/share/man/man3/ldap_str2dn.3.gz: definition of ldap_str2dn() is wrong in manual

Arthur de Jong adejong at debian.org
Sun Feb 10 11:49:03 UTC 2008


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 - adejong at debian.org - http://people.debian.org/~adejong --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20080210/2750b7d3/attachment-0001.pgp 


More information about the Pkg-openldap-devel mailing list