Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/myldap.h
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2010-12-26 18:09:47 +0100
committerArthur de Jong <arthur@arthurdejong.org>2010-12-26 18:09:47 +0100
commit8eb43e411882e26257c07c32949028bf76e187ec (patch)
treee1196633aa337527f4997af57287b773f3770524 /nslcd/myldap.h
parent1a379549c64ecbdb56c834e935223c991700da7d (diff)
try to update the shadowLastChange attribute of a user on password change (the update is only tried if the attribute is present to begin with)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1345 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/myldap.h')
-rw-r--r--nslcd/myldap.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/nslcd/myldap.h b/nslcd/myldap.h
index f7df4a3..e0fe688 100644
--- a/nslcd/myldap.h
+++ b/nslcd/myldap.h
@@ -139,9 +139,12 @@ MUST_USE int myldap_escape(const char *src,char *buffer,size_t buflen);
/* Set the debug level globally. Returns an LDAP status code. */
int myldap_set_debuglevel(int i);
-/* Perform an EXOP password modification call. */
+/* Perform an EXOP password modification call. Returns an LDAP status code. */
int myldap_passwd(
MYLDAP_SESSION *session,
const char *userdn,const char *oldpassword,const char *newpasswd);
+/* Perform an LDAP modification request. Returns an LDAP status code. */
+int myldap_modify(MYLDAP_SESSION *session,const char *dn,LDAPMod *mods[]);
+
#endif /* not NSLCD__MYLDAP_H */