summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor the sessionsetup SMB2 code to make it easy to addJeremy Allison2010-05-171-140/+293
| | | | | | krb5. Fix a memory leak in returning security blobs. Jeremy
* s3-libgpo: move group policy protos to where they belong.Günther Deschner2010-05-1711-82/+93
| | | | Guenther
* s3-includes: remove some unused defines.Günther Deschner2010-05-171-7/+0
| | | | Guenther
* s3-kerberos: temporary fix for ipv6 in print_kdc_line().Günther Deschner2010-05-171-5/+20
| | | | | | | | | | Currently no krb5 lib supports "kdc = ipv6 address" at all, so for now just fill in just the kdc_name if we have it and let the krb5 lib figure out the appropriate ipv6 address ipv6 gurus, please check. Guenther
* s3-kerberos: pass down kdc_name to create_local_private_krb5_conf_for_domain().Günther Deschner2010-05-174-12/+22
| | | | Guenther
* s3-winbind: make the getpeername() checks in cm_prepare_connection IPv6 aware.Günther Deschner2010-05-171-5/+25
| | | | | | | | | | | Note that this failure was hard to track, as winbind did only log a super helpful "cm_prepare_connection: Success" debug message. IPv6 gurus, please check Successfully tested in two independent IPv6 networks now. Guenther
* s3:winbind:idmap_tdb: don't check ranges when an invalid entry was found.Michael Adam2010-05-171-0/+1
| | | | | | | | There is no point in checking the ranges this if the record found had an invalid/unknown type: the mapping is not filled in. If it were initialized to some defaults before, the check just might replace the status NT_STATUS_INTERNAL_DB_ERROR with a NT_STATUS_NONE_MAPPED, which is not as precise.
* added support for a -I flagMatthew McGillis2010-05-171-2/+148
|
* Consolidate all set SEC_DESC into single procedure set_secdescMatthew McGillis2010-05-171-25/+32
|
* s3-selftest: Allow overriding the subunit formatter.Jelmer Vernooij2010-05-161-1/+3
| | | | (e.g. "make selftest SUBUNIT_FORMATTER=cat")
* s3-printing: explicitly include "printing/pcap.h" as there is ↵Günther Deschner2010-05-147-7/+7
| | | | | | | | /usr/include/pcap.h. Thanks metze for pointing this out. Simo, please check. Guenther
* Make pcap headers privateSimo Sorce2010-05-1411-36/+60
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Move standard printcap parsing to print_standard.cSimo Sorce2010-05-144-93/+135
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-libsmb: fix typo in remote_password_change().Günther Deschner2010-05-141-1/+1
| | | | Guenther
* s3-libndr: make sure ndr_pull_string_array() only inspects string ↵Günther Deschner2010-05-141-1/+1
| | | | | | | | | | | termination flags. Otherwise the NOTERM case is not reachable for ascii strings (only utf16). With this patch we now can have: [flag(STR_ASCII|STR_NOTERM|NDR_REMAINING)] string_array array_name; Guenther
* 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