diff options
author | Günther Deschner <gd@samba.org> | 2004-10-13 01:40:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:57 -0500 |
commit | 3eff1f48d5806aeb0347f13c50e7620bbdc04dd5 (patch) | |
tree | 8720d02fa53dd9e11cd4d461264757e2785c9730 /source3/utils/net_help.c | |
parent | e66c8217f8c8944fde00e3cb944d7d27065c40a9 (diff) | |
download | samba-3eff1f48d5806aeb0347f13c50e7620bbdc04dd5.tar.gz samba-3eff1f48d5806aeb0347f13c50e7620bbdc04dd5.tar.bz2 samba-3eff1f48d5806aeb0347f13c50e7620bbdc04dd5.zip |
r2942: Add client-side support of triggering ads printer publishing over msrpc
setprinter calls inside the net-tool.
This is usefull to mimic the same queries a windows-client does. At
least win2k returns WERR_IO_PENDING when printer is published via
setprinter, samba returns WERR_OK but this does not hurt.
Guenther
(This used to be commit 69b745fb98b8054d1f52e8a3fe3b933fb04336db)
Diffstat (limited to 'source3/utils/net_help.c')
-rw-r--r-- | source3/utils/net_help.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/net_help.c b/source3/utils/net_help.c index 4b19bcf5aa..cc5208b821 100644 --- a/source3/utils/net_help.c +++ b/source3/utils/net_help.c @@ -176,6 +176,9 @@ int net_help_printer(int argc, const char **argv) "\tlists all printers on print-server\n\n"); d_printf("net rpc printer DRIVER [printer] [misc. options] [targets]\n"\ "\tlists all printer-drivers on print-server\n\n"); + d_printf("net rpc printer PUBLISH action [printer] [misc. options] [targets]\n"\ + "\tpublishes printer settings in Active Directory\n" + "\taction can be one of PUBLISH, UPDATE, UNPUBLISH or LIST\n\n"); d_printf("net rpc printer MIGRATE PRINTERS [printer] [misc. options] [targets]"\ "\n\tmigrates printers from remote to local server\n\n"); d_printf("net rpc printer MIGRATE SETTINGS [printer] [misc. options] [targets]"\ |