diff options
author | Michael Adam <obnox@samba.org> | 2012-11-27 01:11:16 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-12-03 08:48:24 +0100 |
commit | 4210e08109d9bc24168740f5a8a52953c532df4a (patch) | |
tree | 6ba7672f55d3d2b461b79e346ed34623be5e9262 | |
parent | 27f88ba2deeec8b5b0a72ef97ae84c1016532a3c (diff) | |
download | samba-4210e08109d9bc24168740f5a8a52953c532df4a.tar.gz samba-4210e08109d9bc24168740f5a8a52953c532df4a.tar.bz2 samba-4210e08109d9bc24168740f5a8a52953c532df4a.zip |
s3:winbindd: make idmap_find_domain() static.
idmap_find_domain_with_sid() should be used instead
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | source3/winbindd/idmap.c | 2 | ||||
-rw-r--r-- | source3/winbindd/winbindd_proto.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c index 065b7e67db..5a690f1527 100644 --- a/source3/winbindd/idmap.c +++ b/source3/winbindd/idmap.c @@ -367,7 +367,7 @@ static struct idmap_domain *idmap_passdb_domain(TALLOC_CTX *mem_ctx) * add_trusted_domain. */ -struct idmap_domain *idmap_find_domain(const char *domname) +static struct idmap_domain *idmap_find_domain(const char *domname) { struct idmap_domain *result; int i; diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index 5952bf96bc..7fe0fed5b6 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -316,7 +316,6 @@ NTSTATUS winbindd_print_groupmembers(struct talloc_dict *members, void init_idmap_child(void); struct winbindd_child *idmap_child(void); -struct idmap_domain *idmap_find_domain(const char *domname); struct idmap_domain *idmap_find_domain_with_sid(const char *domname, const struct dom_sid *sid); |