smbcacls/smbcquotas: check for valid UNC path
authorBjörn Jacke <bj@sernet.de>
Tue, 10 Jan 2023 11:25:35 +0000 (12:25 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 6 Jun 2023 09:33:47 +0000 (09:33 +0000)
commitfcedf5514b121914483bbc0ffe77580929093ac6
treecee716f5e60aebbad2413ac05067309037efd249
parent61f3e16d9f8d6907b0b8576ae0cf4c4e48c0b37e
smbcacls/smbcquotas: check for valid UNC path

we used to strip the first two characters of the path and used that.

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Jun  6 09:33:47 UTC 2023 on atb-devel-224
source3/utils/smbcacls.c
source3/utils/smbcquotas.c