1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

13 Commits

Author SHA1 Message Date
Gerald Carter
a489553067 r12173: doing some service control work
* Add a few new error codes for disabled services
* dump some more details about service status in 'net rpc service'
* disable the WINS and NetLogon services if not configured in smb.conf

Still trying to figure out how to disable the start button
on the NetLogon and WINS services.
(This used to be commit c0f54eeebc84ec9fab63c5b105511762bcc136be)
2007-10-10 11:05:47 -05:00
Jim McDonough
a5b2ec0ba0 r10909: Give better shutdown messages
(This used to be commit 8075b99b44085d107fa42d431300c60133ec53eb)
2007-10-10 11:04:56 -05:00
Gerald Carter
0a01b2246a r8064: * add the REG_XXX error codes to the pretty error messages
* more work on the store_values() functions for the Printers key
* add Control\Print\Monitors key to list for reg_db
(This used to be commit 89f17b41cee633838b8cbd0d1bf8119a4b8d707e)
2007-10-10 10:58:10 -05:00
Günther Deschner
3f657f41cc r7606: add WERR_NET_NAME_NOT_FOUND. This is what windows returns when
trying to manipulate non-existing shares.

Guenther
(This used to be commit 2e5cb531ab8a8babbc425b22d17a39c18f602d4f)
2007-10-10 10:57:15 -05:00
Gerald Carter
66e8ed2632 r6051: finish off
net rpc service stop
        net rpc service start
        net rpc service pause
        net rpc service resume
(This used to be commit a7fb2c50b07a7d9965675272a71f42beba92acfe)
2007-10-10 10:56:19 -05:00
Gerald Carter
259d44dbb2 r6038: adding more flesh to 'net rpc service'
open and close the service control manager.

Also experimenting with ideas for cli_xxx() interface.
(This used to be commit 4da89ef17b8c4644b97b923cebfe8e446b508b4d)
2007-10-10 10:56:17 -05:00
Günther Deschner
3eff1f48d5 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)
2007-10-10 10:52:57 -05:00
Tim Potter
d0e19665e8 Merge of server unavailable error string.
(This used to be commit 21d7dba977037b83fc1d6d86b5d3d4cae6eb683d)
2003-04-15 06:55:42 +00:00
Andrew Bartlett
634c54310c Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
(This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2003-01-03 08:28:12 +00:00
Tim Potter
e8682b6c8e Merge from HEAD:
>DOS error 1307 is returned when an invalid owner for a security descriptor
>is detected.
(This used to be commit 8b5cb1c2dda39ab4eaa5f61272cebcba072c332b)
2002-05-07 06:18:50 +00:00
Tim Potter
9935aaec47 Merge from HEAD:
>Added constant and message for invalid security descriptor dos error.
(This used to be commit f16c85caff9adb640c70ce6b932f33bdec696665)
2002-04-24 05:45:04 +00:00
Tim Potter
416165a52c Added WERR_INVALID_FORM_NAME constant.
(This used to be commit 908b70f3e23846d0b438a68e45e076e65016e95e)
2002-04-09 05:11:34 +00:00
Tim Potter
a4cce223d6 Added dos_errstr() function. Not all errors in list yet.
(This used to be commit ddb5753e36b8c5efb48ce5c82c16d970fb8e76b6)
2002-03-17 06:04:15 +00:00