1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

9970 Commits

Author SHA1 Message Date
Andrew Bartlett
d5814b689e r17704: Add comments suggesting how to get the LDAP backend working.
Shutdown and reload the LDB, so the entryUUID module knows to read the
schema (will be changed once we have a central schema store and
notifications).

Andrew Bartlett
2007-10-10 14:16:28 -05:00
Andrew Bartlett
420d1920a6 r17703: Fixes to enable the entryUUID module to work for it's objectClass ->
OID mappings.

The key point is to 'enable' the partitions in the partitions module
before the init is complete.  That way, the modules can perform
searches that use partitions.

Andrew Bartlett
2007-10-10 14:16:28 -05:00
Andrew Tridgell
6495620d18 r17702: test for gcc, and only enable gcc flags if true 2007-10-10 14:16:27 -05:00
Andrew Tridgell
bd1bd1c5ce r17701: doxygen (if installed!) needs to be run in the src directory 2007-10-10 14:16:27 -05:00
Andrew Bartlett
daa1a61891 r17700: Despite our best hopes, the way module initialisation tends to happen,
we make searches before things are initialised.  Cope with this.

Andrew Bartlett
2007-10-10 14:16:27 -05:00
Andrew Bartlett
3c497405fe r17699: Remove more printf calls.
Try to cope with partital initialisation.

Andrew Bartlett
2007-10-10 14:16:27 -05:00
Andrew Bartlett
5bcfa12cef r17698: The original code assumed that &data->context was a valid talloc
pointer.

This only works when this is the only structure member, but when I
added a new context pointer, it failed.

Andrew Bartlett
2007-10-10 14:16:27 -05:00
Andrew Tridgell
55748bb382 r17697: - enable test for slapd
- include popt.m4
2007-10-10 14:16:26 -05:00
Andrew Tridgell
13e14e0f8d r17696: attempt to allow ldb to use an external popt directory, so we can
point it at the popt sources in the samba source tree when building in
the build farm
2007-10-10 14:16:26 -05:00
Andrew Tridgell
7cca1f83f4 r17695: added installcheck target 2007-10-10 14:16:26 -05:00
Andrew Bartlett
9f810ddd14 r17694: Don't use printf() in a module... 2007-10-10 14:16:26 -05:00
Andrew Tridgell
3e48177dd1 r17693: only install man pages if we have managed to generate them with
xsltproc
2007-10-10 14:16:26 -05:00
Andrew Tridgell
9bc751d1f1 r17692: - don't try and run ldap tests unless we have slapd
- fix manpages install
2007-10-10 14:16:25 -05:00
Andrew Bartlett
ba00f45357 r17691: Make the structure more public, so we have somewhere for calling
modules to put private data.

Andrew Bartlett
2007-10-10 14:16:25 -05:00
Andrew Bartlett
fb085a651f r17690: Demonstrate how we can read the schema to find out details needed for
translation.  I hope to have this reading a schema structure in the
future.

Andrew Bartlett
2007-10-10 14:16:25 -05:00
Andrew Tridgell
9a7c1df956 r17689: build works, this should fix install .... 2007-10-10 14:16:25 -05:00
Andrew Tridgell
d0412765ba r17688: the commit/test cycle for getting this to work in the build farm sure
is tedious! nearly there I hope .....
2007-10-10 14:16:25 -05:00
Andrew Tridgell
b12fd256ff r17687: remove circular dependency 2007-10-10 14:16:24 -05:00
Andrew Tridgell
01b76c7aa1 r17686: tdb.pc is in the build directory 2007-10-10 14:16:24 -05:00
Andrew Tridgell
14a8faa164 r17685: talloc.pc is in the build directory 2007-10-10 14:16:24 -05:00
Andrew Tridgell
3a22b28f2b r17684: and we need -Iinclude for tdb 2007-10-10 14:16:23 -05:00
Andrew Tridgell
07401300ff r17683: to pick up config.h we need -I. as well for talloc 2007-10-10 14:16:23 -05:00
Andrew Bartlett
0e97b71386 r17682: Add newline to end of file 2007-10-10 14:16:23 -05:00
Andrew Tridgell
c137a7049e r17681: fixed standalone talloc build to support building in a separate
directory
2007-10-10 14:16:23 -05:00
Andrew Tridgell
a81a3874e1 r17680: make standalone tdb support building and testing in a different
directory to source
2007-10-10 14:16:23 -05:00
Andrew Tridgell
580ed6730d r17679: - fix 'make test-ldap' to skip ldb specials
- allow ldb to be built in a separate build directory, using:

     /some/path/to/ldb/configure
     make

  this will make it much easier to put ldb in the build farm without
  interfering with the build farm builds of tdb and talloc
2007-10-10 14:16:22 -05:00
Andrew Tridgell
e390881819 r17678: don't free result message twice 2007-10-10 14:16:22 -05:00
Andrew Tridgell
6a7800064f r17675: increase max torture test runtime - we have some v slow hosts in the
farm!
2007-10-10 14:16:22 -05:00
Andrew Tridgell
7a0264c52d r17674: fixed a problem on with our configure logic on systems that have
libgnutls but not some of the crt functions
2007-10-10 14:16:22 -05:00
Rafal Szczesniak
9e7709de62 r17671: Update the tests according to changes in libnet context.
rafal
2007-10-10 14:16:22 -05:00
Rafal Szczesniak
fe5652c2b8 r17670: 1) Refactor libnet context structure a bit, to have rpc connection
properties more consistently reflected.
2) Add domain open routine for lsa pipe - this is needed for ongoing
   name resolve function.

Tests (still neglected) and comments to follow.

rafal
2007-10-10 14:16:21 -05:00
Simo Sorce
74c40719f2 r17662: some more enhancements to our schema extraction tool,
with a nasty hack in minschema.js that I really hate
2007-10-10 14:16:21 -05:00
Andrew Bartlett
1ddd06f24d r17661: A patch from Martin Kuehl:
This commit extends the samba3sam test suite, which contains tests for
the samba3sam and ldb_map modules, with a lot of tests for inbound,
i.e. add, modify, rename and delete requests.

The tests each add a single record, modify it, rename it, and then
delete it, at each step checking that the operations were successful
and that the right data went into the right partitions.
They are run for an unmapped record, a mapped record with data only in
the remote partition, a mapped record with remote data that is later
modified to include local data, and a mapped record with data in both
the local and remote partitions.

It also adds a function to the backend objects that makes construction
of DNs for their respective partitions more comfortable.

Cheers,
Martin
2007-10-10 14:16:21 -05:00
Andrew Tridgell
28238ad8f1 r17660: fixed configure test 2007-10-10 14:16:21 -05:00
Andrew Tridgell
8148534d9c r17659: cope with systems without the x509 gnutls functions 2007-10-10 14:16:21 -05:00
Andrew Tridgell
ad539ec114 r17658: several replacement snprintf() fixes.
1) when running the testsuite, actually test against the system
   sprintf(), not against ourselves (doh!)

2) fix the buffer termination to terminate buf2 as well

3) fix handling of %llu, and add a simple test

This fixes a bug with password expiry on solaris
2007-10-10 14:16:20 -05:00
Andrew Tridgell
1775381afa r17656: some systems (like older solaris) don't return ENOTEMPTY on rmdir()
with non-empty directory
2007-10-10 14:16:20 -05:00
Simo Sorce
aca800bdcc r17653: fix typo 2007-10-10 14:16:20 -05:00
Simo Sorce
425fda84e2 r17652: add oMSyntax to these attributes 2007-10-10 14:16:20 -05:00
Simo Sorce
09a3272611 r17651: Commit the set of classess used to generate our schema
and update the schema with the latest additions
2007-10-10 14:16:20 -05:00
Simo Sorce
8dd1c1c05b r17648: update minschema.js
this version returns also oMSyntax and oMObjectClass and also
use the right value for the objects CNs

add a nasty hack to ejs' mprLdbMessage() to handle binary blobs situations
2007-10-10 14:16:19 -05:00
Andrew Tridgell
e32fdc7e68 r17647: the init fns should not take a mem_ctx 2007-10-10 14:16:19 -05:00
Andrew Bartlett
67c9cd508e r17646: Use authentication if specified.
Andrew Bartlett
2007-10-10 14:16:19 -05:00
Andrew Tridgell
8236a0ac5e r17645: gcc 4.1.x has started producing "value computed is not used" warnings
in very annoying ways for talloc_steal. This rather strange looking
cpp approach avoids these warnings. It's really a problem in gcc, but
better to do this than put up with the huge flood of warnings.
2007-10-10 14:16:19 -05:00
Andrew Tridgell
45c0580e5d r17644: change the ldap server to always use the single process model. We are
not aiming to produce a high performance parallel ldap server, so
better to reserve the extra CPUs on a SMP box for file serving.
2007-10-10 14:16:18 -05:00
Simo Sorce
df1fe1a5c5 r17642: some more mappings 2007-10-10 14:16:18 -05:00
Simo Sorce
b07a783b98 r17641: some more info, add oMObjectClass values (binary :-/) 2007-10-10 14:16:18 -05:00
Andrew Bartlett
3b5c973988 r17639: Martin Kuhl noticed that we loaded an incorrect value for
distinguisedName on templated objects.

In looking how to handle distinguishedName correctly on LDAP, I was
very glad to find it supported entryDN, and this adds another mapping.

Andrew Bartlett
2007-10-10 14:16:18 -05:00
Andrew Bartlett
dc37c48724 r17634: Kill off another case where we used dnsDomain, and point it again at
dnsRoot.

Fix to read the nETBIOSName from the correct result.

Andrew Bartlett
2007-10-10 14:16:18 -05:00
Andrew Bartlett
6fd6239a0f r17633: Return NULL at the end of the file, or else we can't tell the
difference between end of file and a blank line.

Andrew Bartlett
2007-10-10 14:16:17 -05:00