1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-22 16:23:49 +03:00
Commit Graph

40 Commits

Author SHA1 Message Date
Andrew Tridgell
62b4ec367d r574: - another attempt at const cleanliness in ldb
- fixed a problem with searching for values containing an '=' sign

 - fixed the semantics of attempting an attribute deletion on an attribute that doesn't exist.

 - added some more ldb_msg_*() utilities
2007-10-10 12:51:47 -05:00
Andrew Tridgell
74b89d5f96 r513: added a generic ldb debug system to allow the Samba debug functions to
be cleanly interfaced to ldb
2007-10-10 12:51:46 -05:00
Andrew Tridgell
18695cefa1 r509: fixed a memory handling bug that affects ldb with memory pools that
change with each request
2007-10-10 12:51:46 -05:00
Andrew Tridgell
4404056cd5 r504: fixed a bad call to list_union() 2007-10-10 12:51:45 -05:00
Andrew Tridgell
3955c482e6 r502: modified ldb to allow the use of an external pool memory
allocator. The way to use this is to call ldb_set_alloc() with a
function pointer to whatever memory allocator you like. It includes a
context pointer to allow for pool based allocators.
2007-10-10 12:51:45 -05:00
Andrew Tridgell
01e8740676 r490: - expanded the test suite to test modify and delete operations
- made yet another attempt to make ldb const clean.

- "make test" now runs both the tdb and ldap backend tests, and run the ldbtest utility
  with and without indexing

- added prototypes in ldb.h for ldb_msg_*() public functions
2007-10-10 12:51:45 -05:00
Andrew Tridgell
77269e7ad6 r463: build ldb with debugging when standalone 2007-10-10 12:51:44 -05:00
Andrew Tridgell
894e44022d r462: added an explanation about the rather complex ltdb_key() function 2007-10-10 12:51:44 -05:00
Andrew Tridgell
cdd48e2b9b r456: - added -i option to ldbsearch
- fixed sorting bug in ldb index handing
2007-10-10 12:51:43 -05:00
Andrew Tridgell
03df31cef0 r454: allow a non-URL form of a filename to be used in ldb_connect(). This
makes it a little easier to work with the ldb tools
2007-10-10 12:51:43 -05:00
Andrew Tridgell
f88760c3cc r453: added a comment about indexing on objectclass
(its usually a bad idea)
2007-10-10 12:51:43 -05:00
Andrew Tridgell
7ad0858c06 r444: - added the beginnings of a ldb test suite and benchmark
- updated the test slapd config to use bdb and indexing
2007-10-10 12:51:42 -05:00
Andrew Tridgell
ff31cfb941 r442: fixed some uninitialised variables pointed out by gcc -O3 2007-10-10 12:51:42 -05:00
Andrew Tridgell
b386121856 r437: fixed handling of a corner case with multi-valued indexing 2007-10-10 12:51:38 -05:00
Andrew Tridgell
4d92e6f79f r436: fixed indexing of objectclass with subclasses 2007-10-10 12:51:38 -05:00
Andrew Tridgell
f2bf06f25c r435: a major upgrade for ldb
- added the ability to mark record attributes as being CASE_INSENSITIVE, WILDCARD or INTEGER.

 - added the ability to support objectclass subclasses, and to search by a parent class

 - added internal support for case insensitive versus case sensitive
   indexing (not UTF8 compliant yet)

 - cleaned up a number of const warnings

 - added a number of helper functions for fetching integers, strings and doubles

 - added a in-memory cache for important database properties, supported by a
   database sequence number

 - changed some variable names to avoid conflicts with C++
2007-10-10 12:51:38 -05:00
Andrew Tridgell
ac0c525a8b r387: more C++ friendly changes 2007-10-10 12:51:36 -05:00
Tim Potter
e96f3a2005 r382: More C++ friendliness fixes. 2007-10-10 12:51:36 -05:00
Andrew Tridgell
8acecc7f27 r381: make the code more C++ friendly 2007-10-10 12:51:36 -05:00
Andrew Tridgell
b5cb5a1e62 r380: make sure that ldbedit -a works with all tdb and LDAP backends 2007-10-10 12:51:35 -05:00
Andrew Tridgell
54f47c45b8 r373: use a much larger default tdb hash size in ldb 2007-10-10 12:51:35 -05:00
Andrew Tridgell
246f17cd4a r344: fixed deletion of index records 2007-10-10 12:51:33 -05:00
Andrew Tridgell
a811640ce4 r343: added automatic reindexing of the database when the index list changes 2007-10-10 12:51:33 -05:00
Andrew Tridgell
3b4b528dc6 r194: fixed compile with ldap 2007-10-10 12:51:16 -05:00
Andrew Tridgell
077951f6bc r163: - enable ldap in the sample makefile, and use /usr prefix
- show number of adds/deletes/modifies after an edit

 - nicer error messages from ldbedit
2007-10-10 12:51:13 -05:00
Andrew Tridgell
8655f0b435 r159: nicer usage messages when no URL is given 2007-10-10 12:51:12 -05:00
Andrew Tridgell
e776ce4f9e r158: cope with or without LDAP in samba build of ldb 2007-10-10 12:51:11 -05:00
Andrew Tridgell
5004159bf9 r157: cope with or without LDAP in ldb sample Makefile 2007-10-10 12:51:11 -05:00
Andrew Tridgell
af34710d4d r152: a quick airport commit ....
added ldbedit, a _really_ useful command

added ldbadd, ldbdel, ldbsearch and ldbmodify to build

solved lots of timezone issues, we now pass the torture tests with
client and server in different zones

fixed several build issues

I know this breaks the no-LDAP build. Wait till I arrive in San Jose for that
fix.
2007-10-10 12:51:11 -05:00
Stefan Metzmacher
31c23f14d6 r147: - Remove dublicate ldap tests (richard the current test is in libads/config.m4 :-)
- Move sendfile check to ntvfs/config.m4
- Move comparison_fn_t check to build/m4/rewrite.m4

Please do not new tests to configure.in directly,
please add them to the subsystems config.m4 file where they belong to or
to build/m4/rewrite.m4 if you don't know where to put it for now

Thanks

I know samba4's build system is not completly rewritten.
I have a lot of updatest in my local tree, but it's not complete yet
when it's complete I'll write documentation for it:-)

metze
2007-10-10 12:51:11 -05:00
Richard Sharpe
7b34fbe0f2 r141: A number of changes to get things working on FreeBSD and reduce the breakage
caused by someone recently ...

1. Add configure check HAVE_COMPARISON_FN_T to see if this is defined. I
have not checked this on Linux yet, but will do so soon.

2. Add the definitions of malloc_p, realloc_p etc.

3. Check for LDAP and don't build stuff that depends on LDAP if we don't\
have it.

It currently builds on FreeBSD but there is one warning printed out at the end.
2007-10-10 12:51:11 -05:00
Andrew Tridgell
299009fde9 r136: I forgot to add config.m4 for ldb in my ldb commit 2007-10-10 12:51:10 -05:00
Andrew Tridgell
090afa94a7 r135: some test ldif for an idea I am playing with to replace smb.conf with a ldb
Don't panic - I'll explain more when I get a chance
2007-10-10 12:51:10 -05:00
Andrew Tridgell
0b66590330 r134: - added ldb to the build of smbd
- fixed build of the ldb registry backend
2007-10-10 12:51:10 -05:00
Andrew Tridgell
fe1a5a8e25 r131: mark some scripts executable 2007-10-10 12:51:10 -05:00
Jelmer Vernooij
3adffa0217 r128: Another registry update. Changes:
- Start with the LDB backend
- The API is now more windows-like, which should make it easier to use
  in rpc_server
- Added a GTK+ front-end
- Added some more IDL

More updates will follow, especially in the RPC field..
2007-10-10 12:51:09 -05:00
Gerald Carter
11717ae912 r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
Andrew Tridgell
e9e85c4644 added the rest of the ldb_modify() code, which required a fairly large
change in the ldb API. The API is now much closer to LDAP.
-
Andrew Tridgell
12538cd2c6 building with Makefile.ldb now works -
Andrew Tridgell
dc6f41f9e7 make a more recent snapshot of ldb available to interested
people. Note that I decided to make it LGPL.

ldb is not finished yet, but enough of it is there for people to get
an idea of what it does, and quite a few simple tests work
-