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)
committerKarolin Seeger <kseeger@samba.org>
Thu, 21 Feb 2019 11:31:46 +0000 (12:31 +0100)
commit7644bb26be027b62d7388a6995355915cf1f14a1
treee215dce4156d4aa147844861f09d4d7573228110
parenteac00de2a0975fe1ab6ea84784087c010b94e74c
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