git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c6f9fa
)
r23192: Remove fallback to looking up group mappings by the
author
Gerald Carter
<jerry@samba.org>
Tue, 29 May 2007 13:18:57 +0000
(13:18 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:22:53 +0000
(12:22 -0500)
Unix name after discussion with Simo.
(This used to be commit
6af4c1a73cdb523e5a81c15128c706a16f76c84d
)
source3/passdb/passdb.c
patch
|
blob
|
history
diff --git
a/source3/passdb/passdb.c
b/source3/passdb/passdb.c
index aebcbaaacfc6b62f8d06a0fe7b9c03d2f89691c1..ee84472d7852cc19df810dc733eaaca18f239e21 100644
(file)
--- 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 */