Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-05-20 | SMB2-LOCK: let the test pass against samba4 | Stefan Metzmacher | 1 | -1/+7 | |
metze | |||||
2009-05-20 | s4: try to fix privileges implementation in order to pass the ↵ | Günther Deschner | 1 | -1/+5 | |
RPC-SAMR-USERS-PRIVILEGES test. Guenther | |||||
2009-05-20 | Have ntvfs_connect() accept union smb_tcon *tcon instead of char* sharename | Sam Liddicott | 14 | -47/+202 | |
This change brings ntvfs_connect into compliance with other ntvfs functions which take an ntvfs module, an ntvfs request and an smb io union. It now becomes the responsibility of ntvfs modules to examine tcon->generic.level themselves and derive the share name and any other options directly; e.g. const char *sharename; switch (tcon->generic.level) { case RAW_TCON_TCON: sharename = tcon->tcon.in.service; break; case RAW_TCON_TCONX: sharename = tcon->tconx.in.path; break; case RAW_TCON_SMB2: default: return NT_STATUS_INVALID_LEVEL; } if (strncmp(sharename, "\\\\", 2) == 0) { char *p = strchr(sharename+2, '\\'); if (p) { sharename = p + 1; } } service.c smbsrv_tcon_backend() is called before ntvfs_connect and fills in some of the tcon->..out values. For the case of RAW_TCON_TCONX, it filles out tcon->tconx.out.tid and tcon->tconx.out.options For the case of RAW_TCON_TCON it fills out tcon->tcon.out.tid and tcon->tcon.out.max_xmit Thus the ntvfs_connect function for vfs modules may override these values if desired, but are not required to. ntvfs_connect functions are required to fill in the tcon->tconx.out.*_type fields, for RAW_TCON_TCONX, perhaps something like: if (tcon->generic.level == RAW_TCON_TCONX) { tcon->tconx.out.fs_type = ntvfs->ctx->fs_type; tcon->tconx.out.dev_type = ntvfs->ctx->dev_type; } Signed-off-by: Sam Liddicott <sam@liddicott.com> (I fixed the ntvfs_connect() in the smb_server/smb2/ and the RAW_TCON_SMB2 switch case in the modules) Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-05-20 | s4:smb_server: initialy read the first 4 bytes only | Sam Liddicott | 1 | -0/+1 | |
Stop packet_recv getting greedy and reading the whole socket and then dispatching te extra packets in a timer loop Signed-off-by: Sam Liddicott <sam@liddicott.com> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-05-20 | s4:libcli/raw: initialy read the first 4 bytes only | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2009-05-18 | s4 torture: Fix typo | Tim Prouty | 1 | -1/+1 | |
2009-05-19 | s4-smbtorture: Fix build warning in RPC-SAMR tests. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2009-05-18 | s4-smbtorture: add RPC-SAMR-USERS-PRIVILEGES test. | Günther Deschner | 2 | -9/+387 | |
This test demonstrates the independence of the lsa and samr accounts while remove a samr users that still has privileges granted. Guenther | |||||
2009-05-16 | tevent: Remove python module. | Jelmer Vernooij | 2 | -3/+0 | |
This module didn't have any functionality that we actually used yet, and it was quite small. Tevent is quite low level and perhaps doesn't make much sense to expose directly as a Python module. It was also causing build problems when used with a system-tevent. We can always back later if necessary. | |||||
2009-05-16 | Update copies of config.guess and config.sub. | Jelmer Vernooij | 4 | -152/+564 | |
2009-05-15 | errormap: Remove wbc -> NTSTATUS error map for now. It is not used. | Jelmer Vernooij | 1 | -37/+0 | |
This was breaking the Samba 4 installation since it added dependencies on header files we weren't installing. Confirmed with Kai. | |||||
2009-05-14 | s4:nbtd Use str_list_make_single() to turn iname->wins_server into a list | Andrew Bartlett | 1 | -1/+1 | |
2009-05-14 | s4:libnet Use str_list_make_single() in resolv code | Andrew Bartlett | 1 | -1/+1 | |
2009-05-14 | dsdb:schema Use str_list_make_empty() to create an empty list | Andrew Bartlett | 1 | -5/+5 | |
2009-05-14 | s4:torture Use str_list_make_single where appropriate | Andrew Bartlett | 1 | -10/+10 | |
2009-05-13 | s4-selftest: match new name of RPC-SAMR-ACCESSMASK. | Günther Deschner | 2 | -2/+2 | |
Guenther | |||||
2009-05-13 | s4-smbtorture: split RPC-SAMR-ACCESSMASK into several tests. | Günther Deschner | 1 | -34/+24 | |
Guenther | |||||
2009-05-13 | s4-smbtorture: cosmetic cleanup for RPC-SAMR-ACCESSMASK. | Günther Deschner | 1 | -50/+50 | |
Guenther | |||||
2009-05-13 | s4 config-summary: Fix printing of which libraries are external and | Jelmer Vernooij | 1 | -2/+8 | |
internal. | |||||
2009-05-12 | s4-smbtorture: skip SetMemberAttributesOfGroup in RPC-SAMR for s3 as well. | Günther Deschner | 1 | -1/+2 | |
Guenther | |||||
2009-05-12 | s4-smbtorture: Skip secdesc set calls for non-user objects in RPC-SAMR for ↵ | Günther Deschner | 1 | -8/+18 | |
Samba3. Note that they are skipped for all objects while testing Samba4. Guenther | |||||
2009-05-12 | s4-smbtorture: Fix order of assert args in test_TestPrivateFunctionsDomain() ↵ | Günther Deschner | 1 | -1/+1 | |
in RPC-SAMR. Guenther | |||||
2009-05-12 | s4-smbtorture: switch to use torture_context in RPC-SAMR. | Günther Deschner | 1 | -103/+131 | |
Guenther | |||||
2009-05-12 | s4-smbtorture: remove trailing whitespace in RPC-SAMR. | Günther Deschner | 1 | -252/+252 | |
Guenther | |||||
2009-05-11 | s4-smbtorture: add very basic RPC-LSA-LOOKUPNAMES test. | Günther Deschner | 2 | -0/+67 | |
Guenther | |||||
2009-05-11 | s4-smbtorture: add optional very simple reply checks to lsa lookup name tests. | Günther Deschner | 1 | -7/+34 | |
Guenther | |||||
2009-05-11 | s4:smb_server: return after we have processed an invalid smb2 request | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2009-05-11 | Move SMB2 constants to a separate file | Volker Lendecke | 2 | -114/+140 | |
2009-05-11 | Fix SMB2_CAP_DFS | Volker Lendecke | 1 | -1/+1 | |
2009-05-11 | s4-smbtorture: remove trailing whitespace in RPC-LSA test. | Günther Deschner | 1 | -192/+192 | |
Guenther | |||||
2009-05-11 | s4-smbtorture: use struct torture_context in RPC-LSA. | Günther Deschner | 1 | -211/+207 | |
Guenther | |||||
2009-05-09 | s4-smbtorture: avoid secdesc test on connect handle in RPC-SAMR-USERS for ↵ | Günther Deschner | 1 | -1/+3 | |
Samba3. With this, I think, we pass RPC-SAMR-USERS. Guenther | |||||
2009-05-08 | s4-smbtorture: skip unsupported ACB bits for Samba3 in RPC-SAMR-USER. | Günther Deschner | 1 | -4/+10 | |
Guenther | |||||
2009-05-08 | s4-smbtorture: Support timestamp handling for Samba3 in RPC-SAMR-USERS. | Günther Deschner | 1 | -8/+23 | |
Timestamps in passdb (currently) only have second granularity. Guenther | |||||
2009-05-08 | s4-smbtorture: Fix printf info-level mismatch in RPC-SAMR. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-05-08 | s4:loadparm: fix a comment typo. and line wrapping. | Michael Adam | 1 | -1/+2 | |
Michael | |||||
2009-05-08 | s4:loadparm: fix brace indentation and add brace for clarity | Michael Adam | 1 | -2/+4 | |
Michael | |||||
2009-05-08 | s4-smbtorture: avoid acct_flags check at the end of RPC-SAMR-PASSWORDS for ↵ | Günther Deschner | 1 | -1/+4 | |
Samba3. I don't get this, why would the account suddenly get ACB_PWNOTREQ ? Guenther | |||||
2009-05-08 | s4-smbtorture: prepare for running RPC-SAMR-USERS against samba3. | Günther Deschner | 1 | -16/+24 | |
In Samba 3 there are no pdb calls to store comments, codepages and countrycodes (yet). Guenther | |||||
2009-05-07 | Fix missing backtick. | Praveen Arimbrathodiyil | 1 | -1/+1 | |
2009-05-07 | s4-smbtorture: Avoid failing RPC-SCHANNEL when testing lsa_GetUserName ↵ | Günther Deschner | 1 | -2/+8 | |
behaviour against Samba 3. Guenther | |||||
2009-05-02 | Fix Coverity 911: FORWARD_NULL. Metze, please check! | Volker Lendecke | 1 | -1/+2 | |
2009-05-01 | s4:rpc_server: convert the socket based part to use the tstream interface | Stefan Metzmacher | 2 | -67/+335 | |
metze | |||||
2009-05-01 | s4:smbd: depend on NAMED_PIPE_AUTH_TSTREAM... | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-05-01 | libcli/named_pipe_auth: add tstream_npa_connect_send/recv() | Stefan Metzmacher | 1 | -0/+1 | |
Add a tstream client implemenation for the named pipe auth code. This supports byte and message mode. metze | |||||
2009-05-01 | s4:smbd: add support for named_pipe_auth level 2 in service_named_pipe... | Stefan Metzmacher | 1 | -4/+55 | |
metze | |||||
2009-05-01 | s4:libcli: remember operating system and lan manager strings from session setup | Stefan Metzmacher | 2 | -0/+24 | |
metze | |||||
2009-05-01 | s4:libcli/raw: write can return STATUS_BUFFER_OVERFLOW as a real error | Stefan Metzmacher | 1 | -1/+1 | |
We should not try to parse the result if the status is not NT_STATUS_OK. metze | |||||
2009-04-28 | Fix Coverity ID 853 (UNINIT) -- Kai, please check! | Volker Lendecke | 1 | -0/+3 | |
2009-04-25 | s4:selftest: don't run the smb2.durable.open test | Stefan Metzmacher | 1 | -0/+1 | |
it often crashes when the server doesn't support them. metze |