When Samba-3 is used within an MS Windows ADS environment, printers shared via Samba will not be browseable
until they have been published to the ADS domain. Information regarding published printers may be obtained
from the ADS server by executing the
net ads print info
command following this syntax:
net ads printer info <printer_name> <server_name> -Uadministrator%secret
If the asterisk (*) is used in place of the printer_name argument, a list of all printers will be
returned.
To publish (make available) a printer to ADS, execute the following command:
net ads printer publish <printer_name> -Uadministrator%secret
This publishes a printer from the local Samba server to ADS.
Removal of a Samba printer from ADS is achieved by executing this command:
net ads printer remove <printer_name> -Uadministrator%secret
A generic search (query) can also be made to locate a printer across the entire ADS domain by executing:
net ads printer search <printer_name> -Uadministrator%secret
|