summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7526: make test should depend on the binsAndrew Tridgell1-1/+1
(This used to be commit 646953df4c272581211ba30dc77e1052ea1f465e)
2007-10-10r7525: Unify lp_load(), load_interfaces and logging setup into popt().Andrew Bartlett15-93/+48
There is now a new --debug-stderr option to enable debug to STDERR. popt isn't perfect, but the callbacks are used in all the main Samba binaries, and should be used in the rest. This avoids duplicated code, and ensures every binary is setup correctly. This also ensures the setup happens early enough to have -s function, and have a correct impact on the credentials code. (Fixing a bug that frustrated tridge earlier today). The only 'subtle' aspect of all this is that I'm pretty sure that the SAMBA_COMMON popt code must be above the CREDENTIALS code, in the popt tables. Andrew Bartlett (This used to be commit 50f3c2b3a22971f40e0d3a88127b5120bfc47591)
2007-10-10r7524: make the ldap ASN.1 filter parse code go via a structAndrew Tridgell1-77/+107
ldb_parse_tree. This also fixes the error handling. next step will be to pass the parse tree straight into ldb, avoiding the string encoding completely. (This used to be commit 235cf625e20767c8d5d30c5955ae45e1fdf88bf2)
2007-10-10r7523: blerghAndrew Tridgell1-1/+6
the error code for an invalid tid depends on the command (This used to be commit 9dab036fbe50d84cb79d7a103c454a1c0c90a48a)
2007-10-10r7522: added a ldb_filter_from_tree() function that takes a ldb_parse_treeAndrew Tridgell2-3/+57
and forms a ldab search filter expression. Next step is to make our ldap server code go from ASN.1 to a ldb_parse_tree, instead of trying to construct string filters, then add a ldb_search_tree() call to allow for searches using parse trees. all of this is being done as I am hitting bitwise '&' ldap search expressions from w2k, and want to handle them cleanly. (This used to be commit 04356c1b1ed86d72934bc1b0ed60b767e10a1196)
2007-10-10r7521: Remove useless loops from SAMLOGON test, which speeds it up a lot.Andrew Bartlett1-16/+17
Andrew Bartlett (This used to be commit d74b7c20b6e547dba039992f69cea31b46d92286)
2007-10-10r7520: Fix memory leak in hdb-ldb.cAndrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit 7f6a7f7fc521f41c811c51fb692f408dc570f4cd)
2007-10-10r7519: rip the copy of the ldap expression parser out of libcli/ldap/ and useAndrew Tridgell5-426/+48
the original one in lib/ldb/ instead. Having two copies of this code is silly. (This used to be commit 0e9f18c44858b692c724c004f362de9e3dc15db5)
2007-10-10r7518: don't use an uninitialised ldb debug function when failing to load ↵Andrew Tridgell1-0/+2
modules in the ldap backend (This used to be commit 52e4a5b3b0c4c96bf9686ce047ccfc1846dc2c89)
2007-10-10r7517: handle zero length equality testsAndrew Tridgell1-1/+1
(This used to be commit 18c96f2b3e4d4c769354d61a4cda5c295f50536f)
2007-10-10r7516: make sure binary decoding gives us something we can run string ↵Andrew Tridgell1-1/+2
functions on (This used to be commit 9913ab2550fae465c7a66fe7fa3a36a65b25b358)
2007-10-10r7515: merge in the binary encode/decode enhancements from the libcli/ldap/Andrew Tridgell2-2/+69
code into the ldb parse code (This used to be commit 12647e37223847da810c2d4e5f83328b1fcf88cb)
2007-10-10r7514: make the ldb_parse code not depend on a ldb_context, so we can now ↵Andrew Tridgell3-16/+5
potentially use it in our ldap client code, instead of replicating all the code (This used to be commit 5b3575d9303d54a771e080a670dcd2f444b10c20)
2007-10-10r7513: don't try to write to the smbd log file between tests. zeroing a fileAndrew Tridgell1-2/+0
while it is open for writing by another process causes the file to end up with lots of nulls in it, which messes up the build farm output. (This used to be commit f7e636d4086b83180e76902fee739972cd6a7b26)
2007-10-10r7510: fixed error code for using a bad tid.Andrew Tridgell1-1/+1
amazingly, I have seen w2k do a session setup followed by an immediate attempted opening of \netlogon, with no tconx to ipc$ first. So this error code can matter. (This used to be commit 79112d81cb9ea3fc7e94be1af282ab4247170532)
2007-10-10r7509: With the update to Heimdal 20050612 we no longer need krb5_freelog(),Andrew Bartlett4-5/+2
as krb5_closelog() no longer leaks memory. Andrew Bartlett (This used to be commit b0bf8a4a5f04b65655f4005b27c80eb098039720)
2007-10-10r7508: Fix memory leak of outgoing packets in the KDC.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit 6f7bb00c7e59444cde0c25b6f83e1c335d86ee32)
2007-10-10r7507: fixed the problem with users being shown too many times in aclAndrew Tridgell2-3/+48
editors, and added a test for it. (This used to be commit 9e428881f6fc0a422ac9011d847e8f692284397a)
2007-10-10r7506: handle the case where cron does not setup $USERAndrew Tridgell1-1/+4
(This used to be commit d4c1a1be0acbb11df4cfef5e454787b3f86f4181)
2007-10-10r7505: Add more argument forms for session_setup().Tim Potter1-1/+34
Throw an exception if tree connect fails. (This used to be commit 5b67f2c3d91487fec38b300b4f71792cd9164a78)
2007-10-10r7504: missed oneAndrew Tridgell1-1/+1
(This used to be commit 93eb9afb4deb77d1176dd021d007743c13487830)
2007-10-10r7503: turn off the sleep test here tooAndrew Tridgell1-1/+1
(This used to be commit 3b9f4b61ade583e7bfd62b0be8b0724b30a07438)
2007-10-10r7502: the sleep test in echo is already run on the main rpc test, so no ↵Andrew Tridgell1-4/+4
need to run it with every combination in this test. It takes nearly all of the time. (This used to be commit 42754de142632ad2c02f821ce435752baf71027b)
2007-10-10r7501: Fix credential initialisation in ejs session setup. Implement fourTim Potter1-7/+127
arg and anonymous version of command. Implement ejs tconx. (This used to be commit 3b7df1037de813d93b284d3b4438b083e668e29f)
2007-10-10r7500: Initialise module subsystems.Tim Potter1-0/+2
(This used to be commit 564dfe14d00e80a0d373ab0fc17803ffaac0892e)
2007-10-10r7499: ensure that the account we run tests as ("Administrator") maps to theAndrew Tridgell3-3/+16
unixName that we are running as in the test suite. Otherwise files are created as a user without any entry in the sam, so the ACL doesn't allow that user read permission when it should. This should fix the RAW-ACLS test in the build farm. (This used to be commit 30445483e4facb0a1d8a5979a2eac6c166193c09)
2007-10-10r7498: ldb_sqlite3 work in progressDerrell Lipman2-44/+153
(This used to be commit 797263330b9eada019e432ff201bf5c872e35b5d)
2007-10-10r7497: add timeouts to all rpc requests. The default timeout is 60Andrew Tridgell3-0/+49
seconds. This should prevent the problem I am seeing on a solaris box where a rpc request gets stuck forever (This used to be commit c24ab34813d675b9b81f3062fb6f30aae5697805)
2007-10-10r7496: removed an unused variableAndrew Tridgell1-1/+0
(This used to be commit a8c99d0e37b5ca37cabc201c1290c6cd26a16549)
2007-10-10r7495: used --maximum-runtime=300 for each smbtorture call, to prevent itAndrew Tridgell9-12/+17
running too long (This used to be commit 3d70755abfb7764379d648e9bc1697ae9289d02b)
2007-10-10r7494: added --maximum-runtime to smbtorture as well. I have seen smbtortureAndrew Tridgell1-0/+19
get stuck waiting on no file descriptors, with no timeout, so it sits forever. I need to fix that bug separately, but to prevent build farm machines being totally stuck, this timeout will be used. (This used to be commit 5cccf0a770e0c1069f940fa8f4853f64327dc90c)
2007-10-10r7493: add a --maximum-runtime option to smbd. If this time is exceeeded ↵Andrew Tridgell1-0/+22
then it exits. This will be used in the build farm (This used to be commit 3cec5b3c8656efcb00df530071c2badca914126a)
2007-10-10r7492: give better outputStefan Metzmacher1-2/+10
metze (This used to be commit 134f5defa0f1eb240207f593866ab75f20943938)
2007-10-10r7491: libnet functions used in tests have different names now.Rafal Szczesniak3-24/+24
rafal (This used to be commit d54bf09701b1085451479a32569849998c53c811)
2007-10-10r7490: Rename functions and prefices s/rpc_composite/libnet_rpc/Rafal Szczesniak6-47/+47
This makes more clear where the functions belong to. Also the rule will be that lowercased function names are not part of "official" libnet API (though it doesn't mean one absolutely cannot use them). rafal (This used to be commit f6ef7b882acc6ee07422944a417a8d9013c9d8d2)
2007-10-10r7489: just a cosmetic changeStefan Metzmacher1-1/+1
metze (This used to be commit 2dcbf07d0cc105a49c7b086f340c7ec9b5c97b6a)
2007-10-10r7488: update the mode in the struct too,Stefan Metzmacher1-1/+2
that fixes the RAW-RENAME test metze (This used to be commit e27c1ab89b21726d3c9e7f8f7af22d1ff38f2413)
2007-10-10r7487: check both files before and after setting the attribs on file1Stefan Metzmacher1-0/+7
metze (This used to be commit 376c0560e0cb453fa8a378ff2983b34310956ae8)
2007-10-10r7486: fix for the build farm to display the panic messages and backtrace ↵Stefan Metzmacher1-2/+2
inside the per test frame metze (This used to be commit 5cf27b4af33fd7e30a59e53e4b08d67ac83ddccd)
2007-10-10r7485: - allow test_xxx.sh to run outside of 'make test' by ensuring $PREFIX ↵Andrew Tridgell2-2/+12
is setup - use loopback interface only, otherwise nbtd will answer with a real ip, which the socket wrapper code will fail to connect to - enable eadb for posix testing - sleeping to wait for smbd to start is pointless, as smbd won't start till its fifo is opened due to the fifo redirection on stdin - sleep for a few seconds to allow for nbt server to register names after opening fifo - use bcast name resolution, so we don't rely on /etc/hosts being right (This used to be commit 9ce2b9a79ba34705bcd8c32db1e084763702faec)
2007-10-10r7484: the previous bug can also affect the kdcAndrew Tridgell1-1/+2
(This used to be commit ee8bf9db4a619b40ae71b5e97ea7640483587573)
2007-10-10r7483: ensure we try reading from a socket if epoll says we can, and don'tAndrew Tridgell4-4/+6
just do the write. This is needed because the write could return -1/EAGAIN for dgram sockets, if the socket buffer is nearly full. The epoll loop then goes on forever. This was causing some failures in 'make test' (This used to be commit b7fefe76a2d3c288611868f41d65af4e13ac460b)
2007-10-10r7482: Rename smbcli_send_tconX() to smbcli_tconX() so as not to get itTim Potter3-6/+5
confused with an async function. (This used to be commit 340ad67cada15329051c205c5b094ad641718c72)
2007-10-10r7481: Add a mprVarIsPtr macro.Tim Potter1-0/+2
(This used to be commit 633b24345fecad1111f40999efa2897bba521f19)
2007-10-10r7480: ldb_sqlite3 work in progressDerrell Lipman2-15/+109
(This used to be commit 510e7994da808ab12f51fa7a36c3f5f9244c51ac)
2007-10-10r7479: ifdef out some more stuff to fix compiler warnings.Tim Potter1-1/+3
(This used to be commit c4d10a98ff991cc48d065c4373570aedc37dccf3)
2007-10-10r7478: fixed a problem with a backgrounded smbd looping to handle continuousAndrew Tridgell1-0/+3
tty related signals (This used to be commit db2b507adde8a28524cb9bff3558e5c339276767)
2007-10-10r7477: Add MPR_TYPE_PTR to ejs_typeof().Tim Potter1-1/+2
(This used to be commit 8574f64ca2bda864f472067ae594285b6f5dc957)
2007-10-10r7476: ensure dgram sockets are created non-blocking. As they usually skipAndrew Tridgell1-0/+6
the connect() stage, we were missing this (This used to be commit f5102b886c10fead0f6bcdc4460584ae53912ebc)
2007-10-10r7475: removed RPC-SAMLOGON test until we get a lighter version of it. It isAndrew Tridgell1-3/+3
chewing far too much cpu, which is unfair on our volunteer systems andrew, sorry about this, I think we need RPC-SAMLOGON-FULL, and make RPC-SAMLOGON only do a basic test (This used to be commit 71bf781227c020f1d22382a5417999dfbda23c1b)