summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2010-05-26s4-smbtorture: add smbcli_rap_netusergetinfo().Günther Deschner1-0/+175
Guenther
2010-05-26s4/test: Connect SAMR and LDARPC pipes before calling libnet_ functionsKamen Mazdrashki1-7/+29
In multi-DC environment, NBT name resolution may resolv domain name to any of DCs. This make this test to fail, as we are modifying the user account on one DC and query user info immediately after that on another DC.
2010-05-26s4/test: remove unused codeKamen Mazdrashki1-18/+0
There is no need anymore to modify samAccountName of the testing user to original value as test_cleanup() will spot the right samAccountName to delete
2010-05-26s4/test: make test_cleanup() in libnet_user library more robustKamen Mazdrashki1-4/+74
test_cleanup() is called always with RDN name of the user to be deleted. When modify-user test fails however, we end up with a user with RDN = libnetusertest and samAccountName = random_name. This way we can not delete the user and the error message is quite misleading (I've spent a *lot* of time trying to figure out if the database is corrupted because of this error).
2010-05-26s4/test: rename enum test_fields{} member names to be more descriptiveKamen Mazdrashki3-28/+29
2010-05-26s4/test: Replace hand-made field count to testKamen Mazdrashki3-8/+11
This patch replaces hand-make count of fields to be tested with defines for FIRST-LAST value for corresponding fields to test with. As a side-effect, 'acct_flags' is now included in tests.
2010-05-25s4:torture/rpc/samr.c: Fix the "ValidatePassword" testMatthias Dieter Wallnöfer1-3/+6
It was failing randomly due to an uninitialised "status" variable.
2010-05-22torture: fix typosSimo Sorce1-2/+2
2010-05-21s4:torture/rap/rap.c - quiet discard const warningMatthias Dieter Wallnöfer1-1/+1
2010-05-21s4:torture/raw/open.c - remove unused variables and fix error handlingMatthias Dieter Wallnöfer1-8/+3
2010-05-21s4-smbtorture: Fix NetUserPasswordSet2 RAP tests.Günther Deschner1-5/+40
Guenther
2010-05-21s4-smbtorture: fix smbcli_rap_netuserpasswordset2().Günther Deschner1-2/+2
Guenther
2010-05-21s4-torture: Improved the winreg symlink test.Andreas Schneider1-10/+82
This test is still disabled as we don't know how to remove a symbolic link. It looks like there only DeleteKey functions which can work on a handle are able to delete a symbolic link. Pair-Programmed-With: Michael Adam <obnox@samba.org>
2010-05-21s4-torture: Disable the security descriptor tests.Andreas Schneider1-2/+7
2010-05-21s4-torture: Try to fix the winreg tests.Andreas Schneider1-42/+76
2010-05-21s4:torture:winreg: improve error messages in test_HKLM_wellknownMichael Adam1-3/+3
2010-05-21s4:torture:winreg: improve error messages in test_QueryValue_fullMichael Adam1-7/+9
So that one has a chance to tell what part of the test failed. And why.
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-1/+1
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21s4:libcli/ldap Rename ldap.h to libcli_ldap.hAndrew Bartlett1-1/+1
It is a problem if a samba header is called ldap.h if we also want to use OpenLDAP's ldap.h Andrew Bartlett
2010-05-21s4-smbtorture: add kernel_mode_registry_path().Günther Deschner1-0/+22
Guenther
2010-05-21s4-smbtorture: Fix volatile test in RPC-WINREG.Günther Deschner1-10/+84
Guenther
2010-05-20s4-smbtorture: use push_reg_sz/push_reg_multi_sz in spoolss tests.Günther Deschner1-14/+12
Guenther
2010-05-20s4-smbtorture: pass down hkey to main keytest in RPC-WINREG.Günther Deschner1-9/+26
Guenther
2010-05-20s4-smbtorture: print local_machine name in ↵Günther Deschner1-2/+3
RemoteFindFirstPrinterChangeNotifyEx test. Guenther
2010-05-20s4-smbtorture: use push_reg_sz()/push_reg_multi_sz() in RPC-WINREG.Günther Deschner1-19/+7
Guenther
2010-05-20s4-smbtorture: take a TODO note for RAP-PRINTING.Günther Deschner1-0/+8
Guenther
2010-05-20s4:torture Add tests to demonstrate S2U4Self in the RPC-PAC testAndrew Bartlett2-9/+307
We also compare against SamLogon to try and validate the whole thing. Note that we must represent NULL as "" when comparing between the PAC and SamLogon, due to different marshalling of the structures. Andrew Bartlett
2010-05-18s4 torture: Add tests for dfs referrals handling in SMB/trans2 requestsMatthieu Patou5-2/+578
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18s4 torture test: Adapt ndr-dfsblobs torture test to new idlMatthieu Patou1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18s3: Fix some more iconv convenience usages.Jelmer Vernooij1-3/+3
2010-05-18Remove more usages of iconv_convenience in files which were apparently not ↵Jelmer Vernooij1-2/+2
recompiled by waf.
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij3-4/+0
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij40-278/+199
2010-05-13Now we behave as Windows does, remove a Samba3 specific test return.Jeremy Allison1-1/+7
Jeremy.
2010-05-12s4-smbtorture: create/delete testusers via SAMR in RAP-SAM.Günther Deschner1-10/+83
Unless we spent time researching the RAP useradd calls (and implement them in s3) it is far more easy to use existing SAMR calls to create and delete test users that are used for RAP change password operations. Guenther
2010-05-12s4-smbtorture: add test_oemchangepassword to RAP-SAM.Günther Deschner1-0/+29
Guenther
2010-05-12s4-smbtorture: add RAP-SAM testsuite with a rap_NetUserPasswordSet2 test.Günther Deschner4-2/+63
Guenther
2010-05-12s4-smbtorture: getting serious about checking rap status return codes.Günther Deschner1-0/+18
Guenther
2010-05-12s4-smbtorture: add torture_create_testuser_max_pwlen() that allows to set ↵Günther Deschner1-6/+16
maxpwlen. required for upcoming rap pwd tests. Guenther
2010-05-12s4-smbtorture: autolookup domain in torture_create_testuser() if none was given.Günther Deschner1-15/+70
Guenther
2010-05-11s4-smbtorture: test netservergetinfo level 1 also against s3.Günther Deschner2-8/+4
Guenther
2010-05-11s4:torture/rpc/netlogon.c - don't use constant "AF_LOCAL" but do use ↵Matthias Dieter Wallnöfer1-2/+2
"AF_UNIX" instead "AF_LOCAL" isn't portable but has the same value as "AF_UNIX".
2010-05-11s4-smbtorture: fix smbcli_rap_netuserpasswordset2().Günther Deschner1-2/+2
Guenther
2010-05-11s4-smbtorture: fix smbcli_rap_netoemchangepassword.Günther Deschner1-4/+3
Guenther
2010-05-11s4-smbtorture: correctly fill in trans.in.data in rap_cli_do_call().Günther Deschner1-2/+14
Guenther
2010-05-10s4/tort: Add test for comparing special DNsKamen Mazdrashki1-0/+18
2010-05-10s4-smbtorture: add smbcli_rap_netoemchangepassword().Günther Deschner1-0/+49
Guenther
2010-05-08s4-smbtorture: add smbcli_rap_netuserpasswordset2().Günther Deschner1-0/+55
Guenther
2010-05-05s4-smbtorture: remove unused variable from smbcli_rap_netprintdestgetinfo().Günther Deschner1-1/+0
Guenther
2010-05-04s4-torture: Added the printername to the AddPrinter comment.Andreas Schneider1-2/+4
Signed-off-by: Günther Deschner <gd@samba.org>