Bug 14483 - net ads printer remove does not unset PRINTER_ATTRIBUTE_PUBLISHED bit in registry
Summary: net ads printer remove does not unset PRINTER_ATTRIBUTE_PUBLISHED bit in regi...
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Printing (show other bugs)
Version: 4.12.6
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: printing-maintainers
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-08 14:19 UTC by Björn Jacke
Modified: 2020-09-08 14:19 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Jacke 2020-09-08 14:19:00 UTC
This can be used to unpublish a printer in AD:

net ads printer remove testprinter -P

but that should also unset the PRINTER_ATTRIBUTE_PUBLISHED bit in the registry. Unticking the publish in AD checkbox on a Windows client managing a samba print server is taling care of that correctly.