summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* work around AIX6.1 name space pollution rename mod_name to module_nameOlaf Flebbe2010-05-121-3/+3
| | | | Fix bug #7421 (samba 3.4.7 does not compile on AIX 6.1).
* s4-smbtorture: fix and extend enum printerkey test.Günther Deschner2009-12-142-15/+49
| | | | Guenther
* s4-smbtorture: enhance spoolss_EnumPrinterKey torture test.Günther Deschner2009-12-141-0/+53
| | | | | | This demonstrates that s3 still does not have that call implemented correctly. Guenther
* samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.Günther Deschner2009-12-142-32/+6
| | | | | | | This should finally resolve the endian issues we were seeing on sparc and is much cleaner for spoolss clients and servers. Guenther
* s4-smbtorture: add tests for spoolss_EnumPrinterKey to RPC-SPOOLSS-PRINTER.Günther Deschner2009-12-141-0/+73
| | | | Guenther
* s4-smbtorture: fix spoolss_EnumPrinterKey client in RPC-SPOOLSS-WIN.Günther Deschner2009-12-141-4/+18
| | | | Guenther
* Increase tevent version for tevent_req_notify_callback() (cherry picked from ↵Stefan Metzmacher2009-09-091-1/+1
| | | | commit d0aedeb46e5d2da582b5c030114186f8d755b528)
* 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)
* Update copies of config.guess and config.sub. (cherry picked from commit ↵Jelmer Vernooij2009-09-094-152/+564
| | | | 6230eb94af2305f479db3b76479a0dc841c3d1d5)
* s4: disable source4 directory for the 3.4.x releasesStefan Metzmacher2009-09-032-275/+10
| | | | | metze (cherry picked from commit 6ced4bcadf05578bba83cb061310ad4dcf1e9c94)
* s4 torture: Extend the RAW-RENAME test to more fully test directory renames.Tim Prouty2009-08-111-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.
* s3:torture: fix password timestamp checks on NetBSDBjörn Jacke2009-06-051-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)
* source{3,4}/torture/smbiconv.c(main): fixed file descriptor leak.Slava Semushin2009-05-251-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
* s4-smbtorture: add RPC-SAMR-LARGE-DC test.Günther Deschner2009-05-252-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)
* s4-smbtorture: rename test_EnumDomain{Users,Groups,Aliases} in RPC-SAMR.Günther Deschner2009-05-251-11/+12
| | | | | Guenther (cherry picked from commit a75698bdf3b62d43e4909e5bfded70f6675b2058)
* s4-smbtorture: re-work test_Create{User,Group,Alias} a little.Günther Deschner2009-05-251-14/+38
| | | | | Guenther (cherry picked from commit 05e6ebb7f812eed95b8407e65cf438e04d6e3789)
* s4 torture: Fix typoTim Prouty2009-05-181-1/+1
|
* s4-smbtorture: Fix build warning in RPC-SAMR tests.Günther Deschner2009-05-191-2/+2
| | | | | Guenther (cherry picked from commit 518666102367ce21782cb0f597c136ac125cef05)
* s4-smbtorture: add RPC-SAMR-USERS-PRIVILEGES test.Günther Deschner2009-05-182-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)
* s4-selftest: match new name of RPC-SAMR-ACCESSMASK.Günther Deschner2009-05-132-2/+2
| | | | | Guenther (cherry picked from commit c3e61b54606175858d2221e5f4a75f2fcf149631)
* s4-smbtorture: split RPC-SAMR-ACCESSMASK into several tests.Günther Deschner2009-05-131-34/+24
| | | | | Guenther (cherry picked from commit 675e52cde78906a63fe96e6d34aab92eb710c6b2)
* s4-smbtorture: cosmetic cleanup for RPC-SAMR-ACCESSMASK.Günther Deschner2009-05-131-50/+50
| | | | | Guenther (cherry picked from commit 2abdfab613b9487138612bf4ad0422ce4771d7cc)
* s4-smbtorture: skip SetMemberAttributesOfGroup in RPC-SAMR for s3 as well.Günther Deschner2009-05-121-1/+2
| | | | | Guenther (cherry picked from commit 54d925a30469f9318717b8e6da7b433efd4efd70)
* s4-smbtorture: Skip secdesc set calls for non-user objects in RPC-SAMR for ↵Günther Deschner2009-05-121-8/+18
| | | | | | | | | Samba3. Note that they are skipped for all objects while testing Samba4. Guenther (cherry picked from commit 59cb8fd58d03953ea53eed70da35dd94fe10d9c4)
* s4-smbtorture: Fix order of assert args in test_TestPrivateFunctionsDomain() ↵Günther Deschner2009-05-121-1/+1
| | | | | | | in RPC-SAMR. Guenther (cherry picked from commit 1fb9b65921b617962dd72bf64c62fd95bfdcf326)
* s4-smbtorture: switch to use torture_context in RPC-SAMR.Günther Deschner2009-05-121-103/+131
| | | | | Guenther (cherry picked from commit ff7ebdf317979f54fba257afb1dbfb589b33885f)
* s4-smbtorture: remove trailing whitespace in RPC-SAMR.Günther Deschner2009-05-121-252/+252
| | | | | Guenther (cherry picked from commit 0f88b3cc94edd716894ce86c0e7125298b5b6338)
* s4-smbtorture: add very basic RPC-LSA-LOOKUPNAMES test.Günther Deschner2009-05-112-0/+67
| | | | | Guenther (cherry picked from commit 5f015920a80a22f5486e0679f017db3a5ff9d798)
* s4-smbtorture: add optional very simple reply checks to lsa lookup name tests.Günther Deschner2009-05-111-7/+34
| | | | | Guenther (cherry picked from commit 7347373e7cb814d683c603ed958583ff70552a2b)
* s4-smbtorture: remove trailing whitespace in RPC-LSA test.Günther Deschner2009-05-111-192/+192
| | | | | Guenther (cherry picked from commit 7672a033eff9db1203c69de422fb906504a54f77)
* s4-smbtorture: use struct torture_context in RPC-LSA.Günther Deschner2009-05-111-211/+207
| | | | | Guenther (cherry picked from commit 410f17cdebab929c68cd6d68b6e1a29ffe64e8d4)
* s4-smbtorture: avoid secdesc test on connect handle in RPC-SAMR-USERS for ↵Günther Deschner2009-05-091-1/+3
| | | | | | | | | Samba3. With this, I think, we pass RPC-SAMR-USERS. Guenther (cherry picked from commit a3873bca516e0f89302409c89910561707360d14)
* s4-smbtorture: skip unsupported ACB bits for Samba3 in RPC-SAMR-USER.Günther Deschner2009-05-081-4/+10
| | | | | Guenther (cherry picked from commit 4f3bfb6261dfb9836404399db57373ef91a411bf)
* s4-smbtorture: Support timestamp handling for Samba3 in RPC-SAMR-USERS.Günther Deschner2009-05-081-8/+23
| | | | | | | Timestamps in passdb (currently) only have second granularity. Guenther (cherry picked from commit 67df4489e20f17c334544818227e905136b6f5aa)
* s4-smbtorture: Fix printf info-level mismatch in RPC-SAMR.Günther Deschner2009-05-081-1/+1
| | | | | Guenther (cherry picked from commit c2498d133db4dcb76e636661110b6432d017d13c)
* s4-smbtorture: avoid acct_flags check at the end of RPC-SAMR-PASSWORDS for ↵Günther Deschner2009-05-081-1/+4
| | | | | | | | | Samba3. I don't get this, why would the account suddenly get ACB_PWNOTREQ ? Guenther (cherry picked from commit 310031274d8b0fdf15a5e33fccfd7b6cb81c8a50)
* s4-smbtorture: prepare for running RPC-SAMR-USERS against samba3.Günther Deschner2009-05-081-16/+24
| | | | | | | | In Samba 3 there are no pdb calls to store comments, codepages and countrycodes (yet). Guenther (cherry picked from commit 41cb06fba7126c79fe536321f2dc461e87e83076)
* s4-smbtorture: Avoid failing RPC-SCHANNEL when testing lsa_GetUserName ↵Günther Deschner2009-05-071-2/+8
| | | | | | | behaviour against Samba 3. Guenther (cherry picked from commit 2cdfd67cae1ce4a08c6d42314916959ce6ef99fb)
* s4-smbtorture: add test_ControlService() to RPC-SVCCTL.Günther Deschner2009-04-241-0/+34
| | | | | Guenther (cherry picked from commit a263eaca499cf2b8a89c3ab04c6ef5e7e9aea396)
* s4-smbtorture: add test_StartServiceW() to RPC-SVCCTL.Günther Deschner2009-04-241-0/+34
| | | | | Guenther (cherry picked from commit f926a4e390e7108dad36ecfffaddb628b23436c0)
* s4-smbtorture: change default service to spooler in RPC-SVCCTL.Günther Deschner2009-04-241-1/+1
| | | | | Guenther (cherry picked from commit ae5dd1219a14e939cb1e3674e6daba7885cc9d51)
* Fix Coverity ID 628, Andrew B., please check!Volker Lendecke2009-04-231-1/+1
|
* s4-smbtorture: test all levels in test_GetJob().Günther Deschner2009-04-201-8/+23
| | | | | Guenther (cherry picked from commit 5f0c9c57f53f9b0026b4f58f68442a72103c0d7d)
* s4-smbtorture: Skip Job pause and resume on paused printers for Samba 3 for now.Günther Deschner2009-04-201-2/+6
| | | | | Guenther (cherry picked from commit fe2828c3536eac18902a059049dd12b9b103f731)
* s4-smbtorture: rework test_EnumPrinterDrivers() a little to succeed with s3.Günther Deschner2009-04-201-10/+13
| | | | | | | Yes, I feel dirty for this but promise to come back and fix appropriately. Guenther (cherry picked from commit cb9c0cefaf61cf2c03f92a212dbf6673caa755dd)
* s4-smbtorture: Fix RPC-SPOOLSS-WIN for printers with a lot of jobs in the queue.Günther Deschner2009-04-201-0/+7
| | | | | Guenther (cherry picked from commit 81253ec14623ed480905433e5bf5df7982cfbfa4)
* s4-smbtorture: disable CreateUser2 tests when running RPC-SAMR-PASSWORDS-PWDLASTGünther Deschner2009-04-171-1/+3
| | | | | | | | | against Samba3. Samba 3 does not (yet) get all the ACB_flag settings right upon creation. Guenther (cherry picked from commit 32add69632ed4a2b877043c8df1185008516c299)
* s4-smbtorture: add LSA-LOOKUPSIDS to verify bug #6263.Günther Deschner2009-04-172-0/+89
| | | | | Guenther (cherry picked from commit c794ba71b762676c1cfe1eba40b4a254f16ad06a)
* s4-smbtorture: Fix crash in RPC-LSA-LOOKUPGünther Deschner2009-04-171-0/+2
| | | | | Guenther (cherry picked from commit b0a0d2a0ae16929efa392705c3d7823da16f4d55)
* s4-smbtorture: Fix crash bugs in RPC-SAMR_ACCESSMASK.Günther Deschner2009-04-151-7/+15
| | | | | | | Also disable security descriptor based tests while testing samba3. Guenther (cherry picked from commit e6aa3f2d09bd004341dde28b15ef769a09401f26)