summaryrefslogtreecommitdiff
path: root/nslcd.h
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2010-01-24 14:33:21 +0000
committerArthur de Jong <arthur@arthurdejong.org>2010-01-24 14:33:21 +0000
commitaaf024194b29f48f2336116630be713da90a13bd (patch)
treeec47d761a5b8b72721c60594249bdcedce202b19 /nslcd.h
parente1f455657e07fb6c1cb906e030cb4dcb91b2eac9 (diff)
add admindn configuration file option that is used when modifying another user's password
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1059 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd.h')
-rw-r--r--nslcd.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/nslcd.h b/nslcd.h
index bb4bf8f..080b6d3 100644
--- a/nslcd.h
+++ b/nslcd.h
@@ -2,7 +2,7 @@
nslcd.h - file describing client/server protocol
Copyright (C) 2006 West Consulting
- Copyright (C) 2006, 2007, 2009 Arthur de Jong
+ Copyright (C) 2006, 2007, 2009, 2010 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -194,7 +194,10 @@
and the result value ends with:
INT32 authc NSLCD_PAM_* result code
INT32 authz NSLCD_PAM_* result code
- STRING authorisation error message */
+ STRING authorisation error message
+ If the username is empty in this request an attempt is made to
+ authenticate as the administrator (set using admindn). The returned DN
+ is that of the administrator. */
#define NSLCD_ACTION_PAM_AUTHC 20001
/* PAM authorisation check request. The extra request values are:
@@ -225,7 +228,10 @@
STRING new password
and returns there extra result values:
INT32 authz NSLCD_PAM_* result code
- STRING authorisation error message */
+ STRING authorisation error message
+ In this request the DN may be set to the administrator's DN. In this
+ case old password should be the administrator's password. This allows
+ the administrator to change any user's password. */
#define NSLCD_ACTION_PAM_PWMOD 20005
/* Request result codes. */