summaryrefslogtreecommitdiffstats
path: root/src/util/sss_ldap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/sss_ldap.h')
-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 8a69b8329..46829259a 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