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

1322 Commits

Author SHA1 Message Date
Jelmer Vernooij
a785df0c0a ldap/python: Fix some more calls.
(This used to be commit 583881ae5a)
2008-01-11 03:27:26 +01:00
Jelmer Vernooij
1d8cdddcd0 python/ldap: Support controls argument to ldb.search().
(This used to be commit 9eddc27f13)
2008-01-11 03:26:45 +01:00
Andrew Bartlett
6a875cc852 Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 597f9fe176)
2008-01-11 13:16:08 +11:00
Andrew Bartlett
f5277a3e21 Rework ldbsearch to avoid segfault when remote LDAP server returns
referrals.

Andrew Bartlett
(This used to be commit 8099facff9)
2008-01-11 13:15:49 +11:00
Andrew Bartlett
3dab82394e Fix segfault when sorting LDAP replies on the client.
Andrew Bartlett
(This used to be commit c72c39326b)
2008-01-11 12:47:51 +11:00
Jelmer Vernooij
1f4838b8a3 python/ldap: Wrap parse_control_strings().
(This used to be commit b27e5a6853)
2008-01-11 02:36:59 +01:00
Jelmer Vernooij
2466d2cc5e ldb/python: Allow comparing a MessageElement to a list or a singleton.
(This used to be commit 1ccbab81d7)
2008-01-11 01:55:56 +01:00
Jelmer Vernooij
c3695026e1 ldb/python: Implement __len__ for MessageElement.
(This used to be commit a8f90ed34c)
2008-01-11 01:04:25 +01:00
Jelmer Vernooij
9269db983d python/ldb: Add __getitem__ implementation for LdbMessageElement.
(This used to be commit e6498a0780)
2008-01-11 01:04:25 +01:00
Jelmer Vernooij
fd39d2050c r26701: ldb: Build and install python modules when possible.
(This used to be commit 7a66d0eff6)
2008-01-10 09:42:04 -06:00
Andrew Bartlett
bb93a7ed5e r26684: Trivial cleanup from Matthias Dieter Wallnöfer, from bug 5090
Andrew Bartlett
(This used to be commit 0016231edd)
2008-01-06 23:27:02 -06:00
Jelmer Vernooij
9987095378 r26641: ldb(Python): Remove some unnecessary {}'s.
(This used to be commit f250bc18e9)
2008-01-01 19:57:02 -06:00
Jelmer Vernooij
f4b30bebca r26631: ldb/python: Fix missing elements bug and memory leak. * Don't increase the PyDict_Next() counter - Python already does that for us. * Fix a talloc(NULL, ...) memory leak in the code that constructed ldb message elements.
(This used to be commit dc2a612927)
2007-12-30 10:51:07 -06:00
Jelmer Vernooij
405a20b44f r26623: python: Allow specifying URL rather than host name on the command-line.
(This used to be commit 108f6caffe)
2007-12-28 10:33:02 -06:00
Jelmer Vernooij
0098543d67 r26617: Load smb.conf.
(This used to be commit 3f7bfef195)
2007-12-27 17:36:06 -06:00
Jelmer Vernooij
18f9eaca07 r26615: Fix Python syntax
(This used to be commit cc15136c1e)
2007-12-27 17:36:05 -06:00
Andrew Bartlett
d80873665c r26611: Tridge didn't write this...
Andrew Bartlett
(This used to be commit 002ddc315f)
2007-12-27 01:51:04 -06:00
Jelmer Vernooij
a822a14d1e r26584: Fix exception handling in ldb constructor.
(This used to be commit 5383cf8e69)
2007-12-26 11:57:03 -06:00
Jelmer Vernooij
5e574b2b94 r26582: Use the same swig flags everywhere.
(This used to be commit 7008f90e03)
2007-12-24 01:51:07 -06:00
Simo Sorce
5a1433cae7 r26581: Make ldb_wait uniform, so that it is easy to remove it completely from modules
later on.
(This used to be commit f75ce8c20a)
2007-12-24 01:51:07 -06:00
Jelmer Vernooij
c13ae70731 r26580: Include sentinel in build.h, in case the list is empty.
(This used to be commit f1997dabed)
2007-12-24 01:51:07 -06:00
Jelmer Vernooij
9852e793bc r26577: Fix the standalone ldb build.
(This used to be commit 1cf374eb31)
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
be33f4c611 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
(This used to be commit ba8be2dfc0)
2007-12-24 01:51:06 -06:00
Simo Sorce
2d400c1dd1 r26574: Do not call functions in the variable declaration, fix checking for tmp_ctx,
and also makes code more readable and debuggable.

Eliminate silly parenthesys.

Simo.
(This used to be commit 166195b487)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
d0ba9f0014 r26572: Fix warnings in the Python code.
(This used to be commit 15038d9586)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
aa0a06f13c r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.
(This used to be commit c550c03372)
2007-12-24 01:51:03 -06:00
Volker Lendecke
784c22899f r26569: Jelmer tells me that ldb must inevitably be build as a shared library,
otherwise it will break.

Sorry for breaking Samba4.

I will have to look how we can fix Samba3 :-(((
(This used to be commit c1dd0af164)
2007-12-24 01:51:02 -06:00
Volker Lendecke
9c32358ac7 r26568: Revert r26482
Next attempt to fix the Samba3 torture breakage

Jelmer, can you please review this?

Thanks,

Volker
(This used to be commit 1d624c8b88)
2007-12-24 01:51:02 -06:00
Jelmer Vernooij
fb021305e4 r26567: Allow registering new ldb modules from python.
(This used to be commit 485db76d84)
2007-12-24 01:51:02 -06:00
Jelmer Vernooij
0500b87092 r26540: Revert my previous commit after concerns raised by Andrew.
(This used to be commit 6ac86f8be7)
2007-12-21 05:52:06 +01:00
Jelmer Vernooij
3e75f222bc r26539: Remove unnecessary statics.
(This used to be commit e53e79eebe)
2007-12-21 05:52:05 +01:00
Jelmer Vernooij
6e2459211d r26537: Support ldb.add({'dn': 'dc=foo,bar=bla', ...}).
(This used to be commit e91fe76d29)
2007-12-21 05:51:57 +01:00
Andrew Bartlett
131c40a421 r26529: Indeed, this belongs in the schema module. Ranged results need to use
an attribute with ';' in the name.

Andrew Bartlett
(This used to be commit f4023b176e)
2007-12-21 05:51:52 +01:00
Jelmer Vernooij
b0360e3a86 r26496: Move some provision functions to a new SamDB class, support setting session_info on a ldb context from python.
(This used to be commit 75cfb0d609)
2007-12-21 05:50:50 +01:00
Jelmer Vernooij
71e2cafe96 r26483: Merge ldb module dependency fixes, fix auth python module.
(This used to be commit 85eeecf997)
2007-12-21 05:50:41 +01:00
Jelmer Vernooij
20a6fcf726 r26482: Use shared library version of ldb, to make sure not every module ends up with its own private copy of ldb with its own list of modules...
(This used to be commit ef029d950c)
2007-12-21 05:50:39 +01:00
Jelmer Vernooij
cb62bbbb7c r26481: Make function for loading symbol from DSO more generic, and allow modules to provide an ops table directly rather than an initialization function.
(This used to be commit a71419a73a)
2007-12-21 05:50:38 +01:00
Jelmer Vernooij
07beaf09c9 r26480: Add utility class for testing LDB code.
(This used to be commit d7f0b12c9e)
2007-12-21 05:50:37 +01:00
Jelmer Vernooij
0a01f50f98 r26475: Add ldb.set_credentials function.
(This used to be commit dbebb4ef47)
2007-12-21 05:50:35 +01:00
Jelmer Vernooij
2b021f7f59 r26459: Build ildap module as shared module by default.
(This used to be commit 91cff7dad2)
2007-12-21 05:50:26 +01:00
Jelmer Vernooij
aa32619c5c r26426: Remove uses of global_loadparm.
(This used to be commit e1d177c8c1)
2007-12-21 05:49:52 +01:00
Jelmer Vernooij
b8850f326b r26410: Remove unnecessary static.
(This used to be commit 13ae3108da)
2007-12-21 05:49:42 +01:00
Jelmer Vernooij
68dc2dc526 r26399: Use -O option for SWIG (less evil generated code).
(This used to be commit 3378b6a559)
2007-12-21 05:49:29 +01:00
Jelmer Vernooij
2e5f282a7e r26374: Remove dependency on dynconfig.
(This used to be commit a232a38d1c)
2007-12-21 05:49:09 +01:00
Jelmer Vernooij
6ee987ffa1 r26371: Fix typo.
(This used to be commit dcbacd9adb)
2007-12-21 05:49:08 +01:00
Jelmer Vernooij
b65dba2245 r26355: Eliminate global_loadparm in more places.
(This used to be commit 5d589a0d94)
2007-12-21 05:49:01 +01:00
Jelmer Vernooij
a72c5053c5 r26353: Remove use of global_loadparm.
(This used to be commit 17637e4490)
2007-12-21 05:48:57 +01:00
Andrew Bartlett
89144dfead r26301: Collapose ldb_next_init() into being a caller of ldb_init_module_chain
and therefore further improve debug output.

Andrew Bartlett
(This used to be commit 5e93ca2ea1)
2007-12-21 05:48:16 +01:00
Andrew Bartlett
dbf77b6405 r26299: Print out which module failed to initialise.
Andrew Bartlett
(This used to be commit 6628d9f843)
2007-12-21 05:48:15 +01:00
Jelmer Vernooij
9ebcd7a0df r26277: Move loadparm context higher up the stack.
(This used to be commit 38fa08310c)
2007-12-21 05:48:03 +01:00
Jelmer Vernooij
71ae20df2c r26276: Install SWIG files if swig is present.
(This used to be commit dfd5b456f9)
2007-12-21 05:48:02 +01:00
Jelmer Vernooij
43696d2752 r26252: Specify loadparm_context explicitly when creating sessions.
(This used to be commit 7280c1e941)
2007-12-21 05:47:29 +01:00
Jelmer Vernooij
53ae9bc9f6 r26248: Check in SWIG output so SWIG is not required when running out of svn.
(This used to be commit 08501fbef3)
2007-12-21 05:47:26 +01:00
Jelmer Vernooij
51db4c3f3d r26228: Store loadparm context in auth context, move more loadparm_contexts up the call stack.
(This used to be commit ba75f1613a)
2007-12-21 05:47:05 +01:00
Jelmer Vernooij
2fa338cdc9 r26226: Avoid more uses of global_loadparm.
(This used to be commit 6cbce47a3e)
2007-12-21 05:47:02 +01:00
Jelmer Vernooij
991ee1aff0 r26205: Pass loadparm_context to secrets_db_connect() rather than using global context.
(This used to be commit 5718b6cfee)
2007-12-21 05:46:51 +01:00
Jelmer Vernooij
e266efffec r26200: Bring back some accidently removed files.
(This used to be commit a71e40ab5d)
2007-12-21 05:46:48 +01:00
Jelmer Vernooij
f2f16b45b5 r26197: Add bindings for libsecurity.
(This used to be commit 8625cd403b)
2007-12-21 05:46:47 +01:00
Jelmer Vernooij
8515d23a3a r26196: Always build python bindings for ldb.
(This used to be commit 0aa19ce73f)
2007-12-21 05:46:46 +01:00
Andrew Bartlett
364266e22a r26192: Handle, test and implement the style of extended_dn requiest that MMC uses.
It appears that the control value is optional, implying type 0 responses.

Failing to parse this was causing LDAP disconnects with 'unavailable
critical extension'.

Andrew Bartlett
(This used to be commit 833dfc2f2a)
2007-12-21 05:46:44 +01:00
Jelmer Vernooij
f023784d06 r26187: Fix module name, indentation.
(This used to be commit ef790ebf3a)
2007-12-21 05:46:40 +01:00
Jelmer Vernooij
06e444d913 r26185: No need to depend on ldap, shared lib already has that info.
(This used to be commit 522d6591d7)
2007-12-21 05:46:39 +01:00
Jelmer Vernooij
e12c724f07 r26179: Fix symlink.
(This used to be commit b25d0201da)
2007-12-21 05:46:37 +01:00
Jelmer Vernooij
8e37dc8c9e r26178: Link against -ldl as well to prevent undefined symbols.
(This used to be commit 7bb479f816)
2007-12-21 05:46:36 +01:00
Jelmer Vernooij
8463b9aff9 r26177: Allow prebuilding swig wrapper, install ldb.py.
(This used to be commit e61160dce4)
2007-12-21 05:46:35 +01:00
Andrew Bartlett
37039ea5b0 r26131: Ensure we show the right errors in the NULL base DN case. Based on
bug 5090 by Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>

Andrew Bartlett
(This used to be commit cc2d0c9f15)
2007-12-21 05:46:15 +01:00
Jelmer Vernooij
f5ceca4259 r26124: Install ldb_handlers.h, required by ldb_samba.
(This used to be commit 037774cff7)
2007-12-21 05:46:13 +01:00
Jelmer Vernooij
e541cc54f4 r26119: Fix warnings.
(This used to be commit 38a6522e44)
2007-12-21 05:46:10 +01:00
Jelmer Vernooij
6314a9a08f r26117: Fix DESTDIR use for bindir.
(This used to be commit b7eb2cadcf)
2007-12-21 05:46:10 +01:00
Jelmer Vernooij
eaecbfa0e2 r26114: Allow keyword-arguments.
(This used to be commit 99c342641b)
2007-12-21 05:46:09 +01:00
Jelmer Vernooij
3023afce68 r26112: Do proper error checking in __contains__.
(This used to be commit b67cc409fa)
2007-12-21 05:46:08 +01:00
Jelmer Vernooij
e4168bb0e0 r26106: Add targets for building, installing and checking python bindings.
(This used to be commit 7f1d38df05)
2007-12-21 05:46:06 +01:00
Jelmer Vernooij
e30c3d9684 r26105: Add targets for building and installing the python bindings.
(This used to be commit 634436adaa)
2007-12-21 05:46:05 +01:00
Jelmer Vernooij
39adc2418a r26088: Import some native-python python modules and move original python swig torture code to common python directory as well.
(This used to be commit cbf656ff05)
2007-12-21 05:45:59 +01:00
Jelmer Vernooij
efc0cc6be2 r26080: Import updated LDB bindings.
(This used to be commit 19342e66a7)
2007-12-21 05:45:56 +01:00
Jelmer Vernooij
ea85165841 r26068: Import improved Python bindings for LDB, including tests.
(This used to be commit fc3a8caef7)
2007-12-21 05:45:51 +01:00
Jelmer Vernooij
6b62805ce7 r26066: Use TALLOC_CTX consistently for talloc contexts rather than void \* (it was already being used for some).
(This used to be commit d8b1750165)
2007-12-21 05:45:49 +01:00
Jelmer Vernooij
ca0b72a1fd r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
(This used to be commit 56dfcb4f2f)
2007-12-21 05:45:40 +01:00
Stefan Metzmacher
ff23cad8e3 r25992: ldb: use AC_LIBREPLACE_SHLD and use it for linking shared libraries
metze
(This used to be commit 7ee9700abe)
2007-12-21 05:45:31 +01:00
Stefan Metzmacher
676bb230fc r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGS
metze
(This used to be commit 410cdf789a)
2007-12-21 05:45:29 +01:00
Stefan Metzmacher
15cb7772f8 r25984: ldb: use MDLD macros from libreplace and use results to build share modules
metze
(This used to be commit 113efcd856)
2007-12-21 05:45:28 +01:00
Stefan Metzmacher
d47be61769 r25983: ldb: link shared library against $(LDAP_LIBS)
metze
(This used to be commit 0437ae1845)
2007-12-21 05:45:28 +01:00
Stefan Metzmacher
de119cc807 r25969: ldb: link libnss_ldb.so.2 against the shared library
metze
(This used to be commit 36ef127c8b)
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 48957e4b2a)
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 f6a8c36be6)
2007-12-21 05:45:22 +01:00
Andrew Bartlett
fab68fd4d9 r25965: Remove duplicate block - thanks metze!
Andrew Bartlett
(This used to be commit d7e65da564)
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 05cc2a7d96)
2007-12-21 05:45:21 +01:00
Andrew Bartlett
f6312d1b5a r25962: Move to more modern ldb functions loading module list.
Andrew Bartlett
(This used to be commit c3bfcf44a4)
2007-12-21 05:45:20 +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 deaac92f43)
2007-12-21 05:45:18 +01:00
Jelmer Vernooij
35efbc84c7 r25953: AIX make doesn't support $^.
(This used to be commit 91133d2711)
2007-12-21 05:45:16 +01:00
Jelmer Vernooij
0969ac9e61 r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
(This used to be commit 228dd6830e)
2007-12-21 05:45:12 +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 aa8348a27a)
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 af40b1cd88)
2007-12-21 05:45:07 +01:00
Stefan Metzmacher
82ae4d5543 r25908: add some wikipedia links about LDAP and LDIF
metze
(This used to be commit e1eea92788)
2007-12-21 05:44:50 +01:00
Jeremy Allison
523445cdaa r25893: Fix ldb, tdb builds (and one warning).
Jeremy.
(This used to be commit 52b26645b0)
2007-12-21 05:44:42 +01:00
Jelmer Vernooij
e7cf933d41 r25887: Build Samba-specific ldb modules as dso's.
(This used to be commit 9d73becbb2)
2007-12-21 05:44:40 +01:00
Jelmer Vernooij
2ca86c7769 r25880: Try to get some more flags right.
(This used to be commit bbc36fd3f6)
2007-12-21 05:44:37 +01:00
Jelmer Vernooij
b05601f568 r25879: Don't use shared library for command-line utilities for now - breaks the testsuite, and there is no portable equivalent of LD_LIBRARY_PATH.
(This used to be commit 9730c29509)
2007-12-21 05:44:37 +01:00
Jelmer Vernooij
414e5eca2e r25877: Add libreplace macro for soname flags.
(This used to be commit 25aa875119)
2007-12-21 05:44:36 +01:00
Jelmer Vernooij
abee59c0f5 r25862: Avoid po, causes trouble on BSD systems.
(This used to be commit c7fd5a5172)
2007-12-21 05:44:31 +01:00
Jelmer Vernooij
4ef9649c8c r25858: Clean up po files.
(This used to be commit af135938c1)
2007-12-21 05:44:30 +01:00
Andrew Bartlett
0d5c5cb372 r25857: Indent
(This used to be commit f42690a90c)
2007-12-21 05:44:30 +01:00
Andrew Bartlett
e3198b3acd r25856: If the search fails, it is not valid to steal 'res'.
Andrew Bartlett
(This used to be commit f4d733c3d0)
2007-12-21 05:44:29 +01:00
Jelmer Vernooij
f0be600e0d r25854: Link against -ldl properly.
(This used to be commit 6c46a92528)
2007-12-21 05:44:28 +01:00
Jelmer Vernooij
a0e67315a4 r25853: Specify LIBS to sample_module - fixes build for gcov hosts.
(This used to be commit db9ebea52b)
2007-12-21 05:44:28 +01:00
Jelmer Vernooij
26c3cad60f r25852: Move SHLIBEXT determination into a test as well.
(This used to be commit aaaed5edc0)
2007-12-21 05:44:27 +01:00
Jelmer Vernooij
dd66e34d41 r25851: Move system-specific ldflags checks to libreplace so they can be used by ldb.
(This used to be commit d28c8b822e)
2007-12-21 05:44:27 +01:00
Jelmer Vernooij
6e561c7f7d r25850: Add macro for picflag.
(This used to be commit 9ebc6f2d17)
2007-12-21 05:44:26 +01:00
Jelmer Vernooij
48ed51e61e r25846: Add configure test for -Wl,--export-dynamic.
(This used to be commit f67040d2a0)
2007-12-21 05:44:24 +01:00
Jelmer Vernooij
f3c0a6c459 r25844: Enable soloading by default.
(This used to be commit 8760f81aea)
2007-12-21 05:44:23 +01:00
Jelmer Vernooij
61b5dce0e6 r25843: Finish check-soloading.
(This used to be commit 4fd3770f0c)
2007-12-21 05:44:23 +01:00
Jelmer Vernooij
f017f87107 r25842: Start working on test for loading dso's in ldb.
(This used to be commit d41ed7ca8d)
2007-12-21 05:44:22 +01:00
Andrew Bartlett
2de30ecd94 r25755: Fix a couple of memory leaks, in particular a new leak onto the NULL
context caused by my objectclass module work.

Andrew Bartlett
(This used to be commit 2a835d900f)
2007-12-21 05:43:46 +01:00
Andrew Tridgell
0906096ee4 r25690: - only use a readonly traverse in ldb_search when not in a transaction. When we are in a transaction then we could be in a top level modify operation (such as rename), so we must use a writeable traverse so that the async callbacks can do the modifies while the search is progressing.
- don't do the lockall operation on the tdb during a ldb search if in
  a transaction, as this would prevent modifies by callbacks as well
(This used to be commit aa9ab431e0)
2007-12-21 05:43:15 +01:00
Jelmer Vernooij
957af15e4b r25630: Allow "NULL" as memory context, for consistency with the rest of the code,
which also does.
(This used to be commit 083b606496)
2007-12-21 05:43:02 +01:00
Jelmer Vernooij
b09047b78e r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
(This used to be commit 262c1c23a6)
2007-12-21 05:43:00 +01:00
Jelmer Vernooij
f0bc19ae47 r25541: Add setup.py for building ldb python wrappers standalone.
(This used to be commit 0e77e3e316)
2007-10-10 15:07:50 -05:00
Jelmer Vernooij
68a9ab6b01 r25540: Remove prototypes for already removed functions.
(This used to be commit 042dff55b4)
2007-10-10 15:07:50 -05:00
Jelmer Vernooij
719a4ae0d3 r25522: Convert to standard bool types.
(This used to be commit 5e814287ba)
2007-10-10 15:07:47 -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
Stefan Metzmacher
91a0879b1f r25425: move LDB_MODULESDIR define into config.h
this hopefully fixes the build on some hosts

metze
(This used to be commit d03ec5655d)
2007-10-10 15:07:30 -05:00
Stefan Metzmacher
7f0904cb1a r25421: SHLIBEXT comes in via samba's config.h already
metze
(This used to be commit dcead25b29)
2007-10-10 15:07:30 -05:00
Stefan Metzmacher
ba7f46418e r25269: this doesn't fix the problems with BSD make completely...
metze
(This used to be commit 869c30abb6)
2007-10-10 15:07:03 -05:00
Stefan Metzmacher
a3c1115e20 r25259: try to work arround the build failures on OpenBSD 3.7
metze
(This used to be commit 5679e7d824)
2007-10-10 15:07:01 -05:00
Tim Potter
b9989b4640 r25220: Comment out obsolete functions.
(This used to be commit 448cf5b61f)
2007-10-10 15:06:57 -05:00
Andrew Bartlett
c64116e158 r25218: After discussion with Simo, remove the subclass support from LDB.
Subclass support was designed to avoid needing to spell out the full
list of objectClasses that an entry was in.  However, Samba4 now
enforces this restriction in the objectClass module, and the way
subclass matching was handled was complex and counter-intuitive in my
opinion (and did not match LDAP).

Andrew Bartlett
(This used to be commit f5ce04b904)
2007-10-10 15:06:56 -05:00
Stefan Metzmacher
c364bbbfa3 r25215: replace talloc_append_string() with talloc_strdup_append_buffer()
metze
(This used to be commit 8f2db3c130)
2007-10-10 15:06:55 -05:00
Andrew Bartlett
6a9a1bd913 r25204: Patch by Andrew Kroeger <andrew@sprocks.gotdns.com> fixing bug #4958 -
rename of ldb entries for a case change (only).

I've modified the testsuite to verify this.

Andrew Bartlett
(This used to be commit 9cccd00dac)
2007-10-10 15:06:52 -05:00
Stefan Metzmacher
d6c66ea774 r25187: pass FIRST_PREREQ to Makefile so that the value can be used
in handwritten rules too, hopefully fix the build
of ldb with bsd make.

metze
(This used to be commit 9d6d296105)
2007-10-10 15:06:48 -05:00
Jelmer Vernooij
e885a8f477 r25105: No need to register ldb_map as a module.
(This used to be commit 6c66e09c9e)
2007-10-10 15:06:38 -05:00
Jelmer Vernooij
0ca0c0e5a2 r25100: Include LDAP libs in .pc file so linking statically against libldb works again.
(This used to be commit bcf5c94474)
2007-10-10 15:06:37 -05:00
Jelmer Vernooij
1ecae757c6 r25097: Don't clutter users' CFLAGS with ldb cflags.
(This used to be commit e31614b5ea)
2007-10-10 15:06:36 -05:00
Jelmer Vernooij
2e5f023a69 r25093: Use system-provided ldb library if available. Note that this only means using the ldb library from the system - the custom command-line tools for Samba 4 will still be built even if they are already provided by the system.
(This used to be commit 8aab673df5)
2007-10-10 15:06:27 -05:00
Jelmer Vernooij
08ff1a50f2 r25085: Define LDB_MODULESDIR for standalone build.
(This used to be commit 1ba883c62e)
2007-10-10 15:06:26 -05:00
Jelmer Vernooij
4a4cdc990c r25084: Move samba-specific code out of lib/ldb directory.
(This used to be commit 917bd737cb)
2007-10-10 15:06:26 -05:00
Jelmer Vernooij
ed2a1c718a r25081: Add modules_dir member to ldb_context that is used rather than a global
modulesdir setting. Samba always sets this to lp_modulesdir()/ldb
(This used to be commit e672380d21)
2007-10-10 15:06:25 -05:00
Jelmer Vernooij
98b57d5eb6 r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97)
2007-10-10 15:05:43 -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
cd962355ab r25000: Fix some more C++ compatibility warnings.
(This used to be commit 08bb1ef643)
2007-10-10 15:05:27 -05:00
Andrew Bartlett
90e83d73f9 r24567: Try much harder not to leak memory when comparing objectCategory entires.
Andrew Bartlett
(This used to be commit 8cfa1f898e)
2007-10-10 15:02:16 -05:00
Andrew Bartlett
e10577585d r24566: Remove trailing newlines in ldb_debug(), these are not required.
Andrew Bartlett
(This used to be commit 2ed782f7ca)
2007-10-10 15:02:16 -05:00
Andrew Bartlett
0eb3ee3204 r24459: Fix up ldap.js and test_ldb.sh to test the domain_scope control, and
to test the behaviour of objectCategory=user searches.

It turns out (thanks to a hint on
http://blog.joeware.net/2005/12/08/147/) that objectCategory=user maps
into objectCategory=CN=Person,... (by the defaultObjectCategory of
that objectclass).

Simplify the entryUUID module by using the fact that we now set the DN
as the canoncical form of objectCategory.

Andrew Bartlett
(This used to be commit b474be9507)
2007-10-10 15:01:53 -05:00
Andrew Bartlett
49c42e2550 r24261: Fix the standalone ldb build after I moved the objectclass module out.
Andrew Bartlett
(This used to be commit c4c3afcdcb)
2007-10-10 15:01:32 -05:00
Andrew Bartlett
10c1480d16 r24259: Rework the objectclass module to use the new schema, rather than the
ldb_subclass list.

Next step will be to have this module also set the objectCategory and
default ntSecurityDescriptor

Andrew Bartlett
(This used to be commit 0f7135a468)
2007-10-10 15:01:31 -05:00
Andrew Bartlett
b7f9e85db1 r23993: Attempt to fix bug #4808, reported by mwallnoefer@yahoo.de. The issue
is that when we all ldb_msg_add_empty(), we might realloc() the
msg->elements array.  We need to ensure the source pointer (when
copying an element from the same msg) is still valid, or the data
copied.

Andrew Bartlett
(This used to be commit 0fbea30577)
2007-10-10 15:01:16 -05:00
Andrew Bartlett
69c0923c5e r23809: Don't give users the fantasy that we can control choice of GENSEC
security mechanisms at the moment.  I'll put this back when I
implement the functionality.

Andrew Bartlett
(This used to be commit 9a38ddc86f)
2007-10-10 14:59:21 -05:00
Andrew Tridgell
cd1217ff5f r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
(This used to be commit 5c9b19271e)
2007-10-10 14:59:18 -05:00
Andrew Tridgell
b8875bee5f r23800: LGPL is now called GNU Lesser General Public License
not GNU Library General Public License
(This used to be commit 01e3fe7533)
2007-10-10 14:59:17 -05:00
Andrew Tridgell
e1c15c74af r23799: updated old Franklin Street FSF addresses to new URL
(This used to be commit db92b76a00)
2007-10-10 14:59:16 -05:00
Andrew Tridgell
6c973f4e8c r23798: updated old Temple Place FSF addresses to new URL
(This used to be commit 40c0919aaa)
2007-10-10 14:59:15 -05:00