smbspool: Improve URI handling code
authorAndreas Schneider <asn@samba.org>
Fri, 5 Jan 2018 09:50:57 +0000 (10:50 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 20 Feb 2018 20:46:38 +0000 (21:46 +0100)
commita6eac8f64989235e7a297c14e349d98a3fc70e47
treea14d7a3601a33ebf95c7e2ab894e1a593f3fc8de
parent7573b2a960c5bd32ac6d42b10bb46329ff7fa7b7
smbspool: Improve URI handling code

This also checks that the URI given via the environment variables
starts with smb://

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Feb 20 21:46:38 CET 2018 on sn-devel-144
source3/client/smbspool.c