Compartilhar via


2.3.3.4 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 2.3.3.1). 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 2.3.3.2). 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.<235>

  • Periodically search for the print queues in the Active Directory (section 2.3.3.3) and delete (section 2.3.3.2) all print queues that are not present in the current List of Printers.<236>