summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2010-05-18s3-spoolss: Removed the Phantom DeviceMode.Simo Sorce3-555/+1
This was a hack that required a special client from HP. The client code has never been released and was discontinued, so this code was just dead weight. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-net: also dump security descriptors from ntprinters.tdb in "net printing ↵Günther Deschner1-0/+39
dump". Guenther
2010-05-18s4:smb_server: add dfs smbtorture to selftestsMatthieu Patou2-1/+9
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18s4:smb_server: Implement GET_DFS_REFERRAL for domain referral requestsMatthieu Patou1-1/+871
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18s4:smb_server: fix trailling whitespace in trans2.cMatthieu Patou1-25/+25
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18s4 torture: Add tests for dfs referrals handling in SMB/trans2 requestsMatthieu Patou5-2/+578
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18s4 torture test: Adapt ndr-dfsblobs torture test to new idlMatthieu Patou1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18librpc/idl: fix errors and improve idl in dfsblobsMatthieu Patou1-13/+25
Fix problems between strings and nstring Allow get_deferral parameters to be used by ndr_push/pull_blobs Handle correctly the 16 bytes padding Signed-off-by: Stefan Metzmacher <metze@samba.org>