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

LDAP_ADD(3) mixes LDAPMOD and LDAPMod (ITS#2822)



Full_Name: Jean-Frederic Clere
Version: any
OS: any
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (217.115.66.151)


See for example http://www.openldap.org/software/man.cgi?query=ldap_add&sektion=3&apropos=0&manpath=OpenLDAP+2.1-Release

The corrections are the following.

-       int ldap_add(LDAP *ld, const char *dn, LDAPMOD *attrs[]);
+       int ldap_add(LDAP *ld, const char *dn, LDAPMod *attrs[]);
 
        int ldap_add_s(LDAP *ld, const char *dn, LDAPMod *attrs[]);
 
-       int ldap_add_ext(LDAP *ld, const char *dn, LDAPMOD *attrs[],
+       int ldap_add_ext(LDAP *ld, const char *dn, LDAPMod *attrs[],
              LDAPControl *sctrls[], LDAPControl *cctrls[], int *msgidp);
 
-       int ldap_add_ext_s(LDAP *ld, const char *dn, LDAPMOD *attrs[],
+       int ldap_add_ext_s(LDAP *ld, const char *dn, LDAPMod *attrs[],
              LDAPControl *sctrls[], LDAPControl *cctrls[]);