From 3fff68f56b3c68897821c49ec7357a4f36bafa96 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Mon, 5 Sep 2011 09:54:46 +0200 Subject: sss_ldap_err2string() - function created https://fedorahosted.org/sssd/ticket/986 --- src/util/sss_ldap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/util/sss_ldap.h') diff --git a/src/util/sss_ldap.h b/src/util/sss_ldap.h index 4b4d9c1bd..38785b5a0 100644 --- a/src/util/sss_ldap.h +++ b/src/util/sss_ldap.h @@ -27,6 +27,8 @@ #include #include +#define LDAP_X_SSSD_PASSWORD_EXPIRED 0x555D + #ifdef LDAP_OPT_DIAGNOSTIC_MESSAGE #define SDAP_DIAGNOSTIC_MESSAGE LDAP_OPT_DIAGNOSTIC_MESSAGE #else @@ -37,6 +39,8 @@ #endif #endif +const char* sss_ldap_err2string(int err); + int sss_ldap_get_diagnostic_msg(TALLOC_CTX *mem_ctx, LDAP *ld, char **_errmsg); -- cgit