s3:smbd: Make sure we do not export "/" (root) as home dir
authorAndreas Schneider <asn@samba.org>
Thu, 22 Nov 2018 17:23:24 +0000 (18:23 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 5 Dec 2018 00:38:14 +0000 (01:38 +0100)
commit99695528f7453023446956d5f8f0656574e243af
tree97ba5e6e51875b0b9c6c0f2a197713e88a3db3cd
parentcc471448df91c43fe38e2fcdf9b3874636ca51a6
s3:smbd: Make sure we do not export "/" (root) as home dir

If "/" (root) is returned as the home directory, prevent exporting it.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
source3/param/service.c
source3/smbd/password.c