s3:client:Use DEVICE_URI, instead of argv[0],for Device URI
authorBryan Mason <bmason@redhat.com>
Mon, 16 Sep 2019 19:35:06 +0000 (12:35 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 18 Sep 2019 12:31:10 +0000 (12:31 +0000)
commitd65b17c3f7f9959ed95b03cc09e020d7387b7931
tree968e62cc49f91ac7dec8765525afa3a616b23e1c
parent55b54e72174fc018fee82ded0cb70eebb839cb5f
s3:client:Use DEVICE_URI, instead of argv[0],for Device URI

CUPS sanitizes argv[0] by removing username/password, so use
DEVICE_URI environment variable first.

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

Signed-off-by: Bryan Mason <bmason@redhat.com>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Sep 18 12:31:11 UTC 2019 on sn-devel-184
source3/client/smbspool.c