summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-11-22 16:21:53 +0100
committerStefan Metzmacher <metze@samba.org>2012-12-03 08:48:23 +0100
commit150cfb4b97e2ee67ec1fa8fc379ac03d42002da9 (patch)
treec14224aadd83befe61c993330aab6c6d8ed5bec0 /source3/winbindd/idmap.c
parentee17a516c82acbdf347c2a47e7003b6a7fb879de (diff)
downloadsamba-150cfb4b97e2ee67ec1fa8fc379ac03d42002da9.tar.gz
samba-150cfb4b97e2ee67ec1fa8fc379ac03d42002da9.tar.bz2
samba-150cfb4b97e2ee67ec1fa8fc379ac03d42002da9.zip
s3:winbindd: rename idmap_init_passdb_domain() -> idmap_passdb_domain()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/winbindd/idmap.c')
-rw-r--r--source3/winbindd/idmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index f6e48d3e04..07295e757a 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -325,7 +325,7 @@ static struct idmap_domain *idmap_init_default_domain(TALLOC_CTX *mem_ctx)
* No config, passdb has its own configuration.
*/
-static struct idmap_domain *idmap_init_passdb_domain(TALLOC_CTX *mem_ctx)
+static struct idmap_domain *idmap_passdb_domain(TALLOC_CTX *mem_ctx)
{
idmap_init();
@@ -483,7 +483,7 @@ NTSTATUS idmap_backends_unixid_to_sid(const char *domname, struct id_map *id)
* Always give passdb a chance first
*/
- dom = idmap_init_passdb_domain(NULL);
+ dom = idmap_passdb_domain(NULL);
if ((dom != NULL)
&& NT_STATUS_IS_OK(dom->methods->unixids_to_sids(dom, maps))
&& id->status == ID_MAPPED) {
@@ -516,7 +516,7 @@ NTSTATUS idmap_backends_sid_to_unixid(const char *domain, struct id_map *id)
DEBUG(10, ("asking passdb...\n"));
- dom = idmap_init_passdb_domain(NULL);
+ dom = idmap_passdb_domain(NULL);
if (dom == NULL) {
return NT_STATUS_NONE_MAPPED;
}