From 29418db014ba58093fe4b538ac569c35e5302af3 Mon Sep 17 00:00:00 2001 From: Joshua Roys Date: Mon, 14 May 2012 10:23:34 -0400 Subject: Simple implementation of Netscape password warning expiration control --- src/util/sss_ldap.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/util') 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 -- cgit