Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Samba HowTo Guide
Prev Home Next

Printers and ADS

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

Samba HowTo Guide
Prev Home Next

  Published under the terms fo the GNU General Public License Design by Interspire