summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-06-01 00:25:23 +0200
committerKarolin Seeger <kseeger@samba.org>2011-06-07 20:04:39 +0200
commit92060c5b027d6a7ab66d2a41fec52cd060e8579e (patch)
tree3bbff40262801c23e3875dcb1a270ffc5c1a5574
parent748ed2f171f08433e2ce9c1d2a4bd779af4aa3d5 (diff)
downloadsamba-92060c5b027d6a7ab66d2a41fec52cd060e8579e.tar.gz
s3:idmap_ldap: rename idmap_ldap_allocate_id to idmap_ldap_allocate_id_internal
This is in preparation of allowing allocating ldap based domain-specific configs. (cherry picked from commit 2de65b97b98e2c8cc218b60da749ac17195d8413) (cherry picked from commit bf75cacae075a503c08d60f04e2a858271d8b923)
-rw-r--r--source3/winbindd/idmap_ldap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/winbindd/idmap_ldap.c b/source3/winbindd/idmap_ldap.c
index 7195912fc38..c04ae26c650 100644
--- a/source3/winbindd/idmap_ldap.c
+++ b/source3/winbindd/idmap_ldap.c
@@ -232,8 +232,8 @@ done:
Allocate a new uid or gid
********************************/
-static NTSTATUS idmap_ldap_allocate_id(struct idmap_domain *dom,
- struct unixid *xid)
+static NTSTATUS idmap_ldap_allocate_id_internal(struct idmap_domain *dom,
+ struct unixid *xid)
{
TALLOC_CTX *mem_ctx;
NTSTATUS ret = NT_STATUS_UNSUCCESSFUL;
@@ -405,7 +405,7 @@ static NTSTATUS idmap_ldap_get_new_id(struct idmap_domain *dom,
return NT_STATUS_NOT_IMPLEMENTED;
}
- ret = idmap_ldap_allocate_id(dom, id);
+ ret = idmap_ldap_allocate_id_internal(dom, id);
return ret;
}