1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

9968 Commits

Author SHA1 Message Date
Andrew Tridgell
d5c4606798 r17702: test for gcc, and only enable gcc flags if true
(This used to be commit 6495620d1819a50b79c77258ced9d0cadd25e129)
2007-10-10 14:16:27 -05:00
Andrew Tridgell
8c53215884 r17701: doxygen (if installed!) needs to be run in the src directory
(This used to be commit bd1bd1c5ce52e9399461041e11cc30c93ba356a9)
2007-10-10 14:16:27 -05:00
Andrew Bartlett
3d33bc10ed r17700: Despite our best hopes, the way module initialisation tends to happen,
we make searches before things are initialised.  Cope with this.

Andrew Bartlett
(This used to be commit daa1a61891ede404bcce72affb7094e5c452c689)
2007-10-10 14:16:27 -05:00
Andrew Bartlett
54b5ba20f6 r17699: Remove more printf calls.
Try to cope with partital initialisation.

Andrew Bartlett
(This used to be commit 3c497405fea2f3e48a0d1bb2818b6a1ff345d368)
2007-10-10 14:16:27 -05:00
Andrew Bartlett
cda3a37d76 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
(This used to be commit 5bcfa12cef0d9eba5d5d1f65f676e7852297667f)
2007-10-10 14:16:27 -05:00
Andrew Tridgell
1d1f100a73 r17697: - enable test for slapd
- include popt.m4
(This used to be commit 55748bb382358c1ecbef3d2d696833b695f75d74)
2007-10-10 14:16:26 -05:00
Andrew Tridgell
787dbed6c3 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
(This used to be commit 13e14e0f8decbb7f3bafed9d980950d825a985e6)
2007-10-10 14:16:26 -05:00
Andrew Tridgell
66758e092b r17695: added installcheck target
(This used to be commit 7cca1f83f40106707c00edf612796451536d73e5)
2007-10-10 14:16:26 -05:00
Andrew Bartlett
23557a9f17 r17694: Don't use printf() in a module...
(This used to be commit 9f810ddd1436672e16a6b80500bb14aa21e097de)
2007-10-10 14:16:26 -05:00
Andrew Tridgell
70da14f025 r17693: only install man pages if we have managed to generate them with
xsltproc
(This used to be commit 3e48177dd138d835766cba304d266fd30a87ebef)
2007-10-10 14:16:26 -05:00
Andrew Tridgell
be99212aec r17692: - don't try and run ldap tests unless we have slapd
- fix manpages install
(This used to be commit 9bc751d1f18be1b03e47412e94abe6390f752f98)
2007-10-10 14:16:25 -05:00
Andrew Bartlett
3e83b0fac4 r17691: Make the structure more public, so we have somewhere for calling
modules to put private data.

Andrew Bartlett
(This used to be commit ba00f45357d113bf245c6622ef96701aa7c7026c)
2007-10-10 14:16:25 -05:00
Andrew Bartlett
e4759eb0b6 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
(This used to be commit fb085a651ff60ab9b5d120a1ea228ff3edf0c224)
2007-10-10 14:16:25 -05:00
Andrew Tridgell
c2bc9bdda1 r17689: build works, this should fix install ....
(This used to be commit 9a7c1df956ad2e5abaa33b4c808cc1379c2d1c67)
2007-10-10 14:16:25 -05:00
Andrew Tridgell
c21e51b19a r17688: the commit/test cycle for getting this to work in the build farm sure
is tedious! nearly there I hope .....
(This used to be commit d0412765bade27acdd5cc03d7d527fe7ddd1fb11)
2007-10-10 14:16:25 -05:00
Andrew Tridgell
c4e83e8efc r17687: remove circular dependency
(This used to be commit b12fd256ff827f45f24c56edbc6f44248ba9b9a3)
2007-10-10 14:16:24 -05:00
Andrew Tridgell
04d5c4aefd r17686: tdb.pc is in the build directory
(This used to be commit 01b76c7aa118f853593d006803796e50e8821533)
2007-10-10 14:16:24 -05:00
Andrew Tridgell
f35b215147 r17685: talloc.pc is in the build directory
(This used to be commit 14a8faa1640db4c083e7b9b06c21d466d0ef0ce3)
2007-10-10 14:16:24 -05:00
Andrew Tridgell
67c5ccbd93 r17684: and we need -Iinclude for tdb
(This used to be commit 3a22b28f2b6d960e00acf1038d8cd3b820cf0be7)
2007-10-10 14:16:23 -05:00
Andrew Tridgell
a11045d913 r17683: to pick up config.h we need -I. as well for talloc
(This used to be commit 07401300ffccd832371d1f6288052aa293a2eeb4)
2007-10-10 14:16:23 -05:00
Andrew Bartlett
7fcafb7a9e r17682: Add newline to end of file
(This used to be commit 0e97b71386601a80f4bc264ee54e90a3a8a5841d)
2007-10-10 14:16:23 -05:00
Andrew Tridgell
d132f724bd r17681: fixed standalone talloc build to support building in a separate
directory
(This used to be commit c137a7049ed6a74c035ef7fad86ac1e77e31028c)
2007-10-10 14:16:23 -05:00
Andrew Tridgell
9a883a6336 r17680: make standalone tdb support building and testing in a different
directory to source
(This used to be commit a81a3874e1a40131cbba22d14d7b68fd0f5b54c5)
2007-10-10 14:16:23 -05:00
Andrew Tridgell
35817c01a8 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
(This used to be commit 580ed6730d33bad62e9799a38377c40f2852ae89)
2007-10-10 14:16:22 -05:00
Andrew Tridgell
862ba26172 r17678: don't free result message twice
(This used to be commit e3908818198bf0f89c1140e659ab2140bdfbc323)
2007-10-10 14:16:22 -05:00
Andrew Tridgell
b22105f1ac r17675: increase max torture test runtime - we have some v slow hosts in the
farm!
(This used to be commit 6a7800064fe456b47ea6d8b781a3e7fe7f8353ad)
2007-10-10 14:16:22 -05:00
Andrew Tridgell
714f3991a1 r17674: fixed a problem on with our configure logic on systems that have
libgnutls but not some of the crt functions
(This used to be commit 7a0264c52dd8ab1b1bb321462f66955a866d90a9)
2007-10-10 14:16:22 -05:00
Rafal Szczesniak
19a88e32cb r17671: Update the tests according to changes in libnet context.
rafal
(This used to be commit 9e7709de62ccb66d312e985fa0846b1004e77d32)
2007-10-10 14:16:22 -05:00
Rafal Szczesniak
1f8fda717f 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
(This used to be commit fe5652c2b8121bbe3b9932c43164035355478611)
2007-10-10 14:16:21 -05:00
Simo Sorce
7cb4dcf146 r17662: some more enhancements to our schema extraction tool,
with a nasty hack in minschema.js that I really hate
(This used to be commit 74c40719f2965e2bc055e539f0933d95df070fbf)
2007-10-10 14:16:21 -05:00
Andrew Bartlett
372c2ea4dc 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
(This used to be commit 1ddd06f24d71c606241863cf4fe047833c64a6d2)
2007-10-10 14:16:21 -05:00
Andrew Tridgell
a8aea84267 r17660: fixed configure test
(This used to be commit 28238ad8f15b8bd3c49fb0b235becca25615cfe6)
2007-10-10 14:16:21 -05:00
Andrew Tridgell
cbbaa36fbf r17659: cope with systems without the x509 gnutls functions
(This used to be commit 8148534d9c9e566c4ecd9b29857fa96916cd9e3f)
2007-10-10 14:16:21 -05:00
Andrew Tridgell
691e5e5fdc 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
(This used to be commit ad539ec11401732d1da0abd8eef1fe849a216c21)
2007-10-10 14:16:20 -05:00
Andrew Tridgell
b950a91fb2 r17656: some systems (like older solaris) don't return ENOTEMPTY on rmdir()
with non-empty directory
(This used to be commit 1775381afad8a97777a45b6e98802dda8b389ecb)
2007-10-10 14:16:20 -05:00
Simo Sorce
3f229bd583 r17653: fix typo
(This used to be commit aca800bdcc5f402c1fc241e9e9c495933c85b715)
2007-10-10 14:16:20 -05:00
Simo Sorce
d7799784af r17652: add oMSyntax to these attributes
(This used to be commit 425fda84e2a4636c87b30df9df3f2c998202c933)
2007-10-10 14:16:20 -05:00
Simo Sorce
cb4ebd8917 r17651: Commit the set of classess used to generate our schema
and update the schema with the latest additions
(This used to be commit 09a32726111200e421b6fcacf1586bfbe6024fa6)
2007-10-10 14:16:20 -05:00
Simo Sorce
a46beefeb7 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
(This used to be commit 8dd1c1c05bc592d76d6e34b303048faf05c0fa6e)
2007-10-10 14:16:19 -05:00
Andrew Tridgell
a1bc3fb02e r17647: the init fns should not take a mem_ctx
(This used to be commit e32fdc7e684b088629a5e858dd5bf0b80507ed65)
2007-10-10 14:16:19 -05:00
Andrew Bartlett
66bbd44ec1 r17646: Use authentication if specified.
Andrew Bartlett
(This used to be commit 67c9cd508ed9b28b4d605b79f6de421071177fa7)
2007-10-10 14:16:19 -05:00
Andrew Tridgell
f23be49188 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.
(This used to be commit 8236a0ac5e80c30e52fccc0ef41a6c808ea43420)
2007-10-10 14:16:19 -05:00
Andrew Tridgell
c8064e1f92 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.
(This used to be commit 45c0580e5d3b18301bc5706423bb407d001fb61d)
2007-10-10 14:16:18 -05:00
Simo Sorce
798e4c687c r17642: some more mappings
(This used to be commit df1fe1a5c543453d5500ded30a982e7795d88670)
2007-10-10 14:16:18 -05:00
Simo Sorce
4fc0366bce r17641: some more info, add oMObjectClass values (binary :-/)
(This used to be commit b07a783b9881c5df305b939cd2acf9ee69610e9c)
2007-10-10 14:16:18 -05:00
Andrew Bartlett
acd66674b4 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
(This used to be commit 3b5c973988648a2b2a5e1885ee894607e4d9679b)
2007-10-10 14:16:18 -05:00
Andrew Bartlett
0148cfae31 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
(This used to be commit dc37c48724115940094a0f6003ee2f74fe81d102)
2007-10-10 14:16:18 -05:00
Andrew Bartlett
3d603bdd66 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
(This used to be commit 6fd6239a0f16154c13713bf1398b2873d1103335)
2007-10-10 14:16:17 -05:00
Simo Sorce
ff5120ea1f r17632: This is the most accurate mappings between LDAP OID Syntaxes and AD Syntaxes.
Generated by scripts that cross information from the Windows Schema and the
aggregate schema and cross verified by searching on the net
(This used to be commit 996452844a9ac3df10e8b2c63dc693e5a753fc9d)
2007-10-10 14:16:17 -05:00
Simo Sorce
4719fede4c r17631: Some syntaxes from MS in a now vanished internet draft
(This used to be commit 1020edb0c721da8889f5ce93e5497bb34ebbf786)
2007-10-10 14:16:17 -05:00