summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-11-27s4-smb2: check for invalid SMB2 lock rangesAndrew Tridgell1-0/+6
2009-11-27s4-smb2: check for an invalid lock flags combinationAndrew Tridgell1-0/+3
UNLOCK with FAIL_IMMEDIATELY is not allowed
2009-11-27s4-install: fixed install path for python scriptsAndrew Tridgell2-11/+34
when we install python scripts we need to fix the internal path used to find modules. We also need to install the scripts in the right place. Most of them should go in $SBINDIR not share/setup/
2009-11-27s4:upgradeprovision Rework update_machine_account_password() tranactionsAndrew Bartlett1-4/+6
This balances the transaction_begin() and transactin_prepare_commit() calls Andrew Bartlett
2009-11-27s4:dsdb Don't segfault with ldb_transaction_prepare_commit() without begin()Andrew Bartlett1-0/+4
It is up to other modules to complain if ldb_transaction_prepare_commit() is called before ldb_transaction_begin_transaction() Andrew Bartlett
2009-11-27s4:upgradeprovision add 'exit $failed' to blackbox testAndrew Bartlett1-0/+2
2009-11-27s4:upgradeprovision Use mkdtemp to create unique tempoary directory namesAndrew Bartlett1-2/+3
2009-11-27s4:selftest Add tests for upgradeprovisionAndrew Bartlett2-0/+27
2009-11-27s4:upgradeprovision Rework script, and reset machine account pwAndrew Bartlett1-27/+58
The rework corrects some duplication and errors in the original script, found when preparing an automated test of the script. The code to reset the machine account password avoids issues with AES keys and salting, which may not otherwise be solved by the upgrade. Andrew Bartlett
2009-11-27s4:ldb Provide bindings for ldb_transaction_prepare_commit()Andrew Bartlett1-0/+9
2009-11-27s4:provision Make setting the domain SID in the self join optionalAndrew Bartlett1-3/+4
2009-11-27Fix path to upgradeprovisionAndrew Bartlett1-2/+2
2009-11-27s4: Improve updateprovisionMatthieu Patou1-33/+52
* Define a simple upgrade process mode (module storage change, file name change, copy of new file) * Move the schema, configuration and current object upgrade into full upgrade mode * Added the --full switch to select the full upgrade mode, and made simple upgrade mode the default * Make updateprovision works without any switch (update the provision in the default location) * Cleanup the messages * Create the reference provision in a subdirectory of the updated provision
2009-11-27s4: update What's new and explain how to upgrade a samba4 provisionMatthieu Patou2-1/+28
2009-11-27s4: Rename the scriptMatthieu Patou1-45/+45
2009-11-27s3-kerberos: Fix Bug #6929: build with recent heimdal.Günther Deschner2-1/+20
Heimdal changed the KRB5_DEPRECATED define (which now may not take an identifier for activation) in new releases (like 1.3.1). Guenther
2009-11-27s3-spoolss: use macros to fillup driver levels.Günther Deschner1-158/+114
Guenther
2009-11-26s3-smbd: no drsuapi server stubs yet in s3. Fixes the build, sorry.Günther Deschner1-1/+0
Guenther
2009-11-26s3-rpc: running minimal_includes.pl on rpc_client and rpc_server.Günther Deschner4-7/+0
Guenther
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner75-64/+109
samba. Guenther
2009-11-26s3-passdb: move some defines out of rpc headers (they really belong to passdb).Günther Deschner2-16/+15
Guenther
2009-11-26s3-winbind: properly include netlogon.idl in wbint.idl.Günther Deschner3-1/+3
Guenther
2009-11-26s3-spoolss: pre cosmetics: reorder levels in construct_printer_info levels.Günther Deschner1-104/+104
Guenther
2009-11-26tevent: Fix a commentVolker Lendecke1-1/+1
2009-11-26librpc: rerun "make idl"Stefan Metzmacher10-67/+67
metze
2009-11-26pidl:Samba3/ClientNDR: $size can be 'foo / 2' so we need to add '(' and ')'Stefan Metzmacher2-3/+3
foo / 5 * sizeof(bar)' isn't the same as '(foo / 2) * sizeof(bar)'. metze
2009-11-26pidl:NDR/Parser: $size can be 'foo / 2' so we need to add '(' and ')'Stefan Metzmacher1-1/+1
foo / 5 * sizeof(bar)' isn't the same as '(foo / 2) * sizeof(bar)'. metze
2009-11-26create-tarball: Make it more comfortable to use the --copy-docs option.Karolin Seeger1-0/+13
Now you can directly specify the 'make release' output dir without any modifications. Karolin
2009-11-26s4:ldap.py - add a test for the enhanced operational attributes checkMatthias Dieter Wallnöfer1-0/+11
(Deny creation of entries with operational attributes specified)
2009-11-26s4:objectclass LDB module - Prevent write operations on constructed attributesMatthias Dieter Wallnöfer1-6/+19
2009-11-26s4:operational LDB module - Don't do the write checks hereMatthias Dieter Wallnöfer1-16/+0
Let this perform the schema in the "objectclass" module.
2009-11-26s3-kerberos: next step to resolve Bug #6929: build with recent heimdal.Günther Deschner2-4/+8
Based on patch from Allan <allan@archlinux.org>. Also should fix the FreeBSD build on the buildfarm. Guenther
2009-11-26s4-smbtorture: refactor RPC-SAMR-LARGE-DC test a little more.Günther Deschner1-25/+26
Guenther
2009-11-26s4-smbtorture: add torture_samr_context to carry some RPC-SAMR-X specifics.Günther Deschner1-84/+111
Guenther
2009-11-25Fix warnings with talloc_asprintf.Jeremy Allison1-3/+3
Jeremy.
2009-11-25Make us pass RAW-CHKPATH with a case sensitive share.Jeremy Allison1-42/+105
I know Volker will look at this closely so here's the explaination :-). Originally on a case-sensitive share we simply did a stat (or lstat) call and returned success of fail based on the result. However this failed to take account of incoming paths with a wildcard (which must always fail, and with different error messages depending on whether the wildcard is the last component or in the path). Also it failed to take account of a stat fail with ENOENT due to a missing component of the path as the last component (which is ok as it could be a new file) or if the ENOENT was due to the missing component within the path (not the last component) - which must return the correct error. What this means is that with "case sensitive = yes" we do one more talloc call (to get the parent directory) and one more stat call (on the parent directory) in the case where the stat call fails. I think this is an acceptable overhead to enable case sensitive shares to return the correct error messages for applications. Volker please examine carefully :-). Jeremy.
2009-11-25Add RAW-CHKPATH test with case-sensitive share.Jeremy Allison2-0/+7
Jeremy.
2009-11-25s3-build: try to fix QNX build ("delay" is defined in lib headers).Günther Deschner1-7/+7
Guenther
2009-11-25s4/torture: port SMBv1 RAW-LOCK tests to SMBv2Steven Danneman1-20/+2012
RAW-LOCK ported as: RAW-LOCK-LOCK, RAW-LOCK-LOCKX -> SMB2-LOCK-LOCK RAW-PIDHIGH -> removed, no longer relevant RAW-ASYNC -> SMB2-LOCK-ASYNC, SMB2-LOCK-CANCEL, SMB2-LOCK-CANCEL-TDIS, SMB2-LOCK-CANCEL-LOGOFF RAW-ERRORCODE -> SMB2-LOCK-ERRORCODE RAW-CHANGETYPE -> removed, no longer relevant RAW-ZEROBYTELOCKS -> SMB2-LOCK->ZEROBYTELENGTH RAW-UNLOCK -> SMB2-LOCK-UNLOCK RAW-MULTIPLE_UNLOCK -> SMB2-LOCK-MULTIPLE-UNLOCK RAW-STACKING -> SMB2-LOCK-STACKING BASE-LOCK ported as: BASE-LOCK-LOCK1 -> SMB2-LOCK-ERRORCODE, timeout is no longer relevant BASE-LOCK-LOCK2 -> SMB2-LOCK-CONTEND, SMB2-LOCK-LOCK, SMB2-LOCK-CONTEXT BASE-LOCK-LOCK3 -> SMB2-LOCK-RANGE BASE-LOCK-LOCK4 -> SMB2-LOCK-OVERLAP BASE-LOCK-LOCK5 -> SMB2-LOCK-STACKING BASE-LOCK-LOCK6 -> SMB2-LOCK-CANCEL, change_locktype no longer relevant BASE-LOCK-LOCK7 -> SMB2-LOCK-RW-SHARED, SMB2-LOCK-RW-EXCLUSIVE
2009-11-25s4/libcli: rename previously reserved field in SMB2 LOCK structSteven Danneman6-18/+18
The lock.in.reserved field has been renamed lock_sequence in the SMB 2.1 dialect. See MS-SMB 2.2.26.
2009-11-25s4/libcli: Initialize client PID for SMB2 connectionsSteven Danneman3-0/+6
Set the SMB pid to the Unix pid of the client process.
2009-11-25s3-registry: fix REG_MULTI_SZ handling in registry_push_value.Günther Deschner1-3/+20
Catched by smbconftort test on the buildfarm. Guenther
2009-11-25s3-kerberos: add check for prerequisite krb5/krb5.h header while checking ↵Günther Deschner1-2/+7
for krb5/locate_plugin.h. (Needed for new Heimdal versions). Guenther
2009-11-25Fix bug 6892 - When a chown operation is issued via Windows Explorer, all ↵Jeremy Allison1-15/+36
ACLS are wiped out. Merges existing DACLs when a ACL set operation comes in with only owner or group values set. Jeremy.
2009-11-25Fix crash due to uninitialized pointer (not a problem in 3.4.x or below).Jeremy Allison1-2/+1
Jeremy.
2009-11-25nsswitch: fix compile of winbind_krb5_locator with recent Heimdal versions.Günther Deschner1-0/+1
Guenther
2009-11-25cifs.upcall: 2nd part of fix for Bug #6868: support building with Heimdal we ↵Günther Deschner1-0/+2
well as with MIT. Guenther
2009-11-25s3 selftest: Add RAW-SFILEINFO-END-OF-FILE to selftestTim Prouty1-1/+1
2009-11-25s3 setfileinfo: Open with FILE_WRITE_DATA when setting the file sizeTim Prouty1-1/+1
This matches what is outlined here: http://msdn.microsoft.com/en-us/library/ms804363.aspx This is also inline with how winXP/win7 handle this. See RAW-SFILEINFO-END-OF-FILE* in smbtorture4.
2009-11-25s4 torture: Change RAW-OPLOCK to use the documented version of ↵Tim Prouty1-4/+4
SET_END_OF_FILE_INFO The passtrhough version of SET_END_OF_FILE_INFO is tested in RAW-SFILEINFO-END-OF-FILE. Additionally, the first opener is changed to use SHARE_WRITE for the share mode since SET_END_OF_FILE_INFO actually writes data to the file via truncating/extending.