summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_hash
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-03-02 23:00:58 +0100
committerMichael Adam <obnox@samba.org>2011-03-22 22:49:56 +0100
commit82853a613ba854661aa3d36ae5f0f0f11c13ce26 (patch)
tree8eefe4979743a15081d63836f30bf3a5c8a27aad /source3/winbindd/idmap_hash
parent98854207feb4af953226db6bbf8169e2d44cfa5b (diff)
downloadsamba-82853a613ba854661aa3d36ae5f0f0f11c13ce26.tar.gz
samba-82853a613ba854661aa3d36ae5f0f0f11c13ce26.tar.bz2
samba-82853a613ba854661aa3d36ae5f0f0f11c13ce26.zip
s3:idmap: remove the params argument from the init function
Diffstat (limited to 'source3/winbindd/idmap_hash')
-rw-r--r--source3/winbindd/idmap_hash/idmap_hash.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/winbindd/idmap_hash/idmap_hash.c b/source3/winbindd/idmap_hash/idmap_hash.c
index 61ae13ac3c..474387918e 100644
--- a/source3/winbindd/idmap_hash/idmap_hash.c
+++ b/source3/winbindd/idmap_hash/idmap_hash.c
@@ -104,8 +104,7 @@ static void separate_hashes(uint32_t id,
/*********************************************************************
********************************************************************/
-static NTSTATUS be_init(struct idmap_domain *dom,
- const char *params)
+static NTSTATUS be_init(struct idmap_domain *dom)
{
struct sid_hash_table *hashed_domains;
NTSTATUS nt_status = NT_STATUS_UNSUCCESSFUL;
@@ -172,7 +171,7 @@ static NTSTATUS unixids_to_sids(struct idmap_domain *dom,
ids[i]->status = ID_UNKNOWN;
}
- nt_status = be_init(dom, NULL);
+ nt_status = be_init(dom);
BAIL_ON_NTSTATUS_ERROR(nt_status);
if (!ids) {
@@ -222,7 +221,7 @@ static NTSTATUS sids_to_unixids(struct idmap_domain *dom,
ids[i]->status = ID_UNKNOWN;
}
- nt_status = be_init(dom, NULL);
+ nt_status = be_init(dom);
BAIL_ON_NTSTATUS_ERROR(nt_status);
if (!ids) {
@@ -260,7 +259,7 @@ done:
static NTSTATUS nss_hash_init(struct nss_domain_entry *e )
{
- return be_init(NULL, NULL);
+ return be_init(NULL);
}
/**********************************************************************