summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_proto.h
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@us.ibm.com>2013-02-21 12:31:19 -0700
committerAndrew Bartlett <abartlet@samba.org>2013-03-09 06:30:22 +0100
commitc07c167edb71568ab18f016346e60803d1195d42 (patch)
treed30ccbc0b317b83bf9eda322fc0ba3c182cdd0c5 /source3/winbindd/idmap_proto.h
parent86d09ce779fdc9d6ebbbe44b25656808ab37ee14 (diff)
downloadsamba-c07c167edb71568ab18f016346e60803d1195d42.tar.gz
samba-c07c167edb71568ab18f016346e60803d1195d42.tar.bz2
samba-c07c167edb71568ab18f016346e60803d1195d42.zip
s3-winbindd: Move idmap_fetch_secret to idmap_utils.c for reuse
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/winbindd/idmap_proto.h')
-rw-r--r--source3/winbindd/idmap_proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/idmap_proto.h b/source3/winbindd/idmap_proto.h
index a709807f68..f7af8ed639 100644
--- a/source3/winbindd/idmap_proto.h
+++ b/source3/winbindd/idmap_proto.h
@@ -57,6 +57,8 @@ bool idmap_unix_id_is_in_range(uint32_t id, struct idmap_domain *dom);
struct id_map *idmap_find_map_by_id(struct id_map **maps, enum id_type type,
uint32_t id);
struct id_map *idmap_find_map_by_sid(struct id_map **maps, struct dom_sid *sid);
+char *idmap_fetch_secret(const char *backend, const char *domain,
+ const char *identity);
/* max number of ids requested per LDAP batch query */
#define IDMAP_LDAP_MAX_IDS 30