1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/printing
David Disseldorp 002d1a4467 Fix bug 9900: is_printer_published GUID retrieval
Samba currently always responds to GetPrinter(level = 7) requests with
DSPRINT_UNPUBLISH, regardless of the AD publish status tracked via the
PRINTER_ATTRIBUTE_PUBLISHED flag. This is due to erroneous "objectGUID"
unmarshalling in is_printer_published().

This change splits "objectGUID" retrieval into a separate function, and
adds a pull_reg_sz() call to correctly unmarshall the GUID.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2013-06-03 14:10:07 +02:00
..
tests s3-printing: use euid for vlp job tracking 2012-06-26 16:10:39 +02:00
load.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
load.h source3/printing/load.h: fix licence/copyright 2011-06-10 15:12:34 +02:00
lpq_parse.c Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07:00
notify.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
notify.h s3-printing: isolate print notification prototypes better. 2011-02-22 21:52:18 +01:00
nt_printing_ads.c Fix bug 9900: is_printer_published GUID retrieval 2013-06-03 14:10:07 +02:00
nt_printing_migrate_internal.c s3-net: Add encoding=<CP> to 'net printing migrate'. 2013-03-15 12:11:03 +01:00
nt_printing_migrate_internal.h s3-printing: split out printing migration code into a smaller library. 2011-07-01 16:46:26 +02:00
nt_printing_migrate.c s3-net: Add encoding=<CP> to 'net printing migrate'. 2013-03-15 12:11:03 +01:00
nt_printing_migrate.h s3-net: Add encoding=<CP> to 'net printing migrate'. 2013-03-15 12:11:03 +01:00
nt_printing_os2.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
nt_printing_os2.h s3-printing: move os2 related functions to printing/nt_printing_os2.c. 2011-07-07 18:06:01 +02:00
nt_printing_tdb.c Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07:00
nt_printing_tdb.h s3-printing: Move all tdb upgrade functions to a separate file. 2010-07-27 10:27:14 -04:00
nt_printing.c smbd: Convert driver_unlink_internals to synthetic_smb_fname 2013-04-17 14:50:03 -07:00
pcap.c s3: Fix typos 2011-12-08 12:05:54 +01:00
pcap.h source3/printing/pcap.h: fix licence/copyright 2011-06-10 15:12:36 +02:00
print_aix.c s3-printing: Get the location info from cups. 2011-05-16 12:54:33 +02:00
print_cups.c s3:printing: s/event_add_fd/tevent_add_fd and s/EVENT_FD_/TEVENT_FD_ 2013-02-19 23:48:01 +01:00
print_generic.c s3-printing: fix bug 9123 lprng job tracking errors 2012-08-29 14:25:12 +02:00
print_iprint.c Fix incorrect use of server as a talloc context. 2012-07-24 00:09:46 +02:00
print_standard.c Fix bug #8157 - std_pcap_cache_reload() fails to parse a cups printcap file correctly. 2011-05-20 22:52:23 +02:00
print_svid.c s3-printing: Get the location info from cups. 2011-05-16 12:54:33 +02:00
printer_list.c s3fs-printing: Simplify the comment and location handling. 2012-10-11 18:49:15 +02:00
printer_list.h s3-printing: Get the location info from cups. 2011-05-16 12:54:33 +02:00
printing_db.c lib/util: Remove obsolete sys_getpid() and sys_fork(). 2012-03-24 21:55:40 +01:00
printing.c Make sure to set umask() before calling mkstemp(). 2013-03-06 01:16:34 +01:00
printspoolss.c smbd: Convert print_spool_open to synthetic_smb_fname 2013-04-17 14:50:03 -07:00
queue_process.c s3-daemons: Set the comment field of the daemons. 2013-03-05 23:29:48 +01:00
queue_process.h s3-printing: Allow bq process to have own logfile 2011-08-10 18:14:05 +02:00
spoolssd.c spoolssd: Cast getpid() result to unsigned int for GNU/Solaris build 2013-03-15 10:38:50 -07:00