summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap.h
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-09-13 16:06:03 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-22 11:30:56 +0200
commit9b4fccf333b29ac61b1e8c6ae993d5cbe31e77c2 (patch)
tree1667fdbecbdf322ab87d620ff27f5c7e427e359c /src/providers/ldap/sdap.h
parente5f1c41e31cf36afffd5d0b1e16f220a96c8aa2e (diff)
downloadsssd-9b4fccf333b29ac61b1e8c6ae993d5cbe31e77c2.tar.gz
sssd-9b4fccf333b29ac61b1e8c6ae993d5cbe31e77c2.tar.xz
sssd-9b4fccf333b29ac61b1e8c6ae993d5cbe31e77c2.zip
LDAP: Use primary cn to search netgroup
Resolves: https://fedorahosted.org/sssd/ticket/2075
Diffstat (limited to 'src/providers/ldap/sdap.h')
-rw-r--r--src/providers/ldap/sdap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h
index 441ac904b..0e886e980 100644
--- a/src/providers/ldap/sdap.h
+++ b/src/providers/ldap/sdap.h
@@ -511,6 +511,12 @@ errno_t sdap_get_user_primary_name(TALLOC_CTX *memctx,
struct sss_domain_info *dom,
const char **_user_name);
+errno_t sdap_get_netgroup_primary_name(TALLOC_CTX *memctx,
+ struct sdap_options *opts,
+ struct sysdb_attrs *attrs,
+ struct sss_domain_info *dom,
+ const char **_netgroup_name);
+
errno_t sdap_set_config_options_with_rootdse(struct sysdb_attrs *rootdse,
struct sdap_options *opts,
struct sdap_domain *sdom);