Stefan Metzmacher
d47be61769
r25983: ldb: link shared library against $(LDAP_LIBS)
...
metze
(This used to be commit 0437ae18455e6721da70cf8a2f1e798f9f28756b)
2007-12-21 05:45:28 +01:00
Stefan Metzmacher
31fe478cec
r25982: libreplace: try to ignore unresolved symbols in modules on Tru64
...
metze
(This used to be commit bfde13b70b6be4c4aeeafa50d4619237930f9e0e)
2007-12-21 05:45:28 +01:00
Andrew Bartlett
579eca54b7
r25981: Don't create an ldb_request on NULL.
...
A re-arrangment of the code due to the base DN checking meant that the
ac->down_req array wasn't started, so was NULL
Andrew Bartlett
(This used to be commit 0a44b8e9f3e1a85c27d105cdd1572a0df936f612)
2007-12-21 05:45:27 +01:00
Stefan Metzmacher
d7e5d3fe27
r25978: build: use AC_LIBREPLACE_MDLD_* macros and use the result to build modules
...
metze
(This used to be commit f86db3348b0ee243988526578cc09c2d5d9a70af)
2007-12-21 05:45:27 +01:00
Stefan Metzmacher
b415712d3f
r25977: libreplace: add AC_LIBREPLACE_MDLD and AC_LIBREPLACE_MDLD_FLAGS macros
...
They define the linker and link flags for building shared modules
metze
(This used to be commit 128b4e1a512a9ae5592ba7ccf8adde11189fc5a9)
2007-12-21 05:45:27 +01:00
Stefan Metzmacher
f744d3bc9f
r25976: libreplace: not all platforms like _XOPEN_SOURCE=600
...
- Only use _XOPEN_SOURCE=600 on Tru64
- _OSF_SOURCE is also Tru64 specific
metze
(This used to be commit d19ab62081ce4ee4273ff752ad0443782a994826)
2007-12-21 05:45:26 +01:00
Stefan Metzmacher
b751f23893
r25975: build: split SharedModule from SharedLibrary
...
metze
(This used to be commit 6f51dd97ac0161d09166bdce1e6aa57404b12056)
2007-12-21 05:45:26 +01:00
Stefan Metzmacher
fc2df89cd7
r25974: libreplace: see what the build-farm says if we use _XOPEN_SOURCE=600
...
On Tru64 this brings in socklen_t and some other socket stuff
metze
(This used to be commit d42f2e5759332f1f0c6c1269bd29ac62ddb11016)
2007-12-21 05:45:26 +01:00
Stefan Metzmacher
911fbed635
r25973: talloc: fix usage of SONAMEFLAG
...
metze
(This used to be commit 7fecb8f3cd9f5f69dce7b9e566011e5de1e01a4a)
2007-12-21 05:45:25 +01:00
Stefan Metzmacher
4cfea7da77
r25972: tdb: fix usage of SONAMEFLAG
...
metze
(This used to be commit 5aa20bb649136c21ae35f2578954f133bb7af233)
2007-12-21 05:45:24 +01:00
Stefan Metzmacher
ae75b11578
r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINE
...
metze
(This used to be commit 05b4619c5beff474488d1abe5e647acd94a3e20c)
2007-12-21 05:45:24 +01:00
Stefan Metzmacher
0f134fab53
r25970: libreplace: fix AC_N_DEFINE() so that some appears in config.h
...
metze
(This used to be commit a07c983fde52607806745914bb41039afb5618cc)
2007-12-21 05:45:23 +01:00
Stefan Metzmacher
de119cc807
r25969: ldb: link libnss_ldb.so.2 against the shared library
...
metze
(This used to be commit 36ef127c8b722cb7a6d709592a3d97d166e7228c)
2007-12-21 05:45:23 +01:00
Stefan Metzmacher
45e9a5ef6d
r25968: ldb: we need to use @SONAMEFLAG@ directly so that the '#' trick can work
...
metze
(This used to be commit 48957e4b2acd1c19c5be42c6de77eba190dfd7e2)
2007-12-21 05:45:23 +01:00
Stefan Metzmacher
9338ca3968
r25967: ldb: a module doesn't need to link against $(LIBS)
...
As the main library already links to it.
metze
(This used to be commit f6a8c36be6def543363fe1a2af9c0f875a07bbb5)
2007-12-21 05:45:22 +01:00
Andrew Bartlett
ef22b1a477
r25966: Don't force an 8 byte width to generated SIDs, as this can actually
...
end up with a SID with a space in it.
Andrew Bartlett
(This used to be commit 7771f59eadf7045d852e60aa365036da230b41b9)
2007-12-21 05:45:22 +01:00
Andrew Bartlett
fab68fd4d9
r25965: Remove duplicate block - thanks metze!
...
Andrew Bartlett
(This used to be commit d7e65da56454bc7721083e0aa7fa2e9c47f2b79d)
2007-12-21 05:45:21 +01:00
Andrew Bartlett
fe61b63393
r25964: Fix comment and use talloc hirachy in ldb_tdb initialisation.
...
Andrew Bartlett
(This used to be commit 05cc2a7d966a10f1f111d7bae3261e1087fdffe6)
2007-12-21 05:45:21 +01:00
Stefan Metzmacher
04cf937b8d
r25963: libreplace: samba3 doesn't use SONAMEFLAG on Mac OS 10, so also try this
...
metze
(This used to be commit e145accfc25c04597c786e0bddbaf37e0d493863)
2007-12-21 05:45:20 +01:00
Andrew Bartlett
f6312d1b5a
r25962: Move to more modern ldb functions loading module list.
...
Andrew Bartlett
(This used to be commit c3bfcf44a49c6a19579c85fb3660331177a436fb)
2007-12-21 05:45:20 +01:00
Andrew Bartlett
bd6a651b38
r25960: Enable checks on the validity of the search base on sam.ldb in Samba4.
...
Remove bogus check to return NO_SUCH_ENTRY in ldap_backend.c, as this
error is now correctly emited from ldb.
Andrew Bartlett
(This used to be commit ed57862b90812e5a38ca81935b131338112fb19f)
2007-12-21 05:45:19 +01:00
Andrew Bartlett
d544879e43
r25959: Add a new special DN to LDB: @OPTIONS
...
Use the checkBaseOnSearch attribute to control if we should check the
base DN on search requests.
Also ensure we honour any errors in searching, not just errors in the
supplied 'done' callback.
Andrew Bartlett
(This used to be commit deaac92f439ef001bfe052df170d6e34e8ba5845)
2007-12-21 05:45:18 +01:00
Andrew Bartlett
f8bf16960e
r25958: Callers of gendb_search_dn() don't expect to get
...
LDB_ERR_NO_SUCH_OBJECT for base searches. Return 0 in this case.
Andrew Bartlett
(This used to be commit eb180f6a6af0caf185e0f9782173c232dab9c5fb)
2007-12-21 05:45:18 +01:00
Andrew Bartlett
3f7dcaceba
r25957: Rework the cracknames code to use less gendb_search() and instead call
...
ldb_search_exp_fmt(). While it is a bit more verbose to code with, it
returns better error codes, and allows us to handle the case where the
base DN doesn't exist better.
Andrew Bartlett
(This used to be commit be6ef043a3f811e6b08d3e5fe7094a72d974134a)
2007-12-21 05:45:17 +01:00
Jelmer Vernooij
36a1640b27
r25956: Try metze's suggestion for Mac OS X shld flags.
...
(This used to be commit 5fea6e0d9ae671ea00292b66a2608b3ee954f917)
2007-12-21 05:45:17 +01:00
Stefan Metzmacher
85dd023f99
r25955: libreplace: add a useful link about linking shared libraries
...
http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html
metze
(This used to be commit 403c5521d1bbd78a6b20d7da121870a5aa1d3546)
2007-12-21 05:45:17 +01:00
Stefan Metzmacher
656d9f4304
r25954: we don't need this twice
...
metze
(This used to be commit 5cc89f1b8ec650560768b52b67302bc695b652c1)
2007-12-21 05:45:16 +01:00
Jelmer Vernooij
35efbc84c7
r25953: AIX make doesn't support $^.
...
(This used to be commit 91133d27110ee6447dbc64f1c8d52cb90ca1a86c)
2007-12-21 05:45:16 +01:00
Günther Deschner
b79e33826f
r25951: Add missing DS_SERVER_NDNC bit to netr_DsR_DcFlags.
...
Guenther
(This used to be commit 1b49119c7318495cb3f2e5894e8faa3726a7fa0a)
2007-12-21 05:45:15 +01:00
Andrew Bartlett
8959af0a6f
r25950: Enable seperate module to prevent subtree deletes.
...
Andrew Bartlett
(This used to be commit a71414ec3efd3e52a898b58bd2ea7d986518f531)
2007-12-21 05:45:15 +01:00
Andrew Bartlett
b34f286d3a
r25949: Make error messages clearer and more correct.
...
Andrew Bartlett
(This used to be commit f0a0d73f768434cb474b311d7c366d1f2a06c8f4)
2007-12-21 05:45:13 +01:00
Jelmer Vernooij
3e0efe2383
r25945: Fix flags for MacOS X.
...
(This used to be commit b01303b5677b03c1d3cc6f219d4c461726613767)
2007-12-21 05:45:12 +01:00
Jelmer Vernooij
0969ac9e61
r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
...
(This used to be commit 228dd6830eb9c91287bb3e0233d8b3a404ff3676)
2007-12-21 05:45:12 +01:00
Jelmer Vernooij
5adade2f2f
r25943: Fix soname on hpux.
...
(This used to be commit fd762b01ed378739241dc14b6af9df9fcfe7659c)
2007-12-21 05:45:11 +01:00
Andrew Bartlett
5d4f507a65
r25942: Make various ldb modules handle an LDB backend that enforces validity
...
of Base DNs in searches (returning an error of LDB_ERR_NO_SUCH_ENTRY).
We need to handle this if ldb_tdb is to behave correctly compared with
LDAP, as well as if we are using an LDAP backend.
In doing so, I realised that subtree_rename and subtree_delete
(prevention) need rather different wait loops, so it seemed easier to
split it out into it's own module.
I've fixed the licence on both of these modules to be GPLv3.
Andrew Bartlett
(This used to be commit d3894c90f31fb45e038ab478cd9d7d34962d069b)
2007-12-21 05:45:11 +01:00
Andrew Bartlett
7f18e15e3f
r25941: Use samdb_relative_path() (new function in samdb.c) in the partitions
...
module.
Andrew Bartlett
(This used to be commit c8d1ab30845fa1496c85630b138b1cb512c2b6aa)
2007-12-21 05:45:11 +01:00
Andrew Bartlett
3f2ca10d2d
r25940: Rework the samldb and templates handling.
...
Templates just don't belong in the sam.ldb, as they don't obey any of
the other rules. This moves them to a seperate templates.ldb.
In samldb, this patch reworks the duplicate SID and Name detection
code, to use ldb_search_exp_fmt() rather than gendb_search. This
returns far more useful errors, which we now handle and report better.
The call to samdb_search_for_parent_domain() has been moved in samldb,
to allow both the account and SID uniqueness checks to be in the same
domain. This function also returns better errors.
dcesrv_drsuapi.c is updated for the new prototype of
samdb_search_for_parent_domain()
Andrew Bartlett
(This used to be commit f1ab90c88c782c693b41795d70368650806543b5)
2007-12-21 05:45:10 +01:00
Andrew Bartlett
cadf696f8b
r25939: Rework the CLDAP server not to use gendb_search but to call ldb_search
...
directly.
Handle the errors from ldb_search (now that we get more than just -1),
including NO_SUCH_ENTRY when the base DN doesn't exist.
Andrew Bartlett
(This used to be commit e47df4a0fe5efd91f0355aa13c9b50c7be789767)
2007-12-21 05:45:10 +01:00
Andrew Bartlett
5294e82e21
r25938: We don't need the CLDAP server unless we are a DC.
...
Andrew Bartlett
(This used to be commit e8606bbcc67e24bdc2ee062ab3d808e5d2143d69)
2007-12-21 05:45:10 +01:00
Stefan Metzmacher
6c41194961
r25936: provision/newuser: don't try to set the 'memberOf' attribute
...
metze
(This used to be commit c6d959e52cf4b86a52e46402392f32450d3c3635)
2007-12-21 05:45:09 +01:00
Jelmer Vernooij
81ad27b309
r25935: Fix registry tests.
...
(This used to be commit b311094714b4d51ea7ea756df1aecba169dc0d45)
2007-12-21 05:45:09 +01:00
Andrew Bartlett
08dd389ddf
r25934: Handle a LDB_ERR_NO_SUCH_OBJECT return value when looking for the
...
modules.
This will be useful when we start enforcing validity in base DNs.
Andrew Bartlett
(This used to be commit aa8348a27a6938a1a26d4a7ed3b7405966202ad8)
2007-12-21 05:45:08 +01:00
Andrew Bartlett
f1ec8da56d
r25933: LDB: Don't free errstring until after the printf, in case it is one of
...
the arguments.
Andrew Bartlett
(This used to be commit af40b1cd88f0e932665f6fe90daae8e687a3dc0c)
2007-12-21 05:45:07 +01:00
Jelmer Vernooij
d0d0a69d0b
r25932: Remove unnecessary include - should fix the build on hosts without popt.
...
(This used to be commit f250ae0c361aef864f25dfc7599ce1e7a4e29cf8)
2007-12-21 05:45:07 +01:00
Jelmer Vernooij
73f88ad250
r25931: Add config .mk file for crypto lib.
...
(This used to be commit 21ab43158f723069dd70fae43d780878c38ead31)
2007-12-21 05:45:07 +01:00
Jelmer Vernooij
0b2780a6a4
r25930: fix test name
...
(This used to be commit 41dcd8c261aecaccee21667367bb524c13d620d9)
2007-12-21 05:45:06 +01:00
Jelmer Vernooij
7ab6f359f4
r25929: Add some help strings.
...
(This used to be commit ef364df37f2f00c238903bec4c8a035c05bdf366)
2007-12-21 05:45:06 +01:00
Jelmer Vernooij
dbc78e2016
r25928: Split up torture-local a bit.
...
(This used to be commit c6b109040856ba0f1ae0db2787cc838ff61df767)
2007-12-21 05:45:06 +01:00
Jelmer Vernooij
6ee570c327
r25927: Move share tests to param directory.
...
(This used to be commit f12f623da52aefdf49df9b77d87b9b0d48177c14)
2007-12-21 05:45:05 +01:00
Jelmer Vernooij
a86920600a
r25926: Move iconv test to iconv code directory.
...
(This used to be commit e20c4b90e4a935d3249d0b631b942fd318a2ece2)
2007-12-21 05:45:05 +01:00