printing: add nt_printer_guid_retrieve() helper
commit38dbd054dc331a441b10fdebbdb4bd0fc51cfc0a
authorDavid Disseldorp <ddiss@samba.org>
Thu, 18 Dec 2014 17:23:11 +0000 (18 18:23 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 18 Feb 2015 09:14:09 +0000 (18 10:14 +0100)
treed0e16f6a52fde02655bfc858462c03acacedfc36
parent7cabd89789a50d37fc32735968c493092a37e69f
printing: add nt_printer_guid_retrieve() helper

This function connects to the domain controller and retrieves the
GUID for the corresponding printer DN.

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

Pair-programmed-with: Andreas Schneider <asn@samba.org>
Signed-off-by: David Disseldorp <ddiss@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/include/nt_printing.h
source3/printing/nt_printing_ads.c