summaryrefslogtreecommitdiff
path: root/server/providers/ldap/sdap.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-10-07 18:15:27 +0200
committerSimo Sorce <ssorce@redhat.com>2009-10-08 16:09:45 -0400
commit690a6ee2353e5922b3fda164259f09d161c39a2c (patch)
treeac027782fdcc6c06ad5b85fe0b6642cd9d469f21 /server/providers/ldap/sdap.h
parent88a8005a1f074cf78cf6becef90aa733c0e2b7aa (diff)
downloadsssd-690a6ee2353e5922b3fda164259f09d161c39a2c.tar.gz
sssd-690a6ee2353e5922b3fda164259f09d161c39a2c.tar.bz2
sssd-690a6ee2353e5922b3fda164259f09d161c39a2c.zip
add support for server side LDAP password policies
- password policy request controls are send during bind and change password extended operation - the response control is evaluated to see if the password is expired or will expire, soon
Diffstat (limited to 'server/providers/ldap/sdap.h')
-rw-r--r--server/providers/ldap/sdap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/providers/ldap/sdap.h b/server/providers/ldap/sdap.h
index cb98668c..92771dea 100644
--- a/server/providers/ldap/sdap.h
+++ b/server/providers/ldap/sdap.h
@@ -66,7 +66,8 @@ enum sdap_result {
SDAP_RETRY,
SDAP_ERROR,
SDAP_AUTH_SUCCESS,
- SDAP_AUTH_FAILED
+ SDAP_AUTH_FAILED,
+ SDAP_AUTH_PW_EXPIRED
};
enum sdap_basic_opt {