54
54
#endif /* not HAVE_BER_MEMFREE */
56
57
/* we define this ourselves here because some LDAP header versions don't
59
60
struct berval *reqdata,LDAPControl **serverctrls,LDAPControl **clientctrls,
60
61
char **retoidp,struct berval **retdatap);
62
64
/* Replacement for password modification. user is the DN of the entry to
63
65
change, oldpw is the old password (may not always be needed?), newpw is
64
66
the new password to set and newpasswd is sometimes returned (though not
65
67
by us). See RFC 3062 for details.*/
66
68
int ldap_passwd_s(LDAP *ld,struct berval *user,struct berval *oldpw,
68
70
LDAPControl **sctrls,LDAPControl **cctrls)
70
72
#ifndef HAVE_LDAP_EXTENDED_OPERATION_S