summaryrefslogtreecommitdiff
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* work around AIX6.1 name space pollution rename mod_name to module_nameOlaf Flebbe2011-01-131-3/+3
| | | | | Fix bug #7421 (samba 3.4.7 does not compile on AIX 6.1). (cherry picked from commit 231760282dcb1232019f62025e1e5918a940bb5b)
* s4-smbtorture: fix and extend enum printerkey test.Günther Deschner2009-12-232-15/+49
| | | | | Guenther (cherry picked from commit b1097e33ba4828d1dd7bf7409aa3880e6359c96e)
* s4-smbtorture: enhance spoolss_EnumPrinterKey torture test.Günther Deschner2009-12-231-0/+53
| | | | | | | This demonstrates that s3 still does not have that call implemented correctly. Guenther (cherry picked from commit 532376914d0852ab599a6275910ab315935f37d0)
* samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.Günther Deschner2009-12-232-32/+6
| | | | | | | | This should finally resolve the endian issues we were seeing on sparc and is much cleaner for spoolss clients and servers. Guenther (cherry picked from commit 191167fce3cb07e286c3b1cedf4fb70126e6daf7)
* s4-smbtorture: add tests for spoolss_EnumPrinterKey to RPC-SPOOLSS-PRINTER.Günther Deschner2009-12-231-0/+73
| | | | | Guenther (cherry picked from commit f190de033b9b13b5ffaaf98e86a336bc48ce84e4)
* s4-smbtorture: fix spoolss_EnumPrinterKey client in RPC-SPOOLSS-WIN.Günther Deschner2009-12-231-4/+18
| | | | | Guenther (cherry picked from commit a990887d02de6c92f7d97631bd3f04c49007df2e)
* Increase tevent version for tevent_req_notify_callback() (cherry picked from ↵Stefan Metzmacher2009-09-091-1/+1
| | | | | | commit d0aedeb46e5d2da582b5c030114186f8d755b528) (cherry picked from commit 000d2835d78b6beb6db573a1946346e01de2ff7d)
* tevent: Remove python module.Stefan Metzmacher2009-09-091-1/+0
| | | | | | | | | | | This module didn't have any functionality that we actually used yet, and it was quite small. Tevent is quite low level and perhaps doesn't make much sense to expose directly as a Python module. It was also causing build problems when used with a system-tevent. We can always back later if necessary. (cherry picked from commit 5065cf70f8bf41193d6d33413f2285f62bba0502) (cherry picked from commit 1d0e302bc49c77542fa39a18d995268e8685d141)
* Update copies of config.guess and config.sub. (cherry picked from commit ↵Jelmer Vernooij2009-09-094-152/+564
| | | | | | 6230eb94af2305f479db3b76479a0dc841c3d1d5) (cherry picked from commit c20026a9afe1527f6442e8eedf669d199d8cdb26)
* s4: disable source4 directory for the 3.4.x releasesStefan Metzmacher2009-09-032-275/+10
| | | | | | metze (cherry picked from commit 6ced4bcadf05578bba83cb061310ad4dcf1e9c94) (cherry picked from commit f97a1a0d3b708872534c85dbc5ae53215577057c)
* s4 torture: Extend the RAW-RENAME test to more fully test directory renames.Tim Prouty2009-08-131-0/+50
| | | | | | | | | | The existing test was only covering files opened underneath the directory that was being renamed. It is not uncommon for windows clients to actually hold a read-only handle to a directory open across the rename, which it turns out doesn't return NT_STATUS_ACCESS_DENIED. Additionally, holding a handle open to a stream on the directory is also allowed. (cherry picked from commit 80cedd944c3bcee7fe44787c9730b564b2d86726)
* s3:torture: fix password timestamp checks on NetBSDBjörn Jacke2009-06-111-1/+1
| | | | | | | | | | The Open Group says: "The useconds argument [of usleep] must be less than 1,000,000." NetBSD takes this seriously. usleep of more than 999999 are effectless. (cherry picked from commit b3491df2f9db2c550845243975ddbf0a2f9658e6) (cherry picked from commit 50f362e294d5a507d03fd54d1d976f40a935288f)
* 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)