diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2010-12-26 18:09:47 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2010-12-26 18:09:47 +0100 |
commit | 8eb43e411882e26257c07c32949028bf76e187ec (patch) | |
tree | e1196633aa337527f4997af57287b773f3770524 /nslcd/myldap.h | |
parent | 1a379549c64ecbdb56c834e935223c991700da7d (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.h | 5 |
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 */ |