summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-05-20s3-lanman: Fix various RAP printing calls according to win98 testing and ↵Günther Deschner1-10/+10
MS-RAP docs. Guenther
2010-05-20s3 smb2: Fix the build without kerberosKai Blin1-0/+2
Jeremy, please check
2010-05-20s3-net: Created a migration tool for printing TDBs.Andreas Schneider1-0/+498
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-20s4-smbtorture: take a TODO note for RAP-PRINTING.Günther Deschner1-0/+8
Guenther
2010-05-20s4:operational LDB module - fix warnings (missing parameters, unused variable)Matthias Dieter Wallnöfer1-3/+5
2010-05-20s4:auth handle addition of nested aliases of domain groups.Andrew Bartlett1-8/+8
The challenge here is that we are asked not to add the domain groups again, but we need to search inside them for any aliases that we need to add. So, we can't short-circuit the operation just because we found the domain group. Andrew Bartlett
2010-05-20s4:auth Change auth_generate_session_info to take flagsAndrew Bartlett10-38/+139
This allows us to control what groups should be added in what use cases, and in particular to more carefully control the introduction of the 'authenticated' group. In particular, in the 'service_named_pipe' protocol, we do not have control over the addition of the authenticated users group, so we key of 'is this user the anonymous SID'. This also takes more care to allocate the right length ptoken->sids Andrew Bartlett
2010-05-20s4:auth Push check for messaging context into winbind backendAndrew Bartlett2-5/+5
If we don't use the winbind backend, we don't (for now) need a messaging context- and we don't have one in LDB at the moment. Andrew Bartlett
2010-05-20s4:auth Add dependency from the operational module onto authAndrew Bartlett6-9/+39
We had to split up the auth module into a module loaded by main deamon and a subsystem we manually init in the operational module. Andrew Bartlett
2010-05-20s4:auth Allow the operational module to get a user's tokenGroups from authAndrew Bartlett9-123/+200
This creates a new interface to the auth subsystem, to allow an auth_context to be created from the ldb, and then tokenGroups to be calculated in the same way that the auth subsystem would. Andrew Bartlett
2010-05-20s4:torture Add tests to demonstrate S2U4Self in the RPC-PAC testAndrew Bartlett2-9/+307
We also compare against SamLogon to try and validate the whole thing. Note that we must represent NULL as "" when comparing between the PAC and SamLogon, due to different marshalling of the structures. Andrew Bartlett
2010-05-20s4:auth Move BUILTIN group addition into session.cAndrew Bartlett4-84/+264
The group list in the PAC does not include 'enterprise DCs' and BUILTIN groups, so we should generate it on each server, not in the list we pass around in the PAC or SamLogon reply. Andrew Bartlett
2010-05-20s4:dsdb disable tokenGroups until end of rewriteAndrew Bartlett1-1/+2
I need to change the functions this calls Andrew Bartlett
2010-05-20s3:winbind:idmap_tdb2_set_mapping: untangle assignment from checkMichael Adam1-1/+2
2010-05-19Fix bug 7442 - Samba returns incorrect SMB2 QFS device info.Jeremy Allison2-2/+23
Add the correct devicetype and characteristics for this info level. Jeremy.
2010-05-19Fix connecting to [homes] share over SMB2.Jeremy Allison1-3/+20
Jeremy.
2010-05-19Correctly check error code return.Jeremy Allison1-1/+1
Jeremy.
2010-05-19After talking with Microsoft engineers, immediately replyingJeremy Allison1-1/+6
on compound requests on open being deferred for a sharing violation is a Windows bug. Re-enable the code that simply delays the compound response if the delay time is less than 2 seconds. Jeremy.
2010-05-19After talking with Microsoft engineers, the "lock spin time" isJeremy Allison1-1/+2
no longer used in SMB2. Jeremy.
2010-05-19(Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from ↵Jeremy Allison14-13/+24
64-bit Vista client It turns out that the persistent handles are used by the Microsoft redirector to index files on oplock break requests. So even if we don't do durable handles (yet) we must set the persistent handle on create. For now just use the same handle value as we use for volatile. Jeremy.
2010-05-19tsocket: Improve the language in some parts of the guide.Simo Sorce1-41/+37
2010-05-19s4-waf: Replace local includes in header files with proper system names.Thomas Nagy1-21/+100
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-05-19Thanks to Andrew Bartlett's advice, fix the NTLMSSP version problem the ↵Jeremy Allison3-34/+39
correct way. No more magic blobs :-). Use ndr_push_struct_blob() to push a properly formatted VERSION struct. Jeremy.
2010-05-19pynet: Raise proper exceptions rather than invoking sys.exit.Jelmer Vernooij2-8/+6
2010-05-19testprogs/win32: make it possible to specify MINGW_CCStefan Metzmacher3-3/+7
metze
2010-05-19testprogs/win32/spoolss: we don't need absolute pathes to mingw locationsStefan Metzmacher1-4/+2
metze
2010-05-19testprogs/win32/npecho: use 'rm -f' instead of 'del' on unixStefan Metzmacher1-1/+1
metze
2010-05-19testprogs/win32: explain how to use nmake with NMakefileStefan Metzmacher3-0/+9
metze
2010-05-19testprogs/win32/spoolss: rename Makefile.mingw GNUmakefileStefan Metzmacher1-0/+0
metze
2010-05-19testprogs/win32/spoolss: rename Makefile => NMakefileStefan Metzmacher1-0/+0
metze
2010-05-18Implement missing info level SMB_FILE_LINK_INFORMATION.Jeremy Allison3-6/+104
Fix bug #7435 - SMB2 hardlink fails (invalid level). Found at the Microsoft plugsharing plugfest. Jeremy.
2010-05-18Keep track of credits we're giving out. Set initial credits to 1 (MS-SMB2 ↵Jeremy Allison2-1/+9
spec required). Jeremy.
2010-05-19s4/drsuapi: Add another set of predefined ATTIDsKamen Mazdrashki1-1/+5
Very useful for debugging/dumping purposes
2010-05-19s4/metadata: fix whitespacesKamen Mazdrashki1-71/+71
2010-05-19s4/selftest: fix passwords in selftest-vars scriptKamen Mazdrashki1-2/+2
2010-05-18Fix our NTLMSSP implementation against the Microsoft torture tester.Jeremy Allison1-13/+37
We need to return a version blob if we negotiate version info. Jeremy.
2010-05-18Change data_blob() to be based on top of data_blob_talloc(), instead of the ↵Jeremy Allison1-15/+10
reverse (as it is now). It makes no sense to talloc off the null context, then talloc steal into the required context - just talloc off the correct context, and change data_blob() to pass in the null context to data_blob_talloc(). Jeremy. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-passdb: move get_logon_hours_from_pdb() into samr server.Günther Deschner3-25/+27
Guenther
2010-05-18s3-rpc_client: move protos to init_samr.hGünther Deschner8-9/+15
Guenther
2010-05-18s3-rpc_client: move protos to init_spoolss.hGünther Deschner6-13/+18
Guenther
2010-05-18s3-rpc_client: move protos to cli_spoolss.hGünther Deschner7-125/+129
Guenther
2010-05-18s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner21-44/+63
Guenther
2010-05-18s3-rpc_client: move protos to cli_netlogon.hGünther Deschner13-49/+59
Guenther
2010-05-18s3-rpc_client: move protos to cli_samr.hGünther Deschner9-33/+40
Guenther
2010-05-18s3:split secrets.c to put machine account secrets in a new fileAndrew Bartlett4-374/+406
This helps the s3compat effort by allowing these functions to be replaced by functions that query the cli_credentials and secrets.ldb APIs. Also, this changes a couple of DOM_SID to struct dom_sid along the way. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s4:smb_server/smb/trans2.c - remove unused define "DEFAULT_SITE_NAME"Matthias Dieter Wallnöfer1-1/+0
Obviously this isn't needed and in general site names shouldn't be hardcoded anymore (except there is a good reason).
2010-05-18s3:winbind use no_srv_register to avoid needing rpc_srv_registerAndrew Bartlett2-11/+2
This pidl attribute avoids the need for this dummy function, which helps s3compat. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18pidl: Allow new property 'no_srv_register'.Andrew Bartlett3-7/+10
This Samba-only property prevents pild from emitting the rpc_wbint_init function, which causes problems because it needs rpc_srv_register(). Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Added EN ISO 216, A0 and A1 to builtin forms.Andreas Schneider1-0/+2
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-pidfile: set the close on exec flag for the created pidfiles.Günther Deschner1-0/+3
Guenther