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

52 Commits

Author SHA1 Message Date
Andrew Tridgell
8dc92c8f71 ldb: use #include <ldb.h> for ldb
thi ensures we are using the header corresponding to the version of
ldb we're linking against. Otherwise we could use the system ldb for
link and the in-tree one for include

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-10 06:51:07 +01:00
Jelmer Vernooij
35fbc7bbda s4-smbtorture: Make test names lowercase and dot-separated.
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-11 04:16:13 +01:00
Stefan Metzmacher
c0736c70d6 s4:torture/rpc: don't look at p->last_fault_code for debugging anymore
metze
2010-04-15 09:34:03 +02:00
Stefan Metzmacher
e1e2195a4a s4:torture/rpc: rename rpc.h => torture_rpc.h
The reason for this is that some systems include
<rpc/rpc.h> from within system headers. HP-UX 11.00
does so somewhere deep inside of <shadow.h>.

For torture/winbind/struct_based.c <rpc/rpc.h> resolves
to torture/rpc/rpc.h and breaks the build.

metze
2010-04-14 20:27:11 +02:00
Jelmer Vernooij
7da94cc4a6 subunit: Support formatting compatible with upstream subunit, for consistency.
Upstream subunit makes a ":" after commands optional, so I've fixed any
places where we might trigger commands accidently. I've filed a bug
about this in subunit.
2010-04-11 20:57:33 +02:00
Stefan Metzmacher
369def8a33 s4:torture/rpc/drsuapi*: make use of dcerpc_binding_handle stubs
metze
2010-03-16 15:35:26 +01:00
Kamen Mazdrashki
2483ed362b s4/drs: DsCrackNames - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10 17:12:02 +01:00
Kamen Mazdrashki
b0de573629 s4/drs(tort): 'DsPrivate.pipe' renamed - 'pipe' is a system call
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17 10:46:28 +11:00
Andrew Tridgell
84d0047377 s4-torture: ran minimal_includes.pl over source4/torture
This reduces compile time somewhat.
2009-10-20 16:04:46 +11:00
Kamen Mazdrashki
0c8eee9711 s4/tort: CRACKNAMES tests to use private structure for testing.
DsCrackNamesPrivate structure basically inherits DsPrivate
structure while adding few test-specific members.
2009-09-11 07:29:56 +10:00
Kamen Mazdrashki
ebfc13b452 s4/tort: CrackNames test update to work against W2K3.
DRSUAPI_DS_NAME_FORMAT_UKNOWN added to 'known-to-fail'
responses as this actually means to ask AD to resolve
a name from FQDN format to Unknown format.
2009-09-11 07:29:55 +10:00
Kamen Mazdrashki
2904034410 tort: RPC-CRACKNAMES test case refactored 2009-09-08 22:44:50 +10:00
Kamen Mazdrashki
899fc0ddde tort: DsCrackNames - propagate torture context to all tests. 2009-09-08 22:44:49 +10:00
Jelmer Vernooij
23302413b3 Remove unused include param/param.h. 2008-10-24 16:37:56 +02:00
Günther Deschner
6ddaf5f160 s4-drsuapi: merge drsuapi_DsCrackNames from s3 drsuapi idl.
Guenther
2008-10-18 23:06:31 +02:00
Andrew Bartlett
8256717c76 Implement 'type unknown' names in the CrackNames code.
This guesses the type by running each of the possible options.

Andrew Bartlett
2008-10-06 14:28:24 -07:00
Simo Sorce
929adc9efa Make up the right dependencies now that ldb depends on libevents
(This used to be commit 3b8eec7ca3)
2008-06-14 11:59:19 -04:00
Jelmer Vernooij
509e82e402 r26272: Remove global_loadparm in some more places.
(This used to be commit 1ab76ecc53)
2007-12-21 05:47:55 +01:00
Jelmer Vernooij
2151cde580 r25554: Convert last instances of BOOL, True and False to the standard types.
(This used to be commit 566aa14139)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
60a1046c5c r25430: Add the loadparm context to all parametric options.
(This used to be commit fd697d77c9)
2007-10-10 15:07:31 -05:00
Andrew Bartlett
8227ffdc7c r25071: Add some more testcases for RPC-DRSUAPI-CRACKNAMES, proving I can't
use this as a backend for the LSA LookupNames call.

Andrew Bartlett
(This used to be commit 9266e36633)
2007-10-10 15:06:24 -05:00
Jelmer Vernooij
45d0b9a0a3 r25070: Revert DRSUAPI conversion to new API, as it broke some tests.
(This used to be commit cfb33df2d0)
2007-10-10 15:06:24 -05:00
Jelmer Vernooij
ffeee68e4b r25026: Move param/param.h out of includes.h
(This used to be commit abe8349f9b)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
7fd416bd3e r24855: Convert RPC-DRSUAPI, RPC-SCHANNEL to use the torture API.
(This used to be commit dadcc4708e)
2007-10-10 15:03:20 -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
Andrew Bartlett
ca33b7e675 r22443: It isn't fatal to get the case wrong on this stuff.
Andrew Bartlett
(This used to be commit 55639277b2)
2007-10-10 14:51:21 -05:00
Andrew Bartlett
d0179f164a r22120: Expand the RPC-CRACKNAMES test, to test more values and expose patterns.
Fix up our server side implementation to pass almost all the tests (a
couple are skipped).

Don't require the DsGetDomainControllerInfo calls to pass, just get
some info from them.

Andrew Bartlett
(This used to be commit a29eb8f7e5)
2007-10-10 14:49:53 -05:00
Andrew Bartlett
270248ac02 r22118: Add another RPC-CRACKNAMES test, but allow a way to skip sub-parts of
this test we don't yet support in Samba4.  I want to at least try and
test this parts of this codebase...

Andrew Bartlett
(This used to be commit cb2e4ca220)
2007-10-10 14:49:52 -05:00
Andrew Bartlett
bf5cfb5f3d r21491: Verify that the DNS domain name is filled in on GUID searches in the
RPC-CRACKNAMES test.

Andrew Bartlett
(This used to be commit 7773f23e89)
2007-10-10 14:48:43 -05:00
Andrew Bartlett
105d18eb30 r20395: Decode more unknowns in the IDL. These are language and codepage IDs!
Try to pass more of the CrackNames test.  Make the test quieter.

Andrew Bartlett
(This used to be commit a6bbfebf52)
2007-10-10 14:30:22 -05:00
Andrew Bartlett
03b05b9400 r20297: Finally got to the bottom of why we were failing the RPC-CRACKNAMES
test against my win2k3 domain.  I have a child domain, and as such the
BUILTIN domain SID appears multiple times in the tree, and is
therefore not unique.

Andrew Bartlett
(This used to be commit 41e42843be)
2007-10-10 14:29:34 -05:00
Andrew Bartlett
c51289fc9b r20295: Add a couple more tests to the CrackNames test.
(This used to be commit 115ed29fd8)
2007-10-10 14:29:34 -05:00
Andrew Bartlett
334f78d206 r20113: Update the DRSUAPI CrackNames test to explore a few more cases, and in
particular to verify more expected results.

Also return more details from the join process.  Now we also return
the machine account's GUID.

Andrew Bartlett
(This used to be commit 5b32f102af)
2007-10-10 14:29:08 -05:00
Simo Sorce
4889eb9f7a r19831: Big ldb_dn optimization and interfaces enhancement patch
This patch changes a lot of the code in ldb_dn.c, and also
removes and add a number of manipulation functions around.

The aim is to avoid validating a dn if not necessary as the
validation code is necessarily slow. This is mainly to speed up
internal operations where input is not user generated and so we
can assume the DNs need no validation. The code is designed to
keep the data as a string if possible.

The code is not yet 100% perfect, but pass all the tests so far.
A memleak is certainly present, I'll work on that next.

Simo.
(This used to be commit a580c871d3)
2007-10-10 14:28:22 -05:00
Andrew Bartlett
ce2d92c878 r19760: Create a DC account for the drsuapi tests to work on, rather than
choosing an existing DC.

Allow to skip some tests under Samba4.

Andrew Bartlett
(This used to be commit 705fbae325)
2007-10-10 14:28:20 -05:00
Jelmer Vernooij
a39f239cb2 r19392: Use torture_setting_* rather than lp_parm_* where possible.
(This used to be commit b28860978f)
2007-10-10 14:21: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
Jelmer Vernooij
4f1c8daa36 r14470: Remove some unnecessary headers.
(This used to be commit f7312dab3b)
2007-10-10 13:57:29 -05:00
Jelmer Vernooij
1060f6b3f6 r14402: Generate seperate headers for RPC client functions.
(This used to be commit 7054ebf024)
2007-10-10 13:57:19 -05:00
Jelmer Vernooij
eefe30b7d8 r14379: Build torture/rpc/ as a seperate smbtorture module. Move helper
functions for rpc out of torture/torture.c
(This used to be commit 1d2d970f3b)
2007-10-10 13:57:16 -05:00
Jelmer Vernooij
3f16241a1d r14363: Remove credentials.h from the global includes.
(This used to be commit 98c4c30513)
2007-10-10 13:57:14 -05:00
Stefan Metzmacher
1a53c1dc92 r13346: use private proto header files for the torture tests
metze
(This used to be commit 67837dbd2b)
2007-10-10 13:51:47 -05:00
Jelmer Vernooij
25bb00fbcd r12693: Move core data structures out of smb.h into core.h
torture prototypes in seperate header
(This used to be commit 73610639b2)
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
acd6a086b3 r12510: Change the DCE/RPC interfaces to take a pointer to a
dcerpc_interface_table struct rather then a tuple of interface
name, UUID and version.

This removes the requirement for having a global list of DCE/RPC interfaces,
except for these parts of the code that use that list explicitly
(ndrdump and the scanner torture test).

This should also allow us to remove the hack that put the authservice parameter
in the dcerpc_binding struct as it can now be read directly from
dcerpc_interface_table.

I will now modify some of these functions to take a dcerpc_syntax_id
structure rather then a full dcerpc_interface_table.
(This used to be commit 8aae0f168e)
2007-10-10 13:47:48 -05:00
Andrew Bartlett
f2d1614906 r11361: Test user@DOMAIN userPrincipalNames
Andrew Bartlett
(This used to be commit 75b002746a)
2007-10-10 13:45:24 -05:00
Andrew Bartlett
f003a02ef2 r11359: More lovely cracknames tests...
Andrew Bartlett
(This used to be commit 35cbdd5c9d)
2007-10-10 13:45:24 -05:00
Andrew Bartlett
a0dcf1aa1c r11351: Another add-hoc test.
Andrew Bartlett
(This used to be commit 326ffb2cc0)
2007-10-10 13:45:22 -05:00
Andrew Bartlett
dfbdd10c38 r11205: Another test for cracknames.
Andrew Bartlett
(This used to be commit 3810282a24)
2007-10-10 13:45:01 -05:00
Andrew Bartlett
d96f706bb0 r10953: Add a new function to form a canonicalName out of a DN to ldb_dn.c
Use this new function in the client and server for the CrackNames
case, where we particularly need it.

Andrew Bartlett
(This used to be commit 380037ee09)
2007-10-10 13:39:45 -05:00
Andrew Bartlett
4c188e0a1e r10950: More cracknames variations (including expected values) than you can
poke a stick at...

Andrew Bartlett
(This used to be commit e4b2130030)
2007-10-10 13:39:45 -05:00