summaryrefslogtreecommitdiffstats
path: root/source4/torture
Commit message (Collapse)AuthorAgeFilesLines
* s4-smbtorture: add test_ControlService() to RPC-SVCCTL.Günther Deschner2009-04-281-0/+34
| | | | | | Guenther (cherry picked from commit a263eaca499cf2b8a89c3ab04c6ef5e7e9aea396) (cherry picked from commit d9d4e769a4d4a2978656ef77e9e91308152a9483)
* s4-smbtorture: add test_StartServiceW() to RPC-SVCCTL.Günther Deschner2009-04-281-0/+34
| | | | | | Guenther (cherry picked from commit f926a4e390e7108dad36ecfffaddb628b23436c0) (cherry picked from commit 16f3e855d056e5951fa6136a61c13d09fa9a74c1)
* s4-smbtorture: change default service to spooler in RPC-SVCCTL.Günther Deschner2009-04-281-1/+1
| | | | | | Guenther (cherry picked from commit ae5dd1219a14e939cb1e3674e6daba7885cc9d51) (cherry picked from commit f783489d73d044433b911c673acca0aaf0fb70c8)
* s4-smbtorture: test all levels in test_GetJob().Günther Deschner2009-04-281-8/+23
| | | | | | Guenther (cherry picked from commit 5f0c9c57f53f9b0026b4f58f68442a72103c0d7d) (cherry picked from commit feec2a814ee09800c26ae4c1f637796737b7ad2a)
* s4-smbtorture: Skip Job pause and resume on paused printers for Samba 3 for now.Günther Deschner2009-04-281-2/+6
| | | | | | Guenther (cherry picked from commit fe2828c3536eac18902a059049dd12b9b103f731) (cherry picked from commit 4c3b05d8486ddff87ed665d9b37f6bc47fc2a96b)
* s4-smbtorture: rework test_EnumPrinterDrivers() a little to succeed with s3.Günther Deschner2009-04-281-10/+13
| | | | | | | | Yes, I feel dirty for this but promise to come back and fix appropriately. Guenther (cherry picked from commit cb9c0cefaf61cf2c03f92a212dbf6673caa755dd) (cherry picked from commit f070e1d305f1b5abc9bc8f87ed552dbf9c1ea293)
* s4-smbtorture: Fix RPC-SPOOLSS-WIN for printers with a lot of jobs in the queue.Günther Deschner2009-04-281-0/+7
| | | | | | Guenther (cherry picked from commit 81253ec14623ed480905433e5bf5df7982cfbfa4) (cherry picked from commit 17c2e74370a9f748e33371c2a15597c415b50c1e)
* s4-smbtorture: disable CreateUser2 tests when running RPC-SAMR-PASSWORDS-PWDLASTGünther Deschner2009-04-281-1/+3
| | | | | | | | | | against Samba3. Samba 3 does not (yet) get all the ACB_flag settings right upon creation. Guenther (cherry picked from commit 32add69632ed4a2b877043c8df1185008516c299) (cherry picked from commit 93f4a4f89448f33dbcf67ebb92fd94e65579b3c4)
* s4-smbtorture: add LSA-LOOKUPSIDS to verify bug #6263.Günther Deschner2009-04-282-0/+89
| | | | | | Guenther (cherry picked from commit c794ba71b762676c1cfe1eba40b4a254f16ad06a) (cherry picked from commit e9af8e25f2c65decaf1a9e3c452c1a4c38042b48)
* s4-smbtorture: Fix crash in RPC-LSA-LOOKUPGünther Deschner2009-04-281-0/+2
| | | | | | Guenther (cherry picked from commit b0a0d2a0ae16929efa392705c3d7823da16f4d55) (cherry picked from commit a0c16dbb46ef334126db771d7adb908d822eac6d)
* s4-smbtorture: Fix crash bugs in RPC-SAMR_ACCESSMASK.Günther Deschner2009-04-281-7/+15
| | | | | | | | Also disable security descriptor based tests while testing samba3. Guenther (cherry picked from commit e6aa3f2d09bd004341dde28b15ef769a09401f26) (cherry picked from commit 148fa23d95af164babd9135fc40d528ec147e372)
* s4-smbtorture: define TORTURE_DEFAULT_SERVICE and set to netlogon.Günther Deschner2009-04-281-6/+8
| | | | | | Guenther (cherry picked from commit f1fd39c09f0e094c882775367b1e4c5772d7ee51) (cherry picked from commit 9c914cf1bd4ce2d7abba6a4e94e393cb930f259e)
* s4-smbtorture: make sure samba3 does not regress in EnumServicesStatusW call.Günther Deschner2009-04-151-0/+3
| | | | | | Guenther (cherry picked from commit a2ef1fee69771f58c27604ef213405031f42ff96) (cherry picked from commit 3368cd38f710b9d21a3382bfd8971f0f6517eec1)
* s4-smbtorture: print SPOOLSS_JOB_CONTROL flags in RPC-SPOOLSS test.Günther Deschner2009-04-151-1/+32
| | | | | | Guenther (cherry picked from commit 4a2dfbf3c94c8fc4c2cbcbea3b138c5a9674f951) (cherry picked from commit f78af6c1f1bab5299ef286ada2477e849cf5ba97)
* s4-smbtorture: fix two valgrind warnings.Günther Deschner2009-04-151-0/+2
| | | | | | Guenther (cherry picked from commit 1dbb6530fa044fbbc65409238b5b57dfd0e850a3) (cherry picked from commit 4a12f9e09355236fc2d50651177197fc68b075e0)
* s4-smbtorture: disable test_SecondaryClosePrinter when running against s3 ↵Günther Deschner2009-04-151-4/+8
| | | | | | | | for now. Guenther (cherry picked from commit 56f5105400e1eda7baf5babe7ad1e608d0ffa04b) (cherry picked from commit 677b57deeb96e3e4c2b604abca29b6a49471fc01)
* s4-smbtorture: move test_ReplyOpenPrinter from RPC-SPOOLSS to ↵Günther Deschner2009-04-152-36/+36
| | | | | | | | RPC-SPOOLSS-NOTIFY. Guenther (cherry picked from commit 0f76e2d0bd8120d27ec6b782da6fb63407012fa2) (cherry picked from commit 03b5a3dd11c7e7300acf1c07d25c4374802d4fc5)
* s4-smbtorture: use printerinfo level 1 name, not description inGünther Deschner2009-04-151-4/+11
| | | | | | | | test_EnumPrinters_old(). Guenther (cherry picked from commit 81aca44d30783d1c162498a257fc47cc44a649fb) (cherry picked from commit 9948d33049864436bb2bb9b444822458c19156c8)
* s4-smbtorture: perform the ntsvcs devicelist tests against the Spooler service.Günther Deschner2009-04-151-18/+38
| | | | | | Guenther (cherry picked from commit c0b71db8e155c1d5e09b5be23ea681fd90955ac7) (cherry picked from commit b2d3a08c8f9f091fb3f9576d892ec2c80bb64a62)
* s4-smbtorture: add test_EnumDependentServicesW() to RPC-SVCCTL.Günther Deschner2009-04-151-1/+66
| | | | | | Guenther (cherry picked from commit 693c2e95294909292cd28982983681ea24912d28) (cherry picked from commit 09397f1889db4957218d780117b6ce312f03e638)
* s4-smbtorture: add test_QueryServiceObjectSecurity() to RPC-SVCCTL test.Günther Deschner2009-04-151-0/+55
| | | | | | Guenther (cherry picked from commit 1632a4ebabc7414c8fd05084cd7ca83fb9233297) (cherry picked from commit 658c00828f825c0a2ec8ed062dabe4c433811a75)
* s4-smbtorture: add test_QueryServiceConfigW() to RPC-SVCCTL.Günther Deschner2009-04-151-0/+44
| | | | | | Guenther (cherry picked from commit 9945d15a5d184dc9a809072b7c01e5ddff96d26b) (cherry picked from commit d837e55bf9e267ac42686b23d27ca81eaafb7ec7)
* s4-smbtorture: add test_QueryServiceStatus() to RPC-SVCCTL.Günther Deschner2009-04-151-0/+32
| | | | | | Guenther (cherry picked from commit 544113f9dd97b183bb510b92cf7626d93ac9bcf8) (cherry picked from commit 1d7a9c156602912c9935ed1da5dd67c1e0794952)
* s4-smbtorture: fix test_ReportEventLog in RPC-EVENTLOG.Günther Deschner2009-04-151-2/+3
| | | | | | Guenther (cherry picked from commit 0be30e8ced4fd9a3afb72ee211cdcd2a66709f13) (cherry picked from commit e763c0a1a6fb8e578d9506ea79761800216863f6)
* s4-smbtorture: Small fix for RPC-SPOOLSS-WIN to deal with driver-less printers.Günther Deschner2009-04-151-3/+15
| | | | | | | | | The getdriver query failure should only be critical when there is actually a driver associated to a printer. Guenther (cherry picked from commit 1f6646e1351b00c55498fcfb809e9762f4d67c22) (cherry picked from commit b43c0aad591f56480e32f5920dc0a4cd50f43bb8)
* svcctl: use offered/needed for buffer sizes as in spoolss.Günther Deschner2009-04-151-22/+22
| | | | | | Guenther (cherry picked from commit 8e3145e55194cfef56fa792edbed724ef4bf111a) (cherry picked from commit ee6fe209ef2df223434faddc9b0e5ade7a677234)
* s4-smbtorture: fix spoolss notify test after spoolss_Field changes.Günther Deschner2009-04-151-4/+4
| | | | | | Guenther (cherry picked from commit 9744a7058c1f4805c9ca12080fd8ccffe3a038b8) (cherry picked from commit d63021ec7bc1b0dcfa500c258116bca268f71079)
* s4-smbtorture: fix spoolss_EnumPrinterKey callers in RPC-SPOOLSS-WIN test.Günther Deschner2009-04-151-23/+12
| | | | | | | | Kai, please check. Guenther (cherry picked from commit 342b436691a99fc6c4fb6606e7148e5c7ddd56c1) (cherry picked from commit 9575c97439c0e691f87a6cb094bdc5c9d464c3ce)
* s4-smbtorture: fix spoolss_EnumPrinterDataEx tests.Günther Deschner2009-04-152-3/+4
| | | | | | | | sorry, I could swear this did compile... Guenther (cherry picked from commit 6e52c232c7c761a7b7d0ea4ec94214f580a481a7) (cherry picked from commit 513642018acf1c3690bc35e1d0c6f52177ef511c)
* s4-smbtorture: fix spoolss notify test for notify type changes.Günther Deschner2009-04-151-2/+2
| | | | | | Guenther (cherry picked from commit fac7208273a24fa35d3274df28aea3bb87374861) (cherry picked from commit 37141ad861d0bd4c215350c7611132a40748a8bf)
* s4-smbtorture: fix test_EnumPrinterKey.Günther Deschner2009-04-151-4/+4
| | | | | | Guenther (cherry picked from commit 87d97ad0422c771ea575e9a5e68d0d2e5bfe25be) (cherry picked from commit feb34c437c33b99f1ee18a5cbda7bd9157839652)
* s4-smbtorture: fix RPC-SPOOLSS test after PrinterData changes.Günther Deschner2009-04-152-8/+9
| | | | | | Guenther (cherry picked from commit 0e2139c6936b28015a8a2a539810c2bd7821d36f) (cherry picked from commit 2e91b3abbe9cb2451ed363d98e987f8ed89ed63b)
* s4-smbtorture: fix test_GetPrinterData tests after out pointer changes.Günther Deschner2009-04-152-1/+5
| | | | | | Guenther (cherry picked from commit c6e3e5eabc6de32117ce7d5403948e9ab739e4eb) (cherry picked from commit 4aa8510e8f300b677c7e2b367e6768946d44ed75)
* s4-smbtorture: fix build warning in test_EnumPrintProcDataTypes.Günther Deschner2009-04-151-1/+1
| | | | | | Guenther (cherry picked from commit ec0c6e1617ea1d8a41ee4677ae270ede38024f2a) (cherry picked from commit 8a9f1cf71d9b74a272612bf82f27c2f18766d136)
* LDAP-BENCH-CLDAP: also test CLDAP rootdse searches.Stefan Metzmacher2009-03-111-6/+79
| | | | metze
* added a test that triggers a bug in the Samba3 notify codeAndrew Tridgell2009-03-101-0/+169
| | | | | | The Samba3 internal notify code doesn't work correctly when there is more than one tree connect to the same smbd process. This change to the RAW-NOTIFY test triggers the bug.
* s4-smbtorture: add test_EnumPrintProcDataTypes to RPC-SPOOLSS test.Günther Deschner2009-03-071-0/+52
| | | | Guenther
* s4-smbtorture: exit early in test_EnumPorts when no port info has been returned.Günther Deschner2009-03-061-0/+2
| | | | Guenther
* s4-smbtorture: fix s3 flavor rpc spoolss test.Günther Deschner2009-03-061-0/+2
| | | | Guenther
* s4-smbtorture: fix RPC-SPOOLSS-WIN.Günther Deschner2009-03-061-1/+7
| | | | Guenther
* s4-smbtorture: fix RPC-SPOOLSS test after enum out info pointer changes.Günther Deschner2009-03-061-18/+30
| | | | Guenther
* Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij2009-03-013-5/+5
|
* s4: Use same function signature for convert_* as s3.Jelmer Vernooij2009-03-014-12/+12
|
* Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij2009-03-014-5/+5
| | | | consistency with Samba 3.
* And the prize for the most pain caused in the build farm for a simpleJeremy Allison2009-02-271-1/+1
| | | | | | | | | | | | typo goes to..... Tim Prouty !!!! Sorry Tim, nice test but you made a typo in passing in the size of an array so we were reading uninitialized memory :-). That took far longer than it should have to track down... (%$&#ing build system....). The build farm should now slowly go back to normal. Jeremy.
* Add another torture test inspired by George @ Apple.Jeremy Allison2009-02-261-0/+86
| | | | | | | | | | | | | | | | | | Inside a directory, keep a file open and then renaming the directory should fail with ACCESS_DENIED. This is connected to the test case where the close was failing due to a delayed write on a file not being able to succeed when Samba allowed the containing directory to be renamed. I will fix this in the server shortly (this should be done across connections also but with will be very hard in Samba - would need a full scan of the open file db on every directory rename) - so I will fix for the local case first (scanning local file opens inside an smbd is cheap). Jeremy.
* s4-smbtorture: add test_AddJob test to RPC-SPOOLSS test.Günther Deschner2009-02-251-0/+29
| | | | Guenther
* s4-smbtorture: expand RPC-SPOOLSS enumform and getform tests for level 2 forms.Günther Deschner2009-02-251-32/+42
| | | | Guenther
* s4-smbtorture: add test_GetPrintProcessorDirectory to RPC-SPOOLSS.Günther Deschner2009-02-251-0/+64
| | | | Guenther
* Added torture test from a usage case from the Apple OS/X client.Jeremy Allison2009-02-241-0/+119
| | | | | | Setting an attribute on a stream fnum must change the attribute on the base file. Jeremy.