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

18714 Commits

Author SHA1 Message Date
Volker Lendecke
993bdd87b5 Move SMB2 constants to a separate file 2009-05-11 15:54:24 +02:00
Volker Lendecke
ce8f3528f1 Fix SMB2_CAP_DFS 2009-05-11 15:54:24 +02:00
Günther Deschner
7672a033ef s4-smbtorture: remove trailing whitespace in RPC-LSA test.
Guenther
2009-05-11 15:06:20 +02:00
Günther Deschner
410f17cdeb s4-smbtorture: use struct torture_context in RPC-LSA.
Guenther
2009-05-11 15:06:16 +02:00
Günther Deschner
a3873bca51 s4-smbtorture: avoid secdesc test on connect handle in RPC-SAMR-USERS for Samba3.
With this, I think, we pass RPC-SAMR-USERS.

Guenther
2009-05-09 00:51:04 +02:00
Günther Deschner
4f3bfb6261 s4-smbtorture: skip unsupported ACB bits for Samba3 in RPC-SAMR-USER.
Guenther
2009-05-08 22:21:41 +02:00
Günther Deschner
67df4489e2 s4-smbtorture: Support timestamp handling for Samba3 in RPC-SAMR-USERS.
Timestamps in passdb (currently) only have second granularity.

Guenther
2009-05-08 22:14:50 +02:00
Günther Deschner
c2498d133d s4-smbtorture: Fix printf info-level mismatch in RPC-SAMR.
Guenther
2009-05-08 09:56:40 +02:00
Michael Adam
c469ec5c10 s4:loadparm: fix a comment typo. and line wrapping.
Michael
2009-05-08 01:18:58 +02:00
Michael Adam
31e06e63b7 s4:loadparm: fix brace indentation and add brace for clarity
Michael
2009-05-08 01:18:58 +02:00
Günther Deschner
310031274d s4-smbtorture: avoid acct_flags check at the end of RPC-SAMR-PASSWORDS for Samba3.
I don't get this, why would the account suddenly get ACB_PWNOTREQ ?

Guenther
2009-05-08 00:46:54 +02:00
Günther Deschner
41cb06fba7 s4-smbtorture: prepare for running RPC-SAMR-USERS against samba3.
In Samba 3 there are no pdb calls to store comments, codepages and countrycodes
(yet).

Guenther
2009-05-08 00:42:21 +02:00
Praveen Arimbrathodiyil
c52be9f6a0 Fix missing backtick. 2009-05-07 14:16:19 +02:00
Günther Deschner
2cdfd67cae s4-smbtorture: Avoid failing RPC-SCHANNEL when testing lsa_GetUserName behaviour against Samba 3.
Guenther
2009-05-07 13:05:13 +02:00
Volker Lendecke
4b3e89c2e7 Fix Coverity 911: FORWARD_NULL. Metze, please check! 2009-05-02 13:14:14 +02:00
Stefan Metzmacher
30038534f4 s4:rpc_server: convert the socket based part to use the tstream interface
metze
2009-05-01 17:42:12 +02:00
Stefan Metzmacher
fe9b552023 s4:smbd: depend on NAMED_PIPE_AUTH_TSTREAM...
metze
2009-05-01 17:42:09 +02:00
Stefan Metzmacher
92a1890b90 libcli/named_pipe_auth: add tstream_npa_connect_send/recv()
Add a tstream client implemenation for the named pipe auth
code. This supports byte and message mode.

metze
2009-05-01 17:42:08 +02:00
Stefan Metzmacher
2ae92c7599 s4:smbd: add support for named_pipe_auth level 2 in service_named_pipe...
metze
2009-05-01 17:42:06 +02:00
Stefan Metzmacher
5604e8d614 s4:libcli: remember operating system and lan manager strings from session setup
metze
2009-05-01 15:46:08 +02:00
Stefan Metzmacher
b97a591e2c s4:libcli/raw: write can return STATUS_BUFFER_OVERFLOW as a real error
We should not try to parse the result if the status is not NT_STATUS_OK.

metze
2009-05-01 15:12:07 +02:00
Volker Lendecke
24cfe3e607 Fix Coverity ID 853 (UNINIT) -- Kai, please check! 2009-04-28 12:26:20 +02:00
Stefan Metzmacher
d8f3f7cd42 s4:selftest: don't run the smb2.durable.open test
it often crashes when the server doesn't support them.

metze
2009-04-25 06:18:58 +02:00
Stefan Metzmacher
a678144162 s4:RPC-ECHO: disable the timeout test as it can't work with our client library
We need proper ways to cancel requests in order to have that
test working against a correctly behaving server over ncacn_np.

metze
2009-04-25 06:09:04 +02:00
Stefan Metzmacher
09f1754a9b RAW-LOCK: samba4 behaves like windows 7 in regard of locking error codes
metze
2009-04-25 03:16:11 +02:00
Stefan Metzmacher
4ab243bcab s4:torture: use torture api instead of printf for RAW-LOCK
metze
2009-04-25 03:15:58 +02:00
Stefan Metzmacher
bec71ba928 s4:selftest: s4 doesn't support osxrename and directory rename yet
metze
2009-04-25 03:15:56 +02:00
Stefan Metzmacher
88e9f72473 s4:tortore: use torture api instead of printf in RAW-RENAME
metze
2009-04-25 03:15:55 +02:00
Günther Deschner
a263eaca49 s4-smbtorture: add test_ControlService() to RPC-SVCCTL.
Guenther
2009-04-24 13:37:07 +02:00
Günther Deschner
f926a4e390 s4-smbtorture: add test_StartServiceW() to RPC-SVCCTL.
Guenther
2009-04-24 13:36:47 +02:00
Günther Deschner
ae5dd1219a s4-smbtorture: change default service to spooler in RPC-SVCCTL.
Guenther
2009-04-24 13:35:51 +02:00
Jelmer Vernooij
5b33624113 Rename the top-level LDB test to LOCAL-LDB, so it gets picked up by the
script that determines the tests to run.
2009-04-24 09:50:05 +02:00
Andrew Bartlett
1a39007101 s4:torture Fix segfault in RPC-SAMSYNC
This code needs to be fixed to match Win2008 behavior, but at least it
does not segfault any more.

Andrew Bartlett
2009-04-24 09:35:24 +02:00
Andrew Bartlett
bfa753f1c0 s4:torture Add tests for prefixMap custom attribute handler 2009-04-24 09:17:29 +02:00
Andrew Bartlett
2ee9ee2c17 Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel 2009-04-24 09:17:08 +02:00
Jelmer Vernooij
af6316d150 Provide a ldb_global_init() function for compatibility with older versions of LDB
(including the one in Samba 3).
2009-04-23 18:59:37 +02:00
Andrew Bartlett
b82a204b9b More lcov code coverage generation work 2009-04-23 18:46:24 +02:00
nadezhda ivanova
90cc5e72ba Fix of a bug in the security.descriptor.as_sddl() method
security.descriptor.as_sddl() method did not work correctly when invoked without
supplying the domain sid. Returned the same value as when the sid was provided.
Test added for this case in  libcli/security/tests/bindings.py

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-04-23 18:21:25 +02:00
Andrew Bartlett
f579a2c666 s4:torture use common libcli/auth crypto code 2009-04-23 17:53:25 +02:00
Jelmer Vernooij
80420745ff Add a new non-convenience version of push_codepoint. 2009-04-23 17:50:18 +02:00
Andrew Bartlett
ae6af9ecbf Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel 2009-04-23 17:38:42 +02:00
Sam Liddicott
176302dc05 Add async support for reply_tcon* and ntvfs_connect
smbsrv_tcon_backend no longer creates the ntvfs_request wrapper,
so smbsrv_reply_tcon* can now do this and then invoke ntvfs_connect
in the typical manner using SMBSRV_SETUP_NTVFS_REQUEST and
SMBSRV_CALL_NTVFS_BACKEND

Previously smbsrv_tcon_backend has been responsible for instantiating
the ntvfs_module_context to service a tree-connect request, and
then create an ntvfs_request wrapper around the smbsrv_request
and pass this to ntvfs_connect for the newly created ntvfs.

These actions could not be invoked asynchronously.

This meant that any client requests made while instantiating the
ntvfs module, including any composite's used during authentication
(or related client connections for the case of proxy modules)
would block other ntvfs modules and requests in the current process as
they executed a nested event loop to await completion.

Signed-off-by: Sam Liddicott <sam@liddicott.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-04-23 16:57:18 +02:00
Andrew Bartlett
f5dfd1a9a6 s4:test Include 'source4' in directories to find lcov in 2009-04-23 16:46:47 +02:00
Andrew Bartlett
53d491c9a4 Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel 2009-04-23 15:12:35 +02:00
Andrew Bartlett
af6298a84d s4:test Fix 'make lcov' in Samba4 2009-04-23 15:11:04 +02:00
Andrew Bartlett
0d4bd2c397 s4:samr Use ldb_context * rather than void * 2009-04-23 12:19:10 +02:00
Volker Lendecke
951de68721 Fix Coverity ID 628, Andrew B., please check! 2009-04-23 10:50:54 +02:00
Kai Blin
c93e2d9d43 errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFUL
This allows us to distinguish on NTSTATUS level if we got a
WBC_ERR_UNKNOWN_ERROR or WBC_ERR_NSS_ERROR.
2009-04-23 00:23:56 +02:00
Kai Blin
7a9be21916 errormap: Add wbcErr to NTSTATUS mappings 2009-04-22 00:14:45 +02:00
Kai Blin
57267a300f s4-build: Also search ../nsswitch for make (c|e)tags 2009-04-22 00:14:45 +02:00