s3:client:Use DEVICE_URI, instead of argv[0],for Device URI
commit4d41dc32653bd1ae7d87dcd5779c3586ae6561d3
authorBryan Mason <bmason@redhat.com>
Mon, 16 Sep 2019 19:35:06 +0000 (16 12:35 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 20 Sep 2019 19:20:25 +0000 (20 19:20 +0000)
tree45f93c17775269b28aef29e60bb5681ea85f5be9
parentd702f66290159d72c8f3c5d08ec9e9f23772611f
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

(cherry picked from commit d65b17c3f7f9959ed95b03cc09e020d7387b7931)
source3/client/smbspool.c