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 08:41:51 +0200
commit90b8e2e47ecc0dd555cae401a0c9b082d12ab989 (patch)
treec8da1f91fb8046261eae9d27cba6de9b9419981e /src/util/util.h
parentf31a57321fc0a2390bb0d6030053c49787e5e587 (diff)
downloadsssd-90b8e2e47ecc0dd555cae401a0c9b082d12ab989.tar.gz
sssd-90b8e2e47ecc0dd555cae401a0c9b082d12ab989.tar.xz
sssd-90b8e2e47ecc0dd555cae401a0c9b082d12ab989.zip
NSS: Don't ignore backslash in usernames with ldap provider
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 e20501cbb..3e29e7487 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -299,6 +299,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);