summaryrefslogtreecommitdiff
path: root/source3/smbd/service.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-07 14:25:47 +0200
committerVolker Lendecke <vl@samba.org>2008-05-10 11:17:00 +0200
commit39bd6a95959e9015262b7b4250d3fcd58be44fc9 (patch)
tree4533cbabb44740315da0e7b18d329284b0c16b19 /source3/smbd/service.c
parentddcea20947fb3ca5ccd9e2a1e024ac8296dc4055 (diff)
downloadsamba-39bd6a95959e9015262b7b4250d3fcd58be44fc9.tar.gz
samba-39bd6a95959e9015262b7b4250d3fcd58be44fc9.tar.bz2
samba-39bd6a95959e9015262b7b4250d3fcd58be44fc9.zip
Do not unnecessarily mess with the results in find_forced_group()
(This used to be commit 6d9860d09b54c61625f011c2d56d710aa59d7686)
Diffstat (limited to 'source3/smbd/service.c')
-rw-r--r--source3/smbd/service.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index e3635d45db..60d962f3fd 100644
--- 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"));