1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

39 Commits

Author SHA1 Message Date
Gerald Carter
17e63ac4ed r13316: Let the carnage begin....
Sync with trunk as off r13315
2007-10-10 11:06:23 -05:00
Gerald Carter
c0f54eeebc 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.
2007-10-10 11:05:47 -05:00
Gerald Carter
1aeb7950d3 r11063: merging missing error code for event logs 2007-10-10 11:04:59 -05:00
Jim McDonough
8075b99b44 r10909: Give better shutdown messages 2007-10-10 11:04:56 -05:00
Gerald Carter
939c3cb5d7 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
2007-10-10 11:04:48 -05:00
Jeremy Allison
b195af0b39 r9253: From Samba4 tridge commit - added a new DOS error code (thanks to EMC)
Jeremy.
2007-10-10 11:00:29 -05:00
Jeremy Allison
c7fe18761e r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the torture
tests on this as it's very late NY time (just wanted to get this work
into the tree). I'll test this over the weekend....
Jerry - in looking at the difference between the two trees there
seem to be some printing/ntprinting.c and registry changes we might
want to examine to try keep in sync.
Jeremy.
2007-10-10 10:58:18 -05:00
Günther Deschner
2e5cb531ab r7606: add WERR_NET_NAME_NOT_FOUND. This is what windows returns when
trying to manipulate non-existing shares.

Guenther
2007-10-10 10:57:15 -05:00
Gerald Carter
a112c5570a r7440: * merge registry server changes from trunk (so far) for more
printmig.exe work
* merge the sys_select_signal(char c) change from trunk
  in order to keeo the winbind code in sync
2007-10-10 10:57:09 -05:00
Gerald Carter
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
Gerald Carter
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
Günther Deschner
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
Jeremy Allison
ec7953f201 Added new error codes. Fix up connection code to retry in the same way
that app-head does.
Jeremy.
-
Gerald Carter
65e7b5273b sync'ing up for 3.0alpha20 release -
Andrew Tridgell
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 -
Tim Potter
8b5cb1c2dd Merge from HEAD:
>DOS error 1307 is returned when an invalid owner for a security descriptor
>is detected.
-
Tim Potter
f16c85caff Merge from HEAD:
>Added constant and message for invalid security descriptor dos error.
-
Tim Potter
908b70f3e2 Added WERR_INVALID_FORM_NAME constant. -
Tim Potter
e66bdf1229 Stomped on some header file version numbers that have crept back in. -
Jeremy Allison
2b85d3570c Fix the NTSTATUS -> WERROR for srvsvc pipe.
Jeremy.
-
Tim Potter
9a3e127aea Added error for invalid form size. -
Jeremy Allison
771ef92fc6 Bring printing in HEAD inline with 2.2.x and app-head.
Jeremy.
-
Tim Potter
e4c13c51fa Added constant for WERR_FILE_EXISTS. -
Tim Potter
6a58c9bd06 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
Tim Potter
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.
-
Jeremy Allison
6c51d90f13 Added WERROR for non local domain.
Jeremy.
-
Andrew Bartlett
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
-
Jeremy Allison
c7f1d3d6f7 Added PRINTER_ALREADY_EXISTS error check from Gerry.
Jeremy
-
Tim Potter
6ce1eec09d Added constants and error message for dos error code 1326 (logon failure). -
Gerald Carter
0c0f322373 sync up with 2.2 -
Jeremy Allison
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.
-
Tim Potter
dbfd50d447 Moved and renamed DFS error constants from include/rpc_dfs.h to doserr.h to
fit in with new error reporting subsystem.
-
Andrew Tridgell
dcd6e735f7 the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but the client code still needs some work -
Andrew Tridgell
ad648c5cd8 more NTSTATUS/WERROR conversion -
Andrew Tridgell
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
-
Tim Potter
ed42dcf784 Fixed description in file header. -
Andrew Tridgell
2f4690e188 added ERRbadmcb -
Tim Potter
6c0dab8502 Moved across definition of dos error types from smb.h to doserr.h -
Tim Potter
1bd8b6f797 Moved dos error codes from smb.h into new file doserr.h -