1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
Commit Graph

74 Commits

Author SHA1 Message Date
Matthias Dieter Wallnöfer
e9686985cb s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where needed
For KERBEROS applications the realm should be upcase (function "lp_realm") but
for DNS ones it should be used lowcase (function "lp_dnsdomain"). This patch
implements the use of both in the right way.
2009-10-14 10:50:43 +02:00
Andrew Bartlett
6c8f7e4005 Port Samba4 to the new combined libcli/auth functions
For example, some of the new shared functionality was previously in the wkssvc
torture test.

Andrew Bartlett
2009-04-14 16:23:41 +10:00
Jelmer Vernooij
7ab8f373c8 Use common header file for character set handling in Samba 3 and Samba 4. 2009-03-01 22:24:34 +01:00
Jelmer Vernooij
922a29992e Remove iconv_convenience parameter from simple string push/pull
functions.
2008-10-24 03:40:09 +02:00
Jelmer Vernooij
915f1df904 Fix wkssvc test build. 2008-10-15 17:04:19 +02:00
Jelmer Vernooij
5390dc0d24 Share wkssvc.idl. 2008-10-15 16:48:53 +02:00
Jelmer Vernooij
6925202bde Move source4/lib/crypto to lib/crypto. 2008-09-24 15:30:23 +02:00
Jelmer Vernooij
5e00673a40 r26438: Store iconv convenience in tdr push contexts.
(This used to be commit dffef31627)
2007-12-21 05:50:07 +01:00
Jelmer Vernooij
d891c0c74a r26429: Avoid use of global_smb_iconv_convenience.
(This used to be commit d37136b7ab)
2007-12-21 05:49:56 +01:00
Jelmer Vernooij
39ee38d9c1 r26316: Use contexts for conversion functions.
(This used to be commit f6420d933b)
2007-12-21 05:48:30 +01:00
Jelmer Vernooij
bbdfbf8d9d r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
(This used to be commit a33a553054)
2007-12-21 05:47:20 +01:00
Jelmer Vernooij
6c999cd123 r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly.
(This used to be commit 5b29ef7c03)
2007-12-21 05:47:15 +01:00
Günther Deschner
a701aed885 r26217: Let encode_wkssvc_join_password_buffer() take the session key as parameter.
Guenther
(This used to be commit f8a247d00e)
2007-12-21 05:46:55 +01:00
Günther Deschner
26f7752890 r26216: Add very basic torture test for wkssvc_NetrUnjoinDomain2().
Guenther
(This used to be commit f82116b6d7)
2007-12-21 05:46:55 +01:00
Günther Deschner
245630cf7e r26215: Verify that test_NetrJoinDomain2() has suceeded.
Guenther
(This used to be commit 16ef4564b2)
2007-12-21 05:46:55 +01:00
Günther Deschner
82c18a40ff r26214: Add note about remotely joining an unjoined XP SP2 workstation.
Guenther
(This used to be commit 2dd98c2333)
2007-12-21 05:46:55 +01:00
Günther Deschner
85c83f6651 r26213: Trying to fix confusing inline comment about wkssvc_PasswordBuffer.
Guenther
(This used to be commit e3ce22107e)
2007-12-21 05:46:54 +01:00
Günther Deschner
cd5eb29f1f r26212: Make test_NetrJoinDomain2() a little more robust against missing parameters.
Guenther
(This used to be commit 08aad347e8)
2007-12-21 05:46:54 +01:00
Günther Deschner
b32cbeafb2 r26211: Add very basic test_NetrJoinDomain2() test which can join xp workstations into
an AD domain.

Guenther
(This used to be commit 3fd5f3628c)
2007-12-21 05:46:53 +01:00
Günther Deschner
91da59fe0f r26210: w00t!
Solved the nasty crypto problem of the 524 byte wkssvc_PasswordBuffer for
wkssvc_JoinDomain()/wkssvc_UnjoinDomain().

Very soon we will be able to remotely join windows workstations into AD domains
using smbtorture :-)

Guenther
(This used to be commit 37469ed34c)
2007-12-21 05:46:53 +01:00
Günther Deschner
6cb7ea0bc8 r26208: Add torture test for (unsupported) wkssvc_NetrJoinDomain() and
wkssvc_NetrUnjoinDomain().

Guenther
(This used to be commit 77c161b776)
2007-12-21 05:46:52 +01:00
Günther Deschner
7a568ab3b3 r26171: Add my copyright.
Guenther
(This used to be commit 556d00d6a2)
2007-12-21 05:46:34 +01:00
Günther Deschner
5365ee1abb r26170: Put test_NetrUseGetInfo() in the correct order of tests.
Guenther
(This used to be commit 239749d811)
2007-12-21 05:46:34 +01:00
Günther Deschner
616a48faf9 r26165: Add IDL and torture test for wkssvc_NetrGetJoinableOus() and
wkssvc_NetrGetJoinableOus2() (both unavailable remotely).

Guenther
(This used to be commit 256d0a15f5)
2007-12-21 05:46:31 +01:00
Günther Deschner
e84236a095 r26163: Add IDL and torture test for wkssvc_NetrGetJoinInformation().
Guenther
(This used to be commit 234b380669)
2007-12-21 05:46:30 +01:00
Günther Deschner
73ff60a85a r26162: Remove accidental commit.
Guenther
(This used to be commit 78ea566485)
2007-12-21 05:46:30 +01:00
Günther Deschner
1ffb0eb7ec r26161: Add (dangerous) torture tests for wkssvc_NetrRenameMachineInDomain() and
wkssvc_NetrRenameMachineInDomain2().

Guenther
(This used to be commit e105fb59b1)
2007-12-21 05:46:30 +01:00
Günther Deschner
a1fdc20aee r26157: Add IDL and torture test for wkssvc_NetrSetPrimaryComputername().
Guenther
(This used to be commit 1c50b9754e)
2007-12-21 05:46:28 +01:00
Günther Deschner
03b68aaffd r26156: Choose a more speaking message in test_NetrMessageBufferSend().
Guenther
(This used to be commit f7f474c6c7)
2007-12-21 05:46:28 +01:00
Günther Deschner
e6c8fa7939 r26155: Add IDL and torture teset for wkssvc_NetrMessageBufferSend().
Guenther
(This used to be commit 9de2f59d2b)
2007-12-21 05:46:27 +01:00
Günther Deschner
722851c78e r26154: Add IDL and torture test for wkssvc_NetrWorkstationStatistics(). A lot of
unknowns, I know...

Guenther
(This used to be commit de2c5d702e)
2007-12-21 05:46:26 +01:00
Günther Deschner
65c35b80e2 r26153: Add torture test for NetrAddAlternateComputerName() and
NetrRemoveAlternateComputerName().

Guenther
(This used to be commit 77f0b962d6)
2007-12-21 05:46:26 +01:00
Günther Deschner
238862649c r26152: Add IDL and torture test for wkssvc_NetrEnumerateComputerNames().
Guenther
(This used to be commit ea47816867)
2007-12-21 05:46:26 +01:00
Günther Deschner
fd461adfd0 r26151: Add IDL and torture test for wkssvc_NetrValidateName() and
wkssvc_NetrValidateName2().

Guenther
(This used to be commit 9f63ec388d)
2007-12-21 05:46:25 +01:00
Günther Deschner
b653bea814 r26150: Add IDL and torture test for wkssvc_NetrLogonDomainNameAdd() and
wkssvc_NetrLogonDomainNameDel(), both unsupported on w2k3.

Guenther
(This used to be commit 9e1ed6eb68)
2007-12-21 05:46:24 +01:00
Günther Deschner
8d62a1370d r26148: Add IDL and torture test for wkssvc_NetrUseGetInfo().
Guenther
(This used to be commit 1a472cc1b2)
2007-12-21 05:46:24 +01:00
Günther Deschner
9854192923 r26147: Add IDL and torture test for wkssvc_NetrUseDel and wkssvc_NetrUseAdd.
Guenther
(This used to be commit b5b3cc1667)
2007-12-21 05:46:23 +01:00
Günther Deschner
ec739190fb r26146: Add IDL and torture test for wkssvc_NetrUseEnum().
Guenther
(This used to be commit 72a14407ca)
2007-12-21 05:46:23 +01:00
Günther Deschner
fb25264190 r26144: Add IDL and torture test for wkssvc_NetrWkstaTransportAdd and
wkssvc_NetrWkstaTransportDel.

Guenther
(This used to be commit 99add8aed3)
2007-12-21 05:46:22 +01:00
Günther Deschner
7769f9db34 r26143: Add IDL and torture test for wkssvc_NetrWkstaUserGetInfo.
Guenther
(This used to be commit b358f953e9)
2007-12-21 05:46:22 +01:00
Günther Deschner
ce0af45ef1 r26142: Cleanup IDL and add torture test for wkssvc_NetWkstaEnumUsers.
Guenther
(This used to be commit 638ce91b0f)
2007-12-21 05:46:21 +01:00
Jelmer Vernooij
3e7203d0b3 r24755: Use common code for finding the RPC binding in the torture tests.
(This used to be commit e3310e7739)
2007-10-10 15:03:03 -05:00
Jelmer Vernooij
18302e7030 r24751: Run more tests, remove empty testsuites, more small improvements.
(This used to be commit 2a5a0819ee)
2007-10-10 15:03:02 -05:00
Stefan Metzmacher
f14bd1a90a r24557: rename 'dcerpc_table_' -> 'ndr_table_'
metze
(This used to be commit 84651aee81)
2007-10-10 15:02:15 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac)
2007-10-10 14:59:12 -05:00
Jelmer Vernooij
a60ab76694 r22339: Run some more tests.
(This used to be commit 1b73e6a776)
2007-10-10 14:51:06 -05:00
Stefan Metzmacher
d57326a476 r22193: fix compiler warning and formating
metze
(This used to be commit b050fe9e0b)
2007-10-10 14:50:02 -05:00
Jelmer Vernooij
8773e743c5 r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grained
output in the testsuite rather than just True or False for a
set of tests.

The aim is to use this for:
 * known failure lists (run all tests and detect tests that
						started working or started failing). This
   would allow us to get rid of the RPC-SAMBA3-* tests
 * nicer torture output
 * simplification of the testsuite system
 * compatibility with other unit testing systems
 * easier usage of smbtorture (being able to run one test
						and automatically set up the environment for that)

This is still a work-in-progress; expect more updates over the next couple of
days.
(This used to be commit 0eb6097305)
2007-10-10 14:21:12 -05:00
Stefan Metzmacher
e72786ec24 r17256: fix 2 crash bugs, which are introduced by making parameters
ref pointers!

I'm sure there're more places and more care is needed when idl files
are changed. Hopefully testing against windows in the build farm
find such bugs in future...

Why is in the client library this no more possible:

NTSTATUS foo([in,out,ref] uint8 *foo);

and then just

r.in.foo = &foo;
status = dcerpc_foo(p, mem_ctx, &r);

and r.out.foo will set to r.in.foo via pidl magic,
that worked some time ago...

metze
(This used to be commit d8952f00c7)
2007-10-10 14:10:24 -05:00
Jelmer Vernooij
909b111f58 r14720: Add torture_context argument to all torture tests
(This used to be commit 3c7a5ce291)
2007-10-10 13:59:13 -05:00