1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-18 00:59:12 +03:00
Commit Graph

30 Commits

Author SHA1 Message Date
a7fb2c50b0 r6051: finish off
net rpc service stop
        net rpc service start
        net rpc service pause
        net rpc service resume
2007-10-10 10:56:19 -05:00
4e0ac63c36 r6014: rather large change set....
pulling back all recent rpc changes from trunk into
3.0.  I've tested a compile and so don't think I've missed
any files.  But if so, just mail me and I'll clean backup
in a couple of hours.

Changes include \winreg, \eventlog, \svcctl, and
general parse_misc.c updates.

I am planning on bracketing the event code with an
#ifdef ENABLE_EVENTLOG until I finish merging Marcin's
changes (very soon).
2007-10-10 10:56:15 -05:00
69b745fb98 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
2007-10-10 10:52:57 -05:00
ec7953f201 Added new error codes. Fix up connection code to retry in the same way
that app-head does.
Jeremy.
-
65e7b5273b sync'ing up for 3.0alpha20 release -
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 -
8b5cb1c2dd Merge from HEAD:
>DOS error 1307 is returned when an invalid owner for a security descriptor
>is detected.
-
f16c85caff Merge from HEAD:
>Added constant and message for invalid security descriptor dos error.
-
908b70f3e2 Added WERR_INVALID_FORM_NAME constant. -
e66bdf1229 Stomped on some header file version numbers that have crept back in. -
2b85d3570c Fix the NTSTATUS -> WERROR for srvsvc pipe.
Jeremy.
-
9a3e127aea Added error for invalid form size. -
771ef92fc6 Bring printing in HEAD inline with 2.2.x and app-head.
Jeremy.
-
e4c13c51fa Added constant for WERR_FILE_EXISTS. -
6a58c9bd06 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
9c968fbb01 DOS error 31 is ERRgeneral, General Failure. This is the WERROR equivalent
to NT_STATUS_UNSUCCESSFUL according to AB's funky new error map.
-
6c51d90f13 Added WERROR for non local domain.
Jeremy.
-
a855dfb2e0 Update the NT_STATUS -> DOS error table.
This new table is rather different to the old one (see diff posted to the
list for a sorted list of differences) and needs a *lot* of testing.

It does however seem to line up much better with what NT is using, as
exampled by the change to the OBJECT_NAME_COLLISION DOS error, it now matches
win2k where it didn't before.

I can't see any critical errors we now get wrong, and I know that the auth
errors are correct as per my on-the-wire observations.

This table was produced (and I hope to comment this better later) by
using the ERRMAPEXTRACT smbtorture tool, a Win2k domain member and the
'name_to_ntstatus' auth module on the HEAD PDC.  This module returned
the username as the error, and the NT box was forced to give me a dos
error becouse thats all I negotiated on that connection.  Hence the map.

Andrew Bartlett
-
c7f1d3d6f7 Added PRINTER_ALREADY_EXISTS error check from Gerry.
Jeremy
-
6ce1eec09d Added constants and error message for dos error code 1326 (logon failure). -
0c0f322373 sync up with 2.2 -
6bf2505cce I *love* removing code :-). Removed 4 files that weren't being used.
All this stuff was being pulled in due to *one* unneeded call to
fetch a domain SID which smbpasswd already puts in the database...
Jeremy.
-
dbfd50d447 Moved and renamed DFS error constants from include/rpc_dfs.h to doserr.h to
fit in with new error reporting subsystem.
-
dcd6e735f7 the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but the client code still needs some work -
ad648c5cd8 more NTSTATUS/WERROR conversion -
24f9ab683d the next step in our error code handling change
- added WERROR for win32 error codes
- added a configure test for immediate structures

still lots to do, so its not enabled by default, but the main
structure is there
-
ed42dcf784 Fixed description in file header. -
2f4690e188 added ERRbadmcb -
6c0dab8502 Moved across definition of dos error types from smb.h to doserr.h -
1bd8b6f797 Moved dos error codes from smb.h into new file doserr.h -