summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix bug 7399 - SMB2: QUERY_DIRECTORY is returning invalid values.Jeremy Allison2010-05-132-1/+15
| | | | | | | | | The end_data argument to smbd_dirptr_lanman2_entry() must include the safety margin, as internally it's actually used to allow detection of string name pushes that were truncated. Ensure space_remaining can never go negative due to padding. Jeremy.
* Be more forgiving on client oplock break failure (as Windows does). Remove a ↵Jeremy Allison2010-05-136-9/+2
| | | | | | global. Jeremy.
* Treat an open of stream ::$DATA as an open of the base file.Jeremy Allison2010-05-132-1/+50
| | | | | | This fixes a class of SMB_ASSERT failures when doing stream tests. Jeremy.
* s3:build: build smbtorture4 when the merged build is selectedStefan Metzmacher2010-05-132-2/+3
| | | | metze
* s3:winbindd Provide a winbindd_register_handlers() helper function for s3compatAndrew Bartlett2010-05-132-95/+102
| | | | | | | This function provides a useful entry point for s3compat to set things up in winbindd. Andrew Bartlett
* s3:winbindd Split helper functions to allow s3compat to call themAndrew Bartlett2010-05-132-22/+30
| | | | | | This provides a more useful entry point for s3compat. Andrew Bartlett
* s3:Winbindd Move winbindd_event_context to a different fileAndrew Bartlett2010-05-134-12/+41
| | | | | | This allows this function to be easily replaced in s3compat Andrew Bartlett
* s3:winbindd Rename 'children' to 'winbindd_children' and make staticAndrew Bartlett2010-05-131-9/+9
|
* s3:libsmb/namecache Remove namecache_enable()Andrew Bartlett2010-05-131-28/+0
| | | | | | | | No caller honours the return value, and this call only prints a DEBUG(). Removing this reduces the number of initialisation boilerplate calls s3compat has to make. Andrew Bartlett
* s3:smbd Remove calls to namecache_enable()Andrew Bartlett2010-05-131-2/+0
| | | | | | This only prints a DEBUG() Andrew Bartlett
* s3:winbindd Remove call to namecache_enable().Andrew Bartlett2010-05-131-4/+0
| | | | | | This call only prints a DEBUG() Andrew Bartlett
* s3:auth Make get_ntlm_challenge more like Samba4Andrew Bartlett2010-05-132-4/+5
| | | | | | This helps with the upcoming NTLMSSP merge, and allows errors to be returned. Andrew Bartlett
* Pass more SMB2 oplock tests. Only oplock stream tests left to fix.Jeremy Allison2010-05-122-1/+10
| | | | Jeremy.
* work around AIX6.1 name space pollution rename mod_name to module_nameOlaf Flebbe2010-05-121-8/+8
|
* s3-rap: fix cli_oem_change_password() and give room for the convert reply word.Günther Deschner2010-05-121-1/+1
| | | | | | Any servers I could find so far return it. Guenther
* s3-lanman: use samr for api_SamOEMChangePassword().Günther Deschner2010-05-121-9/+49
| | | | Guenther
* s3-selftest: enable RAP-SAM against Samba 3.Günther Deschner2010-05-121-1/+1
| | | | Guenther
* Fix more SMB2-OPLOCK bugs. Only 3 more issues to address then we're good to ↵Jeremy Allison2010-05-112-2/+15
| | | | | | go on this test. Jeremy.
* s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATAAndrew Bartlett2010-05-117-163/+50
| | | | | | | | | | | | | | | All the callers just want the PAC_LOGON_INFO, so search for that in ads_verify_ticket(), and don't bother the callers with the rest of the PAC. This change makes sense on it's own (removing boilerplate wrappers that just confuse the code), but it also makes it much easier to implement a matching ads_verify_ticket() function in Samba4 for the s3compat proposal. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3:configure: fix a messageMichael Adam2010-05-111-1/+1
|
* s3:Makefile: build smbtorture4 as static binary with socket_wrapper supportStefan Metzmacher2010-05-111-1/+2
| | | | metze
* SMB2 always have level2 oplock capability. Correct mapping from break ↵Jeremy Allison2010-05-104-3/+6
| | | | | | messages to SMB2 oplock levels. Jeremy.
* Stop us crashing in SMB2-OPLOCK test. Don't allow more than one outstanding ↵Jeremy Allison2010-05-101-5/+33
| | | | | | immediate event. Jeremy.
* Fix the processing of unlocks followed by locks. We now pass SMB2-LOCK test.Jeremy Allison2010-05-101-9/+5
| | | | Jeremy.
* Fix more of the SMB2-LOCK tests. Correctly unlock locks on error.Jeremy Allison2010-05-101-3/+19
| | | | Jeremy.
* s3-rpcclient: fix two more invalid typecasts in spoolss commands.Günther Deschner2010-05-101-9/+47
| | | | Guenther
* s3: Work around dependency bug in Samba 4 waf build in merged build.Jelmer Vernooij2010-05-101-3/+4
|
* s3: Test for "__attribute__((destructor))"Volker Lendecke2010-05-101-0/+16
|
* s3-net: Fix Bug #7417. 'net rpc user password' can set the wrong password.Günther Deschner2010-05-101-1/+4
| | | | Guenther
* s3-proto: add missing protoype for dcerpc_fault_to_nt_status().Günther Deschner2010-05-091-0/+1
| | | | Guenther
* s3-lanman: use srvsvc for api_RNetServerGetInfo().Günther Deschner2010-05-091-45/+47
| | | | | | Following MS-RAP 3.2.5.3 NetServerGetInfo Command. Guenther
* s3-spoolss: Make spoolss_Time_to_time_t public.Simo Sorce2010-05-093-15/+16
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-libsmb: fix argument order for tevent_req_default_print in cli_pull_print().Günther Deschner2010-05-091-1/+1
| | | | | | Andreas, please check. Guenther
* s3: Fix the buildVolker Lendecke2010-05-081-0/+1
|
* s3: move BASE_RID to main includes.h (in preparation to separate passdb).Günther Deschner2010-05-082-2/+2
| | | | Guenther
* s3-passdb: moving account_pol.c into passdb.Günther Deschner2010-05-083-3/+2
| | | | Guenther
* s3-merged: Make sure bin/ exists when copying in bin/smbtorture4.Jelmer Vernooij2010-05-071-1/+1
|
* s3-merged: Use newly added waf reconfigure subcommand.Jelmer Vernooij2010-05-071-1/+1
|
* Reintroduce merged build, using waf to build smbtorture4.Jelmer Vernooij2010-05-072-1/+56
|
* Revert "Revert "s3-build: Remove --enable-merged support.""Jelmer Vernooij2010-05-074-668/+3
| | | | This reverts commit 8f8e7c788a12d1e0bda9183ed765cc1048e105f7.
* samba3: Generate C files from IDL in source3/librpc/gen_ndr rather thanJelmer Vernooij2010-05-071-59/+59
| | | | | | | | librpc/gen_ndr. This is done to make it possible to run waf in the source4/ tree at the same time, since waf has problems with files that were generated by something else.
* Only MULTIPLE-UNLOCK test left to fix !Jeremy Allison2010-05-073-3/+3
| | | | Jeremy.
* When tearing down the connection make sure we close all files beforeJeremy Allison2010-05-072-0/+8
| | | | | | | freeing the global context, as we close access to the locking db before freeing the global context. Jeremy.
* This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> ↵Jeremy Allison2010-05-0710-150/+150
| | | | | | smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context. Jeremy.
* idl: get the logic of the prevous commit rightBjörn Jacke2010-05-071-1/+1
|
* idl: fix Unix builds by replacing bashismBjörn Jacke2010-05-071-1/+1
| | | | test -nt is not portable - tridge, please check!
* s3:configure: search fdatasync also in librtBjörn Jacke2010-05-071-1/+2
| | | | Sun^W Oracle Solaris has it there ...
* s3:configure: use correct SONAMEFLAG on Solaris depending on which linker is ↵Björn Jacke2010-05-071-1/+5
| | | | being used
* Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them ↵Jeremy Allison2010-05-078-11/+36
| | | | | | next :-). Jeremy.
* Fix crash in cancel-tdis lock test. Correctly shut down connection.Jeremy Allison2010-05-071-1/+1
| | | | Jeremy.