1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-19 04:23:48 +03:00
Commit Graph

90 Commits

Author SHA1 Message Date
Jelmer Vernooij
e01c1e87c0 Remove yet more uses of global_loadparm. 2008-02-21 17:17:37 +01:00
Andrew Bartlett
341929c615 r26683: Add another testcase. I still don't know what's wrong here.
Andrew Bartlett
2008-01-06 22:51:02 -06:00
Andrew Bartlett
df17c4a9e8 r26682: Move CLDAP to the modern torture system, and add value checking.
Andrew Bartlett
2008-01-06 21:21:02 -06:00
Jelmer Vernooij
2f29f80e07 r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange. 2008-01-01 16:12:15 -06:00
Jelmer Vernooij
6ac86f8be7 r26540: Revert my previous commit after concerns raised by Andrew. 2007-12-21 05:52:06 +01:00
Jelmer Vernooij
e53e79eebe r26539: Remove unnecessary statics. 2007-12-21 05:52:05 +01:00
Jelmer Vernooij
459e1466a4 r26376: Add context for libcli_resolve. 2007-12-21 05:49:12 +01:00
Jelmer Vernooij
5d589a0d94 r26355: Eliminate global_loadparm in more places. 2007-12-21 05:49:01 +01:00
Jelmer Vernooij
17637e4490 r26353: Remove use of global_loadparm. 2007-12-21 05:48:57 +01:00
Jelmer Vernooij
e9875fcd56 r26271: Remove some more uses of global_loadparm. 2007-12-21 05:47:53 +01:00
Jelmer Vernooij
c7eae1c784 r26264: pass name resolve order explicitly, use torture context for settings in dssync tests. 2007-12-21 05:47:39 +01:00
Jelmer Vernooij
a33a553054 r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm. 2007-12-21 05:47:20 +01:00
Jelmer Vernooij
152e2b1a28 r26223: Move loadparm context up in the stack. 2007-12-21 05:46:59 +01:00
Jelmer Vernooij
56dfcb4f2f r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies. 2007-12-21 05:45:40 +01:00
Stefan Metzmacher
6223c7fddc r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/

metze
2007-12-21 05:45:02 +01:00
Jelmer Vernooij
566aa14139 r25554: Convert last instances of BOOL, True and False to the standard types. 2007-10-10 15:07:55 -05:00
Jelmer Vernooij
3468952e77 r25446: Merge some changes I made on the way home from SFO:
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
df9cebcb97 r25035: Fix some more warnings, use service pointer rather than service number in more places. 2007-10-10 15:05:43 -05:00
Jelmer Vernooij
da3a7ee407 r24728: Use more stock torture functions. 2007-10-10 15:02:58 -05:00
Andrew Bartlett
3d74d178bf r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.
Andrew Bartlett
2007-10-10 15:02:27 -05:00
Andrew Tridgell
fcf38a38ac 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.
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
93089ad5e8 r22579: disable progress printing in the build-farm
metze
2007-10-10 14:51:47 -05:00
Andrew Bartlett
7f115579d2 r21761: - Give more detail on LDAP client library failures (make it clear
where the error is from)

- Make default error string more consistant

Andrew Bartlett
2007-10-10 14:49:24 -05:00
Stefan Metzmacher
a9b757dddc r21463: add a LDAP-UPTODATEVECTOR test, it shows that the "replUpToDateVector"
isn't updated by originating changes, and that there's no entry for the local
dsa invocation_id

metze
2007-10-10 14:48:39 -05:00
Stefan Metzmacher
6ecd1342de r20766: when creating dsdb_attribute or dsdb_class structs from ldb, try the oid mapping
if the dsdb_schema has mappings attached

metze
2007-10-10 14:40:49 -05:00
Stefan Metzmacher
0ccd35bb3d r20735: print out a headline and the oMObjectClass
metze
2007-10-10 14:40:34 -05:00
Stefan Metzmacher
dd9ef6e5ab r20318: do what the printf statement says:-)
metze
2007-10-10 14:29:39 -05:00
Stefan Metzmacher
cfcd6285e1 r20305: as the oid mapping table is dynnamic it makes no sense
to test the mappings when we got the schema via LDAP
as we don't get the mappings

metze
2007-10-10 14:29:36 -05:00
Stefan Metzmacher
3af0a9b2c4 r20231: - add more oid => uint32 id mappings
- handle the case where mappings for 1.2.3.4. and 1.2.3.4.5. prefixes
  exist
- extend test suite for the mappings

metze
2007-10-10 14:29:26 -05:00
Stefan Metzmacher
58ba6ec195 r20221: - move the dsdb_schema, dsdb_attribute, dsdb_class structs into
a generic location
- this struct should be also used by the dsdb/samdb/ldb_modules/schema.c
  module later
- add functions to map from LDAP OID values to uint32_t values
- add torture test for the OID => uint32 mapping code

metze
2007-10-10 14:29:23 -05:00
Simo Sorce
a580c871d3 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.
2007-10-10 14:28:22 -05:00
Stefan Metzmacher
712577d9e2 r19737: - add some more CLDAP rootdse tests
- don't ignore CLDAP rootdse errors anymore

metze
2007-10-10 14:28:17 -05:00
Jelmer Vernooij
7a01235067 r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
2007-10-10 14:24:41 -05:00
Jelmer Vernooij
b28860978f r19392: Use torture_setting_* rather than lp_parm_* where possible. 2007-10-10 14:21:24 -05:00
Jelmer Vernooij
0eb6097305 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.
2007-10-10 14:21:12 -05:00
Simo Sorce
de45756ea6 r19331: Respect the mem hierarchy 2007-10-10 14:21:11 -05:00
Simo Sorce
6fad80bb09 r19299: Fix possible memleaks 2007-10-10 14:21:04 -05:00
Andrew Tridgell
c440e0eed9 r18309: FreeBSD 6.1 has a symbol ldap_new_connection() in the system ldap
library. Even though we don't like to that library, it gets loaded via
nss-ldap, which means nss-ldap calls into the samba ldap lib with the
wrong parameters, and crashes.

We really need to use a completely different namespace in libcli/ldap/
2007-10-10 14:18:06 -05:00
Jelmer Vernooij
f7afa1cb77 r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
2007-10-10 14:16:54 -05:00
Simo Sorce
ad75cf8695 r17516: Change helper function names to make more clear what they are meant to do 2007-10-10 14:15:31 -05:00
Simo Sorce
c6aa60c7e6 r17186: "async" word abuse clean-up part 2 2007-10-10 14:10:17 -05:00
Simo Sorce
25fc735404 r17185: Oh, I wanted to do this for sooo long time.
Finally acknowledge that ldb is inherently async and does not have a dual personality anymore
Rename all ldb_async_XXX functions to ldb_XXX except for ldb_async_result, it is now ldb_reply
to reflect the real function of this structure.

Simo.
2007-10-10 14:10:16 -05:00
Jelmer Vernooij
819d3b4576 r16333: Move more code out of the core smbtorture. It now no longer
contains protocol-specific code.
2007-10-10 14:09:11 -05:00
Simo Sorce
b52e5d6a0c r16036: Add a couple of new functions to corretly deal with timeouts.
Check timeouts are correctly verified.
Some minor fixed and removal of unused code.
2007-10-10 14:08:52 -05:00
Stefan Metzmacher
0540a5f220 r15962: fix a crash when connect fails
metze
2007-10-10 14:08:45 -05:00
Stefan Metzmacher
1908f0cd62 r15957: - add a test that fetches the schema from an windows LDAP server,
and stores it into structures.
- this prints out some useful information on the screen about
  attributes (will be extended for objectClasses too)
- the plan is to create hide the relation of structures behind an interface
  we can later use this interface in a lot of places:
  - our schema module for ldb
  - the ndr_print code for DsGetNCChanges, to translate the uint32 attribute
    and objectClass id's into names, display attribute values depending on the
    attribute syntax
  - ...

metze
2007-10-10 14:08:45 -05:00
Simo Sorce
efb7e39e51 r15788: Do not crash when no result is returned 2007-10-10 14:08:20 -05:00
Andrew Tridgell
388e98e77c r15530: added testing of generic CLDAP requests, looking at the rootDSE. Jerry
has found that w2k3 does respond to rootDSE cldap requests. This test
shows that it does indeed work, but the expression handling is not
what you would expect
2007-10-10 14:05:54 -05:00
Jelmer Vernooij
426ac78108 r14721: Fix a couple of warnings. 2007-10-10 13:59:13 -05:00
Jelmer Vernooij
3c7a5ce291 r14720: Add torture_context argument to all torture tests 2007-10-10 13:59:13 -05:00