summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* source{3,4}/torture/smbiconv.c(main): fixed file descriptor leak.Slava Semushin2009-05-261-0/+1
| | | | | | | | | File descriptor leaks only when we use file instead of stdout. Found by cppcheck: [./source3/torture/smbiconv.c:219]: (error) Resource leak: out [./source4/torture/smbiconv.c:211]: (error) Resource leak: out (cherry picked from commit 61cca8aa5f5e3ad665c3b1acfab20802dd0f3f3a)
* s4-smbtorture: add RPC-SAMR-LARGE-DC test.Günther Deschner2009-05-262-1/+332
| | | | | | | | | This rather simple test creates 4500 objects on a domain controller and checks the enum calls for the correct number of results. Guenther (cherry picked from commit eb5e8dc82efae20c95a391a15c1264f2267e5a74) (cherry picked from commit c1dca5a5f0becdd5f7041e91245cf9d9ae0dfd13)
* s4-smbtorture: rename test_EnumDomain{Users,Groups,Aliases} in RPC-SAMR.Günther Deschner2009-05-261-11/+12
| | | | | | Guenther (cherry picked from commit a75698bdf3b62d43e4909e5bfded70f6675b2058) (cherry picked from commit b4817feb9ec5e9ac9e610fdda31dfa64295c6822)
* s4-smbtorture: re-work test_Create{User,Group,Alias} a little.Günther Deschner2009-05-261-14/+38
| | | | | | Guenther (cherry picked from commit 05e6ebb7f812eed95b8407e65cf438e04d6e3789) (cherry picked from commit 5e726f1843cd8ecb29588f6a00196354c6bc6708)
* s4 torture: Fix typoTim Prouty2009-05-261-1/+1
| | | | (cherry picked from commit 52d26c3a3a8914a608d8b318e01fee636cc83042)
* s4-smbtorture: Fix build warning in RPC-SAMR tests.Günther Deschner2009-05-261-2/+2
| | | | | | Guenther (cherry picked from commit 518666102367ce21782cb0f597c136ac125cef05) (cherry picked from commit e14d0a1b3b4875db08d967131efb4e300d22bc12)
* s4-smbtorture: add RPC-SAMR-USERS-PRIVILEGES test.Günther Deschner2009-05-262-9/+387
| | | | | | | | | This test demonstrates the independence of the lsa and samr accounts while remove a samr users that still has privileges granted. Guenther (cherry picked from commit 0a9049be872a0eaf56c1449f8b362b6d91dd781b) (cherry picked from commit 53324b397ed17a08eb093c8f98e8d645da68aac5)
* s4-selftest: match new name of RPC-SAMR-ACCESSMASK.Günther Deschner2009-05-262-2/+2
| | | | | | Guenther (cherry picked from commit c3e61b54606175858d2221e5f4a75f2fcf149631) (cherry picked from commit 198fd3f89c2ce60523c755c1917b7bca25436bf1)
* s4-smbtorture: split RPC-SAMR-ACCESSMASK into several tests.Günther Deschner2009-05-261-34/+24
| | | | | | Guenther (cherry picked from commit 675e52cde78906a63fe96e6d34aab92eb710c6b2) (cherry picked from commit 7c44471f567dc1775f5b4ebf216475b1f348c42a)
* s4-smbtorture: cosmetic cleanup for RPC-SAMR-ACCESSMASK.Günther Deschner2009-05-261-50/+50
| | | | | | Guenther (cherry picked from commit 2abdfab613b9487138612bf4ad0422ce4771d7cc) (cherry picked from commit 737ac891e0be2fafbbc1e2c60f081268b7c0c3a1)
* s4-smbtorture: skip SetMemberAttributesOfGroup in RPC-SAMR for s3 as well.Günther Deschner2009-05-261-1/+2
| | | | | | Guenther (cherry picked from commit 54d925a30469f9318717b8e6da7b433efd4efd70) (cherry picked from commit f70e7de8e1b015f790325c51cff9dc804c8b95ad)
* s4-smbtorture: Skip secdesc set calls for non-user objects in RPC-SAMR for ↵Günther Deschner2009-05-261-8/+18
| | | | | | | | | | Samba3. Note that they are skipped for all objects while testing Samba4. Guenther (cherry picked from commit 59cb8fd58d03953ea53eed70da35dd94fe10d9c4) (cherry picked from commit 9d89c70a7dfb065e0246f251e410dc96e493b03f)
* s4-smbtorture: Fix order of assert args in test_TestPrivateFunctionsDomain() ↵Günther Deschner2009-05-261-1/+1
| | | | | | | | in RPC-SAMR. Guenther (cherry picked from commit 1fb9b65921b617962dd72bf64c62fd95bfdcf326) (cherry picked from commit 4f6b20feda1940af05840ce4a46a133e628a5f06)
* s4-smbtorture: switch to use torture_context in RPC-SAMR.Günther Deschner2009-05-261-103/+131
| | | | | | Guenther (cherry picked from commit ff7ebdf317979f54fba257afb1dbfb589b33885f) (cherry picked from commit 847b21133669fb618398611bbf6ac855ee41ea2e)
* s4-smbtorture: remove trailing whitespace in RPC-SAMR.Günther Deschner2009-05-261-252/+252
| | | | | | Guenther (cherry picked from commit 0f88b3cc94edd716894ce86c0e7125298b5b6338) (cherry picked from commit 80541bd941ea52e9f97a30301c39736f53ea4a4f)
* s4-smbtorture: add very basic RPC-LSA-LOOKUPNAMES test.Günther Deschner2009-05-262-0/+67
| | | | | | Guenther (cherry picked from commit 5f015920a80a22f5486e0679f017db3a5ff9d798) (cherry picked from commit ac5adbc294eb96db658151a9d278cae0e63ff3a1)
* s4-smbtorture: add optional very simple reply checks to lsa lookup name tests.Günther Deschner2009-05-261-7/+34
| | | | | | Guenther (cherry picked from commit 7347373e7cb814d683c603ed958583ff70552a2b) (cherry picked from commit 90aac31a2db75895a1b75b8c5e4a8259938ff74b)
* s4-smbtorture: remove trailing whitespace in RPC-LSA test.Günther Deschner2009-05-261-192/+192
| | | | | | Guenther (cherry picked from commit 7672a033eff9db1203c69de422fb906504a54f77) (cherry picked from commit 983d92188dcc5ac4bc31365cea195532e40d1144)
* s4-smbtorture: use struct torture_context in RPC-LSA.Günther Deschner2009-05-261-211/+207
| | | | | | Guenther (cherry picked from commit 410f17cdebab929c68cd6d68b6e1a29ffe64e8d4) (cherry picked from commit bada15c31123c0a7c2716620c19f3a073e7c0067)
* s4-smbtorture: avoid secdesc test on connect handle in RPC-SAMR-USERS for ↵Günther Deschner2009-05-261-1/+3
| | | | | | | | | | Samba3. With this, I think, we pass RPC-SAMR-USERS. Guenther (cherry picked from commit a3873bca516e0f89302409c89910561707360d14) (cherry picked from commit 3f55201564afae5681b3530cb767da7f2b64794c)
* s4-smbtorture: skip unsupported ACB bits for Samba3 in RPC-SAMR-USER.Günther Deschner2009-05-261-4/+10
| | | | | | Guenther (cherry picked from commit 4f3bfb6261dfb9836404399db57373ef91a411bf) (cherry picked from commit 85ee8f36029deba69959aeacd68b55e676348d5f)
* s4-smbtorture: Support timestamp handling for Samba3 in RPC-SAMR-USERS.Günther Deschner2009-05-261-8/+23
| | | | | | | | Timestamps in passdb (currently) only have second granularity. Guenther (cherry picked from commit 67df4489e20f17c334544818227e905136b6f5aa) (cherry picked from commit a9c907bbc7fb6af7616e990eb1feb02bf3e844f8)
* s4-smbtorture: Fix printf info-level mismatch in RPC-SAMR.Günther Deschner2009-05-261-1/+1
| | | | | | Guenther (cherry picked from commit c2498d133db4dcb76e636661110b6432d017d13c) (cherry picked from commit aa569ecfcf9d9f6084ab171afb64fb918870958b)
* s4-smbtorture: avoid acct_flags check at the end of RPC-SAMR-PASSWORDS for ↵Günther Deschner2009-05-261-1/+4
| | | | | | | | | | Samba3. I don't get this, why would the account suddenly get ACB_PWNOTREQ ? Guenther (cherry picked from commit 310031274d8b0fdf15a5e33fccfd7b6cb81c8a50) (cherry picked from commit 7dee64aa3544057bc4d436974441052bc863fb3e)
* s4-smbtorture: prepare for running RPC-SAMR-USERS against samba3.Günther Deschner2009-05-261-16/+24
| | | | | | | | | In Samba 3 there are no pdb calls to store comments, codepages and countrycodes (yet). Guenther (cherry picked from commit 41cb06fba7126c79fe536321f2dc461e87e83076) (cherry picked from commit bcf7dbdcfde8704e8990871706904c31c008d651)
* s4-smbtorture: Avoid failing RPC-SCHANNEL when testing lsa_GetUserName ↵Günther Deschner2009-05-261-2/+8
| | | | | | | | behaviour against Samba 3. Guenther (cherry picked from commit 2cdfd67cae1ce4a08c6d42314916959ce6ef99fb) (cherry picked from commit e88dc4c58226fdbd4d6a67d2260e0b200e0a52e4)
* 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)
* Fix Coverity ID 628, Andrew B., please check!Volker Lendecke2009-04-281-1/+1
| | | | (cherry picked from commit d8703a064e70bd56b2f0ddcde73af14045deed8c)
* 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)