summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* Try to fix up part of the upgrade test.Andrew Bartlett2008-03-073-22/+23
| | | | | | | | There are still problems with the upgrade test, but these are not related to the provision system. Andrew Bartlett (This used to be commit d331bc400fb138bc43be88d0ca8ab3bcd590d2cd)
* Rework provision scripts for more testingAndrew Bartlett2008-03-078-32/+41
| | | | | | | | | | | | | | | This fixes up some issues with testdir (was not honoured) and increases test coverage. We now check all the major provision modes. In doing so, to make it possible to call from the multiple layers of 'sh', I have allowed 'dc' to alias 'domain controller' and 'member' to alias 'member server'. Fighting shell quoting in the test system was just too hard... Also fix upgrade.py Andrew Bartlett (This used to be commit 0923de12282b0e063dd73bc3e056dd5c3663c190)
* Fixup the NET-API-USERMOD test.Andrew Bartlett2008-03-072-5/+5
| | | | | | | | | This test needed to be updated to handle the fact that you cannot clear the ACB_PW_EXPIRED bit, and to always use the torture comment functions (not printf directly). Andrew Bartlett (This used to be commit 2211476bbb3d8e5bca9659e886e559a36f40aff4)
* Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-localAndrew Bartlett2008-03-0729-521/+648
|\ | | | | | | (This used to be commit a6997c333cdd68dfba8a069df448836ff487787f)
| * Ignore Kerberos PAC type 12.Günther Deschner2008-03-061-5/+6
| | | | | | | | | | | | | | | | | | Until we worked out the PAC_TYPE_UNKNOWN_12 format (or received documentation) ignore it so that the PAC parsing can proceed. Guenther (cherry picked from commit 3630ec26c99fdea46c47117d026f9bffb2c4590a) (This used to be commit 0c1ccbc183c1d2967da2d9a17033f3b116ff7387)
| * Slowly making progress on PAC_UNKNOWN_12.Günther Deschner2008-03-061-3/+3
| | | | | | | | | | | | | | | | unknown1 and unknown2 are offset headers for the strings. Guenther (cherry picked from commit 7af70e75b9abf92921f33ec4207ad486ee2493d6) (This used to be commit ad19da7f83761948f379921560da34bb6a01e625)
| * Add new Windows 2008 Kerberos PAC Type 12 (apparently again undocumented).Günther Deschner2008-03-061-1/+16
| | | | | | | | | | | | | | | | | | We need at least to parse this in order to correctly support kerberized session setup from w2k8 as well as local pam_winbind logons using kerberos. Guenther (cherry picked from commit 4ba62d49d740c43cf17ceef1534cf1c8a7e4a130) (This used to be commit ef0971206cda598e6bfad2ff06a3d2e9e8131682)
| * RAW-OPLOCK: rename _ack_to_levelII() -> ack_to_given()Stefan Metzmacher2008-03-061-61/+75
| | | | | | | | | | | | | | Also improve the output. metze (This used to be commit d0b641a9ee36939468beb427bf6b15892342a33d)
| * RAW-OPLOCK: add BATCH24 test another case with a connection with no ↵Stefan Metzmacher2008-03-061-0/+77
| | | | | | | | | | | | | | CAP_LEVEL_II_OPLOCKS metze (This used to be commit 4fb2c9fb1f4e3ee23281ca83f8b91d252cbf53c7)
| * RAW-OPLOCK: add BATCH23 and test with a connection with no CAP_LEVEL_II_OPLOCKSStefan Metzmacher2008-03-061-0/+121
| | | | | | | | | | metze (This used to be commit 2192d6d2bda2afd2ba1ed0cb68bdfe590b9d50af)
| * RAW-OPLOCK: remove unused varsStefan Metzmacher2008-03-061-3/+0
| | | | | | | | | | metze (This used to be commit 0905f3ebd1cb1ac9cefc4272208add9e5a8d7f59)
| * pvfs_open: pass down allow_level_II_oplock to odb_open_file()Stefan Metzmacher2008-03-061-4/+16
| | | | | | | | | | metze (This used to be commit 7c9b269b0742d435055e21f7e6cc945c21c7e332)
| * opendb: add allow_level_II_oplock parameter to odb_open_file()Stefan Metzmacher2008-03-065-12/+27
| | | | | | | | | | | | | | Not all clients support a fallback to level II oplocks. metze (This used to be commit 146f1fe0b67ca0805f0e71358abc57da0c0579a9)
| * pvfs_open: fix crash/leak in case pvfs_setup_oplock() failsStefan Metzmacher2008-03-061-6/+5
| | | | | | | | | | metze (This used to be commit 5563238782e825f64a22b5f9e0a7deb687f50b19)
| * ntvfs: pass down the client capabilities into the ntvfs layerStefan Metzmacher2008-03-066-0/+30
| | | | | | | | | | | | | | | | | | | | | | Note that we don't use any protocol specific values here. For now only NTVFS_CLIENT_CAP_LEVEL_II_OPLOCKS is defined others should be defined, when we find out that the ntvfs layer needs to know about it. metze (This used to be commit cc42cd5f6753ca582677fa6f403f0419eec5ab10)
| * libcli/raw: make it possible to not send CAP_LEVEL_II_OPLOCKSStefan Metzmacher2008-03-063-5/+9
| | | | | | | | | | | | | | | | But the keep the default to always send it when the server supports it too. metze (This used to be commit 33caaef2e46557525a8ffb79d6dd0db46a079529)
| * Fix typoAndrew Bartlett2008-03-061-1/+1
| | | | | | | | (This used to be commit e66be2f519584717abd7fc1f069bf7afe0d7ff60)
| * Ensure we get this option from the command line, not the internalAndrew Bartlett2008-03-061-1/+2
| | | | | | | | | | | | | | smb.conf we generate. Andrew Bartlett (This used to be commit 25887c87285b1b92ce5d7cc096da483c25a2fe6c)
| * Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartletAndrew Bartlett2008-03-064-62/+308
| |\ | | | | | | | | | (This used to be commit 2232255ce384433ff9626f2fd3d399f758b0add5)
| * | Make Samba4 pass the NET-API-BECOMEDC test against Win2k3 (again).Andrew Bartlett2008-03-0612-434/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make Samba4, using the python provision system, pass this test required some major rework. Untested code is broken code, and some of the refactoring for a seperate provision test (which also now passes) broke things. Similarly, the iconv work has compiled, but these codepaths have never been run (NULL pointer de-reference). In working to use a local, rather than global, loadparm context, and to support using a target directory, a few things needed to be reworked, particularly around path handling. Andrew Bartlett (This used to be commit 1169e8d7bee20477b0efbfea3534ac63c83fb3d6)
* | | Start to rework provision for LDAP backendsAndrew Bartlett2008-03-072-2/+16
| |/ |/| | | | | | | | | | | | | | | | | This is the start of the rework of the provision script to handle an LDAP backend correctly. For example, we must not set the 'tdb modules' against an LDAP backend such as OpenLDAP that handles subtree renames. Andrew Bartlett (This used to be commit e462a107d3bafcc546ca4d53dcc8eb32e4280745)
* | ldb_wrap: Debug at derived samba_level, not the level of the ldb debug enum.Andrew Kroeger2008-03-061-1/+1
| | | | | | | | (This used to be commit eb9a7c3b3a7f113ff58e2ebea9886f997da4e085)
* | selftest: use the same oplocktimeout for smbtorture as for smbdStefan Metzmacher2008-03-041-1/+1
| | | | | | | | | | metze (This used to be commit 18e27aef7be9b21f65f72ab4c656778ce0c23953)
* | RAW-OPLOCK: add BATCH22 and test the behavior of oplock break timeoutsStefan Metzmacher2008-03-041-0/+118
| | | | | | | | | | metze (This used to be commit c459885898c9912df1ae5afff4fef2ff809dc15e)
* | RAW-OPLOCK: add BATCH21: a self write with an oplock doesn't break itStefan Metzmacher2008-03-041-0/+70
| | | | | | | | | | metze (This used to be commit a5476ee41c140123db160b2e36c8c7084619a738)
* | pvfs_oplock: auto release oplocks after a timeoutStefan Metzmacher2008-03-041-6/+61
| | | | | | | | | | | | | | | | | | | | | | | | Remember that we sent an oplock break to a client and don't resend. If the filesystem layer tries to send a new break and the client has not released after a former oplock break after the timeout interval, we need to auto release the oplock. metze (This used to be commit bfb0888578677856b2b6b72471f542d0d5d7b838)
* | pvfs_oplock: only a break level2 oplocks...Stefan Metzmacher2008-03-041-11/+1
| | | | | | | | | | | | | | It seems that I've tested this in the wrong way before. metze (This used to be commit 21772fa33d772a9df6ff04a0ed1b0d8f4f533295)
* | pvfs_oplock: move pvfs_oplock_release() parts into a helper functionStefan Metzmacher2008-03-041-43/+56
|/ | | | | metze (This used to be commit 2b8934e4ab2dd9673928a6c9a291aedac1ebaa95)
* build: fix the build with --enable-automatic-dependencies=yesStefan Metzmacher2008-03-042-3/+3
| | | | | metze (This used to be commit b0ecd8f8d2c1ebf23957921f4852e90b556812fc)
* Try to return sane ldb error stringsAndrew Bartlett2008-03-041-1/+10
| | | | | | | We don't just want to return just strerror(ret) when things go wrong. Andrew Bartlett (This used to be commit 7f0341dd589150ab01563957460cdcf42515cadc)
* The DN in objectCategory should, if possible, be returned pretty...Andrew Bartlett2008-03-042-2/+10
| | | | | | | This avoids going via the canonicalise_fn(), which will upper case the DN Andrew Bartlett (This used to be commit cdff1b0802437d713652b89f4522d3cce97c30ec)
* Don't hardcode objectCategory into the schema, even in the schema.Andrew Bartlett2008-03-041-545/+0
| | | | | | | We now load the schema early enough that we can generate this too! Andrew Bartlett (This used to be commit 1adc74c65a3219fc110964ccdf9a9d60a84831da)
* Fix failure to re-provision.Andrew Bartlett2008-03-033-10/+21
| | | | | | | | | Somewhere in the conversion from ejs we lost calling the 'delete partitions' code. However, we have to be careful not to wipe partitions when we are the second client connecting to an LDAP server. Andrew Bartlett (This used to be commit 272eb765b81e3eab216a07249334f9b7d20e530b)
* Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-localAndrew Bartlett2008-03-036-142/+383
|\ | | | | | | (This used to be commit de1784ec4d50f6eec24b1e9e488b5c07833dc1fd)
| * Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testJelmer Vernooij2008-03-031-34/+49
| |\ | | | | | | | | | (This used to be commit 3d4cbaeec6eafc0fec06ba472ac2bd55ae3a0d11)
| * \ Merge branch 'v4-0-test' into id10ts-registryJelmer Vernooij2008-03-03185-1548/+2911
| |\ \ | | | | | | | | | | | | (This used to be commit f98b59021a5ea39c7970ebc5520d17775e500b8c)
| * | | samba4-knownfail: Only the "*-security" rpc-winreg tests are expected to fail.Andrew Kroeger2008-02-261-1/+1
| | | | | | | | | | | | | | | | (This used to be commit 67facda6368eeda88d312f2836a1fdae4a1f605a)
| * | | torture/rpc-winreg: Split out the security descriptor tests.Andrew Kroeger2008-02-261-56/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The security descriptor functionality has not been implemented yet. Now that the other tests run successfully, the security descriptor tests have been split out so they can be separately marked as knownfail. The tests that test security descriptor functionality are named "*-security", while those that don't are named "*-basic". (This used to be commit 7b7aec9a2f0a684bb27761df71af506cce244b2c)
| * | | torture/rpc-winreg: Modify test cases to work with recursive key deletion.Andrew Kroeger2008-02-261-43/+0
| | | | | | | | | | | | | | | | (This used to be commit 3885acdee6fa3ec33cf4824826c2b8a98721382c)
| * | | torture/rpc-winreg: General fixes for a number of tests.Andrew Kroeger2008-02-261-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleaned up issues with tests being run without the correct state being setup. Also corrected an issue with a test expecting the wrong return value to indicate a successful test run. (This used to be commit d015e595ca82f8fd3941753c00a2f3d816300be9)
| * | | registry: Add an explicit test for recursive deletion.Andrew Kroeger2008-02-261-0/+37
| | | | | | | | | | | | | | | | (This used to be commit 5e905804993df4c2ac28090d056e6db6bb63ac44)
| * | | registry: Implement recursive deletes for regf-backed registry.Andrew Kroeger2008-02-261-4/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When deleting a registry key that contains subkeys or values, Windows performs a recursive deletion that removes any subkeys or values. This update makes deletes for an regf-backed registry consistent with Windows. The regf-backed registry does not have transactional integrity when performing multiple operations. Therefore, if an error occurs during the recursive deletion, the regf-backed registry may be left in an inconsistent state. (This used to be commit b0321bad290d1a9399b4aba140a622e3af6d7575)
| * | | registry: Implement recursive deletes for dir-backed registry.Andrew Kroeger2008-02-261-6/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When deleting a registry key that contains subkeys or values, Windows performs a recursive deletion that removes any subkeys or values. This update makes deletes for an dir-backed registry consistent with Windows. The dir-backed registry relies on the underlying filesystem, which does not generally have transactional integrity when performing multiple operations. Therefore, if an error occurs during the recursive deletion, the dir-backed registry may be left in an inconsistent state. (This used to be commit 6b5fbf7e4e38342bcd80e63f46cd295f89ab1ee9)
| * | | registry: Implement recursive deletes for ldb-backed registry.Andrew Kroeger2008-02-261-27/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When deleting a registry key that contains subkeys or values, Windows performs a recursive deletion that removes any subkeys or values. This update makes deletes for an ldb-backed registry consistent with Windows. Under ldb, the deletion is done using an explicit transaction. If an error occurs during the deletion the entire transaction is cancelled, leaving the registry as it was before the deletions started. (This used to be commit ca796c8fb10598674a5eef31d15863e79bcf3db8)
* | | | Fix member server provisionDouglas VanLeuven2008-03-031-1/+1
| |_|/ |/| | | | | | | | | | | | | | | | | Can't add "member server" because the script aborts with null reference when no match on serverrole. This is fixed by checking for the keyword "member server". (This used to be commit 62536750ae06248a49c6b56c86d01b0062bb54f0)
* | | Fix blackbox.kinit test by issuing new certificates good for 25 years.Andrew Kroeger2008-03-021-34/+49
| |/ |/| | | | | (This used to be commit 4f40c5940b4aa4343152cf367566d4d26765e234)
* | Some cleanups for the ldb doxygen docs.Brad Hards2008-03-021-10/+12
| | | | | | | | (This used to be commit 5972308add8b1078e190beab204c1ba4b3a25747)
* | Remove unused variable, fix (80, 'Other error') exceptions from ldb python ↵Jelmer Vernooij2008-03-012-4/+4
| | | | | | | | | | | | bindings (This used to be commit 2303063cbd2e65580618124ef8ecf42867d2b952)
* | Fix error handling in ldb.add().Jelmer Vernooij2008-03-012-161/+81
| | | | | | | | (This used to be commit a7f89b5bb28601597a4a0f75ec2b97bac02370d9)
* | Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testJelmer Vernooij2008-03-012-17/+13
|\ \ | | | | | | | | | (This used to be commit cfd1a91c6e319bc28a60bb6aae4443b1246500cb)