Bug 12993 - AD published printers are pruned from directory
AD published printers are pruned from directory
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Printing
4.4.15
All All
: P5 minor
: ---
Assigned To: printing-maintainers
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-28 11:15 UTC by Samuel Cabrero
Modified: 2017-08-28 12:25 UTC (History)
1 user (show)

See Also:


Attachments
For v4-4-test (1.59 KB, patch)
2017-08-28 11:15 UTC, Samuel Cabrero
ddiss: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Cabrero 2017-08-28 11:15:36 UTC
Created attachment 13509 [details]
For v4-4-test

Printers published in Active Directory are deleted by the pruning task running on domain controllers.

This task pings the print server each eight hours to check the printer availability and prune it from the directory if the printer is no longer available.

Commit a4157e7c5d75 removed the braces from the printer GUID in the GetPrinter info level 7 response, but MS-RPRN section 2.2 says this protocol uses curly braced string representation.
Comment 1 David Disseldorp 2017-08-28 11:42:51 UTC
Comment on attachment 13509 [details]
For v4-4-test

Would have preferred to avoid the double strdup, but still looks okay as-is.