summaryrefslogtreecommitdiff
path: root/source4/dsdb/common/sidmap.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-06-12 15:20:48 +0200
committerGünther Deschner <gd@samba.org>2009-07-13 15:36:07 +0200
commit05fbe0c7f763fbe8c1c48eb82ebdfe04bfa034ea (patch)
tree78154513ca730597fd302220e49a4b79c5606274 /source4/dsdb/common/sidmap.c
parent8db45607f8d19781d33ebff0d0b13c473f34009b (diff)
downloadsamba-05fbe0c7f763fbe8c1c48eb82ebdfe04bfa034ea.tar.gz
samba-05fbe0c7f763fbe8c1c48eb82ebdfe04bfa034ea.tar.bz2
samba-05fbe0c7f763fbe8c1c48eb82ebdfe04bfa034ea.zip
libds: merge the UF<->ACB flag mapping functions.
Guenther
Diffstat (limited to 'source4/dsdb/common/sidmap.c')
-rw-r--r--source4/dsdb/common/sidmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/common/sidmap.c b/source4/dsdb/common/sidmap.c
index a2aa717ace..3111a78e51 100644
--- a/source4/dsdb/common/sidmap.c
+++ b/source4/dsdb/common/sidmap.c
@@ -583,7 +583,7 @@ NTSTATUS sidmap_allocated_sid_lookup(struct sidmap_context *sidmap,
struct passwd *pwd;
uid_t uid = rid - SIDMAP_LOCAL_USER_BASE;
atype = ATYPE_NORMAL_ACCOUNT;
- *rtype = samdb_atype_map(atype);
+ *rtype = ds_atype_map(atype);
pwd = getpwuid(uid);
if (pwd == NULL) {
@@ -595,7 +595,7 @@ NTSTATUS sidmap_allocated_sid_lookup(struct sidmap_context *sidmap,
struct group *grp;
gid_t gid = rid - SIDMAP_LOCAL_GROUP_BASE;
atype = ATYPE_LOCAL_GROUP;
- *rtype = samdb_atype_map(atype);
+ *rtype = ds_atype_map(atype);
grp = getgrgid(gid);
if (grp == NULL) {
*name = talloc_asprintf(mem_ctx, "gid%u", gid);