summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-05-18s3-samr: move samr helper prototypes outside of proto.hGünther Deschner4-40/+65
Guenther
2010-05-18s3-services: move services.h to where it is actually used.Günther Deschner8-1/+7
Guenther
2010-05-18security: merge builtin rid tables.Günther Deschner3-49/+20
Guenther
2010-05-18s3-rpc_misc: clean out include/rpc_misc.h.Günther Deschner21-65/+45
Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther
2010-05-17Refactor the sessionsetup SMB2 code to make it easy to addJeremy Allison1-140/+293
krb5. Fix a memory leak in returning security blobs. Jeremy
2010-05-17s3-libgpo: move group policy protos to where they belong.Günther Deschner11-82/+93
Guenther
2010-05-17s3-includes: remove some unused defines.Günther Deschner1-7/+0
Guenther
2010-05-17s3-kerberos: temporary fix for ipv6 in print_kdc_line().Günther Deschner1-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
2010-05-17s3-kerberos: pass down kdc_name to create_local_private_krb5_conf_for_domain().Günther Deschner4-12/+22
Guenther
2010-05-17s3-winbind: make the getpeername() checks in cm_prepare_connection IPv6 aware.Günther Deschner1-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
2010-05-17s3:winbind:idmap_tdb: don't check ranges when an invalid entry was found.Michael Adam1-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.
2010-05-17added support for a -I flagMatthew McGillis1-2/+148
2010-05-17Consolidate all set SEC_DESC into single procedure set_secdescMatthew McGillis1-25/+32
2010-05-16s3-selftest: Allow overriding the subunit formatter.Jelmer Vernooij1-1/+3
(e.g. "make selftest SUBUNIT_FORMATTER=cat")
2010-05-14s3-printing: explicitly include "printing/pcap.h" as there is ↵Günther Deschner7-7/+7
/usr/include/pcap.h. Thanks metze for pointing this out. Simo, please check. Guenther
2010-05-14Make pcap headers privateSimo Sorce11-36/+60
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-14Move standard printcap parsing to print_standard.cSimo Sorce4-93/+135
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-14s3-libsmb: fix typo in remote_password_change().Günther Deschner1-1/+1
Guenther
2010-05-14s3-libndr: make sure ndr_pull_string_array() only inspects string ↵Günther Deschner1-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
2010-05-13Fix bug 7399 - SMB2: QUERY_DIRECTORY is returning invalid values.Jeremy Allison2-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.
2010-05-13Be more forgiving on client oplock break failure (as Windows does). Remove a ↵Jeremy Allison6-9/+2
global. Jeremy.
2010-05-13Treat an open of stream ::$DATA as an open of the base file.Jeremy Allison2-1/+50
This fixes a class of SMB_ASSERT failures when doing stream tests. Jeremy.
2010-05-13s3:build: build smbtorture4 when the merged build is selectedStefan Metzmacher2-2/+3
metze
2010-05-13s3:winbindd Provide a winbindd_register_handlers() helper function for s3compatAndrew Bartlett2-95/+102
This function provides a useful entry point for s3compat to set things up in winbindd. Andrew Bartlett
2010-05-13s3:winbindd Split helper functions to allow s3compat to call themAndrew Bartlett2-22/+30
This provides a more useful entry point for s3compat. Andrew Bartlett
2010-05-13s3:Winbindd Move winbindd_event_context to a different fileAndrew Bartlett4-12/+41
This allows this function to be easily replaced in s3compat Andrew Bartlett
2010-05-13s3:winbindd Rename 'children' to 'winbindd_children' and make staticAndrew Bartlett1-9/+9
2010-05-13s3:libsmb/namecache Remove namecache_enable()Andrew Bartlett1-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
2010-05-13s3:smbd Remove calls to namecache_enable()Andrew Bartlett1-2/+0
This only prints a DEBUG() Andrew Bartlett
2010-05-13s3:winbindd Remove call to namecache_enable().Andrew Bartlett1-4/+0
This call only prints a DEBUG() Andrew Bartlett
2010-05-13s3:auth Make get_ntlm_challenge more like Samba4Andrew Bartlett2-4/+5
This helps with the upcoming NTLMSSP merge, and allows errors to be returned. Andrew Bartlett
2010-05-12Pass more SMB2 oplock tests. Only oplock stream tests left to fix.Jeremy Allison2-1/+10
Jeremy.
2010-05-12work around AIX6.1 name space pollution rename mod_name to module_nameOlaf Flebbe1-8/+8
2010-05-12s3-rap: fix cli_oem_change_password() and give room for the convert reply word.Günther Deschner1-1/+1
Any servers I could find so far return it. Guenther
2010-05-12s3-lanman: use samr for api_SamOEMChangePassword().Günther Deschner1-9/+49
Guenther
2010-05-12s3-selftest: enable RAP-SAM against Samba 3.Günther Deschner1-1/+1
Guenther
2010-05-11Fix more SMB2-OPLOCK bugs. Only 3 more issues to address then we're good to ↵Jeremy Allison2-2/+15
go on this test. Jeremy.
2010-05-11s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATAAndrew Bartlett7-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>
2010-05-11s3:configure: fix a messageMichael Adam1-1/+1
2010-05-11s3:Makefile: build smbtorture4 as static binary with socket_wrapper supportStefan Metzmacher1-1/+2
metze
2010-05-10SMB2 always have level2 oplock capability. Correct mapping from break ↵Jeremy Allison4-3/+6
messages to SMB2 oplock levels. Jeremy.
2010-05-10Stop us crashing in SMB2-OPLOCK test. Don't allow more than one outstanding ↵Jeremy Allison1-5/+33
immediate event. Jeremy.
2010-05-10Fix the processing of unlocks followed by locks. We now pass SMB2-LOCK test.Jeremy Allison1-9/+5
Jeremy.
2010-05-10Fix more of the SMB2-LOCK tests. Correctly unlock locks on error.Jeremy Allison1-3/+19
Jeremy.
2010-05-10s3-rpcclient: fix two more invalid typecasts in spoolss commands.Günther Deschner1-9/+47
Guenther
2010-05-10s3: Work around dependency bug in Samba 4 waf build in merged build.Jelmer Vernooij1-3/+4
2010-05-10s3: Test for "__attribute__((destructor))"Volker Lendecke1-0/+16
2010-05-10s3-net: Fix Bug #7417. 'net rpc user password' can set the wrong password.Günther Deschner1-1/+4
Guenther
2010-05-09s3-proto: add missing protoype for dcerpc_fault_to_nt_status().Günther Deschner1-0/+1
Guenther
2010-05-09s3-lanman: use srvsvc for api_RNetServerGetInfo().Günther Deschner1-45/+47
Following MS-RAP 3.2.5.3 NetServerGetInfo Command. Guenther