smbd: uid: Don't crash if 'force group' is added to an existing share connection.
commiteba5d055376b6f53f784dadbe71a8bfbdcee8b4a
authorJeremy Allison <jra@samba.org>
Fri, 18 Jan 2019 22:24:30 +0000 (18 14:24 -0800)
committerKarolin Seeger <kseeger@samba.org>
Thu, 21 Feb 2019 11:30:42 +0000 (21 12:30 +0100)
tree5bcc314d0e2f90f9de2665083696d76a891111f4
parentf68aab42318381fe42b90bff8962e6d77470cbd3
smbd: uid: Don't crash if 'force group' is added to an existing share connection.

smbd could crash if "force group" is added to a
share definition whilst an existing connection
to that share exists. In that case, don't change
the existing credentials for force group, only
do so for new connections.

Remove knownfail from regression test.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13690

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Jan 25 16:31:27 CET 2019 on sn-devel-144

(cherry picked from commit e37f9956c1f2416408bad048a4618f6366086b6a)
selftest/knownfail
source3/smbd/uid.c