summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/passdb.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index aebcbaaacf..ee84472d78 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -612,23 +612,7 @@ BOOL lookup_global_sam_name(const char *name, int flags, uint32_t *rid,
unbecome_root();
if (!ret) {
- /* try to see if we can lookup a mapped
- * group with the unix group name */
-
- struct group *grp;
-
- grp = getgrnam(name);
- if (!grp) {
- return False;
- }
-
- become_root();
- ret = pdb_getgrgid(&map, grp->gr_gid);
- unbecome_root();
-
- if (!ret) {
- return False;
- }
+ return False;
}
/* BUILTIN groups are looked up elsewhere */