summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorJoshua Roys <roysjosh@gmail.com>2012-05-14 10:23:34 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-05-22 09:11:13 -0400
commit29418db014ba58093fe4b538ac569c35e5302af3 (patch)
tree4693de3023798177192644671b4818f84db6cb62 /src/util
parent95cc95749a5e783f2b5d2124d783f85820baf937 (diff)
downloadsssd_unused-29418db014ba58093fe4b538ac569c35e5302af3.tar.gz
sssd_unused-29418db014ba58093fe4b538ac569c35e5302af3.tar.xz
sssd_unused-29418db014ba58093fe4b538ac569c35e5302af3.zip
Simple implementation of Netscape password warning expiration control
Diffstat (limited to 'src/util')
-rw-r--r--src/util/sss_ldap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/sss_ldap.h b/src/util/sss_ldap.h
index 8a69b832..46829259 100644
--- a/src/util/sss_ldap.h
+++ b/src/util/sss_ldap.h
@@ -29,6 +29,14 @@
#define LDAP_X_SSSD_PASSWORD_EXPIRED 0x555D
+#ifndef LDAP_CONTROL_PWEXPIRED
+#define LDAP_CONTROL_PWEXPIRED "2.16.840.1.113730.3.4.4"
+#endif
+
+#ifndef LDAP_CONTROL_PWEXPIRING
+#define LDAP_CONTROL_PWEXPIRING "2.16.840.1.113730.3.4.5"
+#endif
+
#ifdef LDAP_OPT_DIAGNOSTIC_MESSAGE
#define SDAP_DIAGNOSTIC_MESSAGE LDAP_OPT_DIAGNOSTIC_MESSAGE
#else