summaryrefslogtreecommitdiffstats
path: root/source3/passdb
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-05-29 13:18:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:53 -0500
commitfc1f6c7668037b09b9209bebc6f018bf4d3ff4f4 (patch)
treeac10515d6486427904814f4c4f4ef84033ce8846 /source3/passdb
parent9c6f9fa28a849035ee40bb65e8a79c5f555242d6 (diff)
downloadsamba-fc1f6c7668037b09b9209bebc6f018bf4d3ff4f4.tar.gz
samba-fc1f6c7668037b09b9209bebc6f018bf4d3ff4f4.tar.xz
samba-fc1f6c7668037b09b9209bebc6f018bf4d3ff4f4.zip
r23192: Remove fallback to looking up group mappings by the
Unix name after discussion with Simo. (This used to be commit 6af4c1a73cdb523e5a81c15128c706a16f76c84d)
Diffstat (limited to 'source3/passdb')
-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 aebcbaaacfc..ee84472d785 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 */