188.8.131.52 Initializing the Print Server for Active Directory
Print servers perform the following initialization when Active Directory is available:
Enumerate through the List of Printers and, for each print queue with the PRINTER_ATTRIBUTE_PUBLISHED flag set, verify that the print queue is already published into the Active Directory. If the print queue is not already published, publish the print queue to the Active Directory (section 184.108.40.206). If the print queue is already published, verify that the data in the Active Directory is current and, if not, update the Active Directory entry for this print queue (section 220.127.116.11). If the print queue is marked as "Delete Pending", delete the Active Directory entry for the print queue. If an Active Directory operation fails for a print queue, the print server SHOULD continue enumerating through the List of Printers.
Print servers can also perform the following periodic operations when Active Directory is available, but only when the print server is configured to do so:
Periodically enumerate through the List of Printers and update the Active Directory as described earlier in this section.<222>
Periodically search for the print queues in the Active Directory (section 18.104.22.168) and delete (section 22.214.171.124) all print queues that are not present in the current List of Printers.<223>