summaryrefslogtreecommitdiffstats
path: root/src/util/util.h
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-08-28 07:07:40 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-09-01 12:50:49 +0200
commiteaccdcf75b651a0cc4fc02526180f5991a16c553 (patch)
treec0ba268be471258c944509bd8ff72cc766a5164f /src/util/util.h
parentc8fcc0597ad6399fe42111512d5dc2ff1362f3c8 (diff)
downloadsssd-eaccdcf75b651a0cc4fc02526180f5991a16c553.tar.gz
sssd-eaccdcf75b651a0cc4fc02526180f5991a16c553.tar.xz
sssd-eaccdcf75b651a0cc4fc02526180f5991a16c553.zip
NSS: Don't ignore backslash in usernames with ldap providerrhel-7.2
The regression was caused by changing default domain regex for ldap provider in ticket #2717 Resolves: https://fedorahosted.org/sssd/ticket/2772 Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/util/util.h')
-rw-r--r--src/util/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h
index a20d1d82e..c998e91f9 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -298,6 +298,9 @@ int sss_names_init(TALLOC_CTX *mem_ctx,
const char *domain,
struct sss_names_ctx **out);
+int sss_ad_default_names_ctx(TALLOC_CTX *mem_ctx,
+ struct sss_names_ctx **_out);
+
int sss_parse_name(TALLOC_CTX *memctx,
struct sss_names_ctx *snctx,
const char *orig, char **_domain, char **_name);