1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

4369 Commits

Author SHA1 Message Date
Matthias Dieter Wallnöfer
6af5e7cde1 s4:torture/rap/rap.c - quiet discard const warning 2010-05-21 23:35:58 +02:00
Matthias Dieter Wallnöfer
bd3e70c1be s4:torture/raw/open.c - remove unused variables and fix error handling 2010-05-21 23:35:58 +02:00
Günther Deschner
dd3c367153 s4-smbtorture: Fix NetUserPasswordSet2 RAP tests.
Guenther
2010-05-21 18:11:10 +02:00
Günther Deschner
94d41ddc8f s4-smbtorture: fix smbcli_rap_netuserpasswordset2().
Guenther
2010-05-21 18:11:04 +02:00
Andreas Schneider
b6b3822289 s4-torture: Improved the winreg symlink test.
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-21 15:59:23 +02:00
Andreas Schneider
74d0fc10fd s4-torture: Disable the security descriptor tests. 2010-05-21 15:59:10 +02:00
Andreas Schneider
225bd02dab s4-torture: Try to fix the winreg tests. 2010-05-21 15:59:00 +02:00
Michael Adam
124047877d s4:torture:winreg: improve error messages in test_HKLM_wellknown 2010-05-21 11:24:27 +02:00
Michael Adam
67439d4297 s4:torture:winreg: improve error messages in test_QueryValue_full
So that one has a chance to tell what part of the test failed. And why.
2010-05-21 11:24:15 +02:00
Andrew Bartlett
cba7f8b827 s3:dom_sid Global replace of DOM_SID with struct dom_sid
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-21 10:39:59 +02:00
Andrew Bartlett
c8a23147fe s4:libcli/ldap Rename ldap.h to libcli_ldap.h
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-21 17:39:15 +10:00
Günther Deschner
783cd32a75 s4-smbtorture: add kernel_mode_registry_path().
Guenther
2010-05-21 01:31:26 +02:00
Günther Deschner
e6047c1634 s4-smbtorture: Fix volatile test in RPC-WINREG.
Guenther
2010-05-21 01:31:22 +02:00
Günther Deschner
7c6be166d0 s4-smbtorture: use push_reg_sz/push_reg_multi_sz in spoolss tests.
Guenther
2010-05-20 22:49:51 +02:00
Günther Deschner
393e1495af s4-smbtorture: pass down hkey to main keytest in RPC-WINREG.
Guenther
2010-05-20 22:49:50 +02:00
Günther Deschner
ff3d2bef11 s4-smbtorture: print local_machine name in RemoteFindFirstPrinterChangeNotifyEx test.
Guenther
2010-05-20 22:49:50 +02:00
Günther Deschner
7370d03627 s4-smbtorture: use push_reg_sz()/push_reg_multi_sz() in RPC-WINREG.
Guenther
2010-05-20 22:49:50 +02:00
Günther Deschner
9c7d47fdad s4-smbtorture: take a TODO note for RAP-PRINTING.
Guenther
2010-05-20 11:08:14 +02:00
Andrew Bartlett
4fa9aa3099 s4:torture Add tests to demonstrate S2U4Self in the RPC-PAC test
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-20 17:39:09 +10:00
Matthieu Patou
9f01e7af6b s4 torture: Add tests for dfs referrals handling in SMB/trans2 requests
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18 15:31:13 +02:00
Matthieu Patou
0e4e39c7f5 s4 torture test: Adapt ndr-dfsblobs torture test to new idl
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18 15:31:12 +02:00
Jelmer Vernooij
c0fb7b8180 s3: Fix some more iconv convenience usages. 2010-05-18 11:45:31 +02:00
Jelmer Vernooij
390ada6ec7 Remove more usages of iconv_convenience in files which were apparently not recompiled by waf. 2010-05-18 11:45:31 +02:00
Jelmer Vernooij
b8268cf7b0 s3: Remove use of iconv_convenience. 2010-05-18 11:45:31 +02:00
Jelmer Vernooij
f9ca9e46ad Finish removal of iconv_convenience in public API's. 2010-05-18 11:45:30 +02:00
Jeremy Allison
0d51bab61e Now we behave as Windows does, remove a Samba3 specific test return.
Jeremy.
2010-05-13 21:27:24 -07:00
Günther Deschner
73d654ec2f s4-smbtorture: create/delete testusers via SAMR in RAP-SAM.
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-12 00:21:20 +02:00
Günther Deschner
b73b237a6b s4-smbtorture: add test_oemchangepassword to RAP-SAM.
Guenther
2010-05-12 00:21:06 +02:00
Günther Deschner
931b7fcc8a s4-smbtorture: add RAP-SAM testsuite with a rap_NetUserPasswordSet2 test.
Guenther
2010-05-12 00:20:41 +02:00
Günther Deschner
84ab762fd5 s4-smbtorture: getting serious about checking rap status return codes.
Guenther
2010-05-12 00:17:24 +02:00
Günther Deschner
19d99a6426 s4-smbtorture: add torture_create_testuser_max_pwlen() that allows to set maxpwlen.
required for upcoming rap pwd tests.

Guenther
2010-05-12 00:16:50 +02:00
Günther Deschner
40e7a5879c s4-smbtorture: autolookup domain in torture_create_testuser() if none was given.
Guenther
2010-05-12 00:16:50 +02:00
Günther Deschner
d0a87f0098 s4-smbtorture: test netservergetinfo level 1 also against s3.
Guenther
2010-05-11 22:52:37 +02:00
Matthias Dieter Wallnöfer
313add8fa9 s4:torture/rpc/netlogon.c - don't use constant "AF_LOCAL" but do use "AF_UNIX" instead
"AF_LOCAL" isn't portable but has the same value as "AF_UNIX".
2010-05-11 16:18:28 +02:00
Günther Deschner
9e643f0784 s4-smbtorture: fix smbcli_rap_netuserpasswordset2().
Guenther
2010-05-11 00:58:57 +02:00
Günther Deschner
36b0fed567 s4-smbtorture: fix smbcli_rap_netoemchangepassword.
Guenther
2010-05-11 00:58:57 +02:00
Günther Deschner
fc6a22983b s4-smbtorture: correctly fill in trans.in.data in rap_cli_do_call().
Guenther
2010-05-11 00:58:56 +02:00
Kamen Mazdrashki
983606dbe0 s4/tort: Add test for comparing special DNs 2010-05-10 23:45:20 +03:00
Günther Deschner
7cf1a2986f s4-smbtorture: add smbcli_rap_netoemchangepassword().
Guenther
2010-05-10 21:30:27 +02:00
Günther Deschner
e065ecc6b3 s4-smbtorture: add smbcli_rap_netuserpasswordset2().
Guenther
2010-05-08 01:47:04 +02:00
Günther Deschner
d3bd9de087 s4-smbtorture: remove unused variable from smbcli_rap_netprintdestgetinfo().
Guenther
2010-05-05 17:21:05 +02:00
Andreas Schneider
9c5a59b11e s4-torture: Added the printername to the AddPrinter comment.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04 19:38:16 +02:00
Andreas Schneider
f5e41c5cde s4-torture: Fixed spoolss dsspooler printername test.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04 19:38:05 +02:00
Günther Deschner
7e5fee98be s4-smbtorture: fill in test_rap_print().
This tests pauses a printer over RAP, prints a file, enumerates the job, deletes
the job and resumes the print queue.

Guenther
2010-05-04 17:18:22 +02:00
Günther Deschner
1056a08100 s4-smbtorture: add test_netprintdestgetinfo() to RAP-PRINTING.
Guenther
2010-05-04 15:49:47 +02:00
Günther Deschner
ff256b41b8 s4-smbtorture: add smbcli_rap_netprintdestgetinfo().
Guenther
2010-05-04 15:49:40 +02:00
Günther Deschner
eee803372a s4-smbtorture: add test_netprintdestenum to RAP-PRINTING.
Guenther
2010-05-04 15:49:31 +02:00
Günther Deschner
990361a38c s4-smbtorture: add smbcli_rap_netprintdestenum.
Guenther
2010-05-04 15:49:16 +02:00
Günther Deschner
727a1acd91 s4-smbtorture: add extraformat to smbcli_rap_netprintqgetinfo() as well.
Guenther
2010-05-03 20:55:58 +02:00
Günther Deschner
f181281c89 s4-smbtorture: use RAP extraformat for smbcli_rap_netprintqenum().
Although w2k3 happily ignores it, the spec (and s3) enforce the addition of
that.

Guenther
2010-05-03 20:55:50 +02:00