1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

52090 Commits

Author SHA1 Message Date
Günther Deschner
a58e59fc6e s3-rpcclient: add enumprocs command to enumerate print processors.
Guenther
2009-03-07 00:49:47 +01:00
Günther Deschner
b73411d650 s3-spoolss: add rpccli_spoolss_enumprintprocessors convenience wrapper.
Guenther
2009-03-07 00:43:13 +01:00
Günther Deschner
066a47b994 s3-spoolss: remove old spoolss_EnumPrintProcessors.
Guenther
2009-03-07 00:43:12 +01:00
Günther Deschner
f48ccec957 s3-spoolss: use pidl for _spoolss_EnumPrintProcessors.
Guenther
2009-03-07 00:42:58 +01:00
Günther Deschner
9f27a0813c s3: re-run make samba3-idl.
Guenther
2009-03-07 00:26:25 +01:00
Günther Deschner
6fd5128b99 spoolss: flag spoolss_PrintProcessorInfo1 [public,gensize].
Guenther
2009-03-07 00:26:25 +01:00
Günther Deschner
a93fbf8b26 s4-smbtorture: add test_EnumPrintProcDataTypes to RPC-SPOOLSS test.
Guenther
2009-03-07 00:25:44 +01:00
Günther Deschner
f959aac745 spoolss: add spoolss_EnumPrintProcDataTypes to enum macro helper.
Guenther
2009-03-07 00:23:29 +01:00
Günther Deschner
e90fcbb90e s3: re-run make samba3-idl.
Guenther
2009-03-07 00:23:22 +01:00
Günther Deschner
2545a75b9a spoolss: fill in spoolss_EnumPrintProcDataTypes IDL.
Guenther
2009-03-07 00:23:13 +01:00
Stefan Metzmacher
bf85a14182 s3:make_test: run CHAIN1 test
metze
2009-03-06 16:38:30 +01:00
Stefan Metzmacher
3f3e15ab91 s3:libsmb: merge cli_setup_signing_state() into cli_initialise_ex()
metze
2009-03-06 16:37:22 +01:00
Stefan Metzmacher
6e572d40a9 s3:libsmb: remove cli_setup_signing_state() and add struct cli_state *cli_initialise_ex()
This prepares the next changes.

metze
2009-03-06 16:37:21 +01:00
Stefan Metzmacher
589eb81e3f s3:winbindd_cm: remove useless cli_setup_signing_state(*cli, Undefined) call
cli_setup_signing_state() with Undefined is a noop.

metze
2009-03-06 16:37:20 +01:00
Stefan Metzmacher
196a5d0388 s3:signing: the seqnum should only be decremented by 1 for ntcancel requests
[MS-SMB] 3.3.5.1 Receiving Any Message says that the seqnum
is incremented by only for ntcancel requests for any other
request it's by incremented by 2, even if it doesn't expect
a response.

metze
2009-03-06 16:37:20 +01:00
Stefan Metzmacher
4b6cbe80b2 s3:errormap: add ECANCELED, ERRDOS/ERRbadfid, NT_STATUS_CANCELLED mapping
If someone knows a better dos error, please tell me...

metze
2009-03-06 16:37:19 +01:00
Stefan Metzmacher
918e6288fa s3:libsmb: smb signing works the same for extented and non-extended security
This is only cosmetic, but it makes it easier to understand.

metze
2009-03-06 16:18:50 +01:00
Günther Deschner
5ce523bbed s3-spoolss: Fix Coverity ID #891 (UNINIT).
Guenther
2009-03-06 14:58:49 +01:00
Günther Deschner
8614ce5ca7 s3-spoolss: remove old _spoolss_EnumForms.
Guenther
2009-03-06 14:32:46 +01:00
Günther Deschner
4541aa5f84 s3-spoolss: use form flags from idl in rpcclient and net.
Guenther
2009-03-06 14:32:46 +01:00
Günther Deschner
f9bf09e255 s3-spoolss: use pidl for _spoolss_EnumForms.
Guenther
2009-03-06 14:32:15 +01:00
Günther Deschner
c9de2300bb s3: re-run make samba3-idl.
Guenther
2009-03-06 14:31:51 +01:00
Günther Deschner
6aea116cf3 spoolss: flag spoolss_FormInfo1 and 2 with [public,gensize].
Guenther
2009-03-06 14:31:43 +01:00
Günther Deschner
9bdca59fc5 s3-spoolss: remove old rpccli_spoolss_enumforms.
Guenther
2009-03-06 14:30:26 +01:00
Günther Deschner
01e4f63c5e s3-net: use new rpccli_spoolss_enumforms wrapper.
Guenther
2009-03-06 14:30:17 +01:00
Günther Deschner
6336366abb s3-rpcclient: use new rpccli_spoolss_enumforms wrapper.
Guenther
2009-03-06 14:30:10 +01:00
Günther Deschner
c14a589a46 s3-spoolss: add convencience wrapper around rpccli_spoolss_EnumForms.
Guenther
2009-03-06 14:30:02 +01:00
Günther Deschner
b4707d8df3 s3: re-run make samba3-idl.
Guenther
2009-03-06 14:28:41 +01:00
Günther Deschner
75046db121 spoolss: fix [size_is] declaration for enum calls.
This took me ages to find. Thanks metze!

Guenther
2009-03-06 14:28:35 +01:00
Günther Deschner
007f3f2319 s4-spoolss: fix spoolss server enum calls after pointer changes.
Guenther
2009-03-06 14:28:28 +01:00
Günther Deschner
8bc7bb77be s4-smbtorture: exit early in test_EnumPorts when no port info has been returned.
Guenther
2009-03-06 14:28:22 +01:00
Günther Deschner
2fcc921237 s4-smbtorture: fix s3 flavor rpc spoolss test.
Guenther
2009-03-06 14:28:17 +01:00
Günther Deschner
8e68eb2cc3 s4-smbtorture: fix RPC-SPOOLSS-WIN.
Guenther
2009-03-06 14:28:10 +01:00
Günther Deschner
47adaea11e s4-smbtorture: fix RPC-SPOOLSS test after enum out info pointer changes.
Guenther
2009-03-06 14:28:04 +01:00
Günther Deschner
c6aea64e92 spoolss: fix spoolss enum calls helper macro code after pointer changes.
Guenther
2009-03-06 14:27:57 +01:00
Günther Deschner
4941e80d0e s3: re-run make samba3-idl.
Guenther
2009-03-06 14:27:49 +01:00
Günther Deschner
fb4ab25eec spoolss: make all enum out info pointers a pointer to an array.
Without this we never can get a reasonable s3 cli_spoolss fn for the enum calls.

Guenther
2009-03-06 14:27:41 +01:00
Stefan Metzmacher
df145c3382 s4:errormap: map ECANCELED to NT_STATUS_CANCELLED
metze
2009-03-06 07:31:33 +01:00
Jeremy Allison
67d12e9c6b Get the sense of the integer wrap test the right way around. Sorry.
Jeremy.
2009-03-05 22:00:22 -08:00
Jeremy Allison
4e74d811aa Now we're allowing a lower bound for auth_len, ensure we
also check for an upper one (integer wrap).
Jeremy.
2009-03-05 21:06:48 -08:00
Jeremy Allison
66c0f3690a Fix bug #6161 - smbclient corrupts source path in tar mode
This was my fault. I broke the smbclient tar argument processing
in creating the string for chdir when removing pstrings.
Jeremy.
2009-03-05 17:19:18 -08:00
Jeremy Allison
0d9f4a2886 Last part of fix for #6154 - zfs does not honor admin users.
Jeremy.
2009-03-05 15:18:18 -08:00
Volker Lendecke
2544ba6a0a Complete the fix for bug 6100
According to [MS-RPCE].pdf, section 2.2.2.11:

----
A client or a server that (during composing of a PDU) has allocated more space
for the authentication token than the security provider fills in SHOULD fill in
the rest of the allocated space with zero octets. These zero octets are still
considered to belong to the authentication token part of the PDU.<36>
----

RPC implementations are allowed to send padding bytes at the end of an auth
footer. Windows 7 makes use of this.

Thanks to Nick Meier <nmeier@microsoft.com>

Volker
2009-03-05 22:28:07 +01:00
Jeremy Allison
bb1dab3a97 Fix bug #6160 - Office 2007 fails saving files to a Samba mapped drive.
Confirmed by reporters.
Jeremy.
2009-03-05 09:04:16 -08:00
Tim Prouty
6652646432 librpc: Re-run make idl_full from source3 2009-03-04 18:32:13 -08:00
Tim Prouty
cfb4757386 pidl: Don't generate variables declarations for pointless array counters.
Code isn't generated to iterate over arrays of length 0, but the
variable declarations still are.  The result is 'unused variable'
warnings. This only seems to be happening in one place right now, so I
targeted the fix to this case, but refactoring could be done to make
all variable declarations do this zero length check.  Making it the
default would be a much more invasive fix.

Jelmer, please check!
2009-03-04 18:32:13 -08:00
Tim Prouty
04f5f73905 s3 OneFS: Use the public open_streams_for_delete 2009-03-04 18:32:13 -08:00
Tim Prouty
f61f169054 s3: Change open_streams_for_delete to call through the vfs layer
This eliminates the last direct caller of create_file_unixpath
2009-03-04 18:32:12 -08:00
Bo Yang
d526d340d8 Fix careless mistake in winbindd_setup_sig_usr2_handler 2009-03-04 17:26:57 -08:00
Jeremy Allison
c8ea9d1f13 Second part of fix for #6154, ensure we return max access
if admin user.
Jeremy.
2009-03-04 17:17:43 -08:00