smbd: uid: Don't crash if 'force group' is added to an existing share connection.
authorJeremy Allison <jra@samba.org>
Fri, 18 Jan 2019 22:24:30 +0000 (14:24 -0800)
committerRalph Boehme <slow@samba.org>
Fri, 25 Jan 2019 15:31:27 +0000 (16:31 +0100)
commite37f9956c1f2416408bad048a4618f6366086b6a
tree029c91d997d179e6b72ba89b9dacf53a60b8e009
parent7b21b4c1f538650f23ec77fb3c02fe1e224d89aa
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
selftest/knownfail
source3/smbd/uid.c