diff options
author | Rich Megginson <rmeggins@redhat.com> | 2005-02-07 19:02:49 +0000 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2005-02-07 19:02:49 +0000 |
commit | 5335c65cbaf4a899dae6bc497ae7e85e0831f540 (patch) | |
tree | 769e16668d2abfead0be06eae78e2a8ebf93d09b /ldap/servers/slapd/pw.h | |
parent | 9eb2b56ec631aa3fffc9a80afcbe40f6cc645d8a (diff) | |
download | ds-5335c65cbaf4a899dae6bc497ae7e85e0831f540.tar.gz ds-5335c65cbaf4a899dae6bc497ae7e85e0831f540.tar.xz ds-5335c65cbaf4a899dae6bc497ae7e85e0831f540.zip |
PAM pass through auth plugin support
Diffstat (limited to 'ldap/servers/slapd/pw.h')
-rw-r--r-- | ldap/servers/slapd/pw.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ldap/servers/slapd/pw.h b/ldap/servers/slapd/pw.h index b74bbd66..d9202bef 100644 --- a/ldap/servers/slapd/pw.h +++ b/ldap/servers/slapd/pw.h @@ -11,17 +11,6 @@ #define PWD_HASH_PREFIX_START '{' #define PWD_HASH_PREFIX_END '}' -/* Password Policy Response Control stuff */ -#define LDAP_PWPOLICY_PWDEXPIRED 0 -#define LDAP_PWPOLICY_ACCTLOCKED 1 -#define LDAP_PWPOLICY_CHGAFTERRESET 2 -#define LDAP_PWPOLICY_PWDMODNOTALLOWED 3 -#define LDAP_PWPOLICY_MUSTSUPPLYOLDPWD 4 -#define LDAP_PWPOLICY_INVALIDPWDSYNTAX 5 -#define LDAP_PWPOLICY_PWDTOOSHORT 6 -#define LDAP_PWPOLICY_PWDTOOYOUNG 7 -#define LDAP_PWPOLICY_PWDINHISTORY 8 - /* * * structure for holding password scheme info. @@ -53,7 +42,6 @@ int pw_encodevals( Slapi_Value **vals ); int checkPrefix(char *cipher, char *schemaName, char **encrypt); struct passwordpolicyarray *new_passwdPolicy ( Slapi_PBlock *pb, char *dn ); void delete_passwdPolicy( struct passwordpolicyarray **pwpolicy); -int pwpolicy_make_response_control (Slapi_PBlock *pb, int seconds, int logins, int error); /* function for checking the values of fine grained password policy attributes */ int check_pw_minage_value( const char *attr_name, char *value, long minval, long maxval, char *errorbuf ); |