s3: spoolss: Fix GUID string format on GetPrinter info
authorSamuel Cabrero <scabrero@suse.de>
Thu, 21 Sep 2017 07:53:35 +0000 (09:53 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 6 Oct 2017 03:21:25 +0000 (05:21 +0200)
commitfc03049ca1721c25c6ad3d01cba2501af3f39b93
tree351d38ec07a3bd3b3c355ccc2d7cd65c1cb25423
parente1a8c9b27014f4f576d1508de4b380b7517c0861
s3: spoolss: Fix GUID string format on GetPrinter info

Fix regression introduced by commit a4157e7c5d75 which removed the braces
around the printer GUID in the printer info level 7 structure.

MS-RPRN section 2.2 says this protocol uses curly-braced GUIDs so printers
are deleted from the directory by the domain controller's pruning service.

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

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct  6 05:21:25 CEST 2017 on sn-devel-144
source3/rpc_server/spoolss/srv_spoolss_nt.c