summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-06-19 19:06:14 +0300
committerJakub Hrozek <jhrozek@redhat.com>2013-06-28 22:22:20 +0200
commit7ed4988618decf0a8efa0dedd722a84d748bf868 (patch)
treedc9b7cf122917f9683d54d4cf51ae60f3463685a /src/providers/ldap/sdap.h
parent0249e8d37920f59fd70bdafa4f6706a05ae523c1 (diff)
downloadsssd-7ed4988618decf0a8efa0dedd722a84d748bf868.tar.gz
sssd-7ed4988618decf0a8efa0dedd722a84d748bf868.tar.bz2
sssd-7ed4988618decf0a8efa0dedd722a84d748bf868.zip
LDAP: Add utility function sdap_copy_map
The AD subdomains will only use default options values. This patch introduces a new utility function sdap_copy_map() that copies the default options map. Subtask of: https://fedorahosted.org/sssd/ticket/1962
Diffstat (limited to 'src/providers/ldap/sdap.h')
-rw-r--r--src/providers/ldap/sdap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h
index 9fbe04b6..24d208a2 100644
--- a/src/providers/ldap/sdap.h
+++ b/src/providers/ldap/sdap.h
@@ -438,6 +438,11 @@ struct sdap_deref_attrs {
struct sysdb_attrs *attrs;
};
+int sdap_copy_map(TALLOC_CTX *memctx,
+ struct sdap_attr_map *src_map,
+ int num_entries,
+ struct sdap_attr_map **_map);
+
int sdap_get_map(TALLOC_CTX *memctx,
struct confdb_ctx *cdb,
const char *conf_path,