diff options
author | Gerald Carter <jerry@samba.org> | 2007-05-29 13:18:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:22:53 -0500 |
commit | fc1f6c7668037b09b9209bebc6f018bf4d3ff4f4 (patch) | |
tree | ac10515d6486427904814f4c4f4ef84033ce8846 /source3 | |
parent | 9c6f9fa28a849035ee40bb65e8a79c5f555242d6 (diff) | |
download | samba-fc1f6c7668037b09b9209bebc6f018bf4d3ff4f4.tar.gz samba-fc1f6c7668037b09b9209bebc6f018bf4d3ff4f4.tar.bz2 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')
-rw-r--r-- | source3/passdb/passdb.c | 18 |
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 */ |