git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddcea20
)
Do not unnecessarily mess with the results in find_forced_group()
author
Volker Lendecke
<vl@samba.org>
Wed, 7 May 2008 12:25:47 +0000
(14:25 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sat, 10 May 2008 09:17:00 +0000
(11:17 +0200)
(This used to be commit
6d9860d09b54c61625f011c2d56d710aa59d7686
)
source3/smbd/service.c
patch
|
blob
|
history
diff --git
a/source3/smbd/service.c
b/source3/smbd/service.c
index e3635d45dbf6dc970213de5d9b476874a78a1d03..60d962f3fdf631c85375aa402622f79331743ab2 100644
(file)
--- a/
source3/smbd/service.c
+++ b/
source3/smbd/service.c
@@
-543,9
+543,6
@@
static NTSTATUS find_forced_group(bool force_user,
bool user_must_be_member = False;
gid_t gid;
- ZERO_STRUCTP(pgroup_sid);
- *pgid = (gid_t)-1;
-
groupname = talloc_strdup(talloc_tos(), lp_force_group(snum));
if (groupname == NULL) {
DEBUG(1, ("talloc_strdup failed\n"));