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

79 Commits

Author SHA1 Message Date
Simo Sorce
c908d0b2aa r12733: Merge ldap/ldb controls into main tree
There's still lot of work to do but the patch is stable
enough to be pushed into the main samba4 tree.

Simo.
(This used to be commit 77125feaff)
2007-10-10 13:49:47 -05:00
Simo Sorce
93a3e9e2b6 r12643: don't fail make test
thanks Brad
(This used to be commit 2f213b9580)
2007-10-10 13:49:33 -05:00
Andrew Bartlett
8d147a4dd3 r12632: Build fixes from Brad Hards <bradh@frogmouth.net>
Andrew Bartlett
(This used to be commit 44b107d315)
2007-10-10 13:49:10 -05:00
Simo Sorce
0cf1feb114 r12604: fix make clean as Brad Hards <bradh@frogmouth.net> sugested
(This used to be commit 6198006ee4)
2007-10-10 13:49:02 -05:00
Andrew Tridgell
c8978cb1f1 r10918: - fixed standalone ldb build
- added note about allowedAttributesEffective (will be needed for mmc)

- fixed some more ldb warnings
(This used to be commit e9e4d81b69)
2007-10-10 13:39:43 -05:00
Andrew Tridgell
ede8415d61 r10405: added transactions into tdb, and hook them into ldb. See my
samba-technical posting for more details on the transactions design.

This also adds a number of command line arguments to tdbtorture,
making it more flexible, and fixes some lock deadlock conditions in
the tdbtorture code.
(This used to be commit 06bd8abba9)
2007-10-10 13:38:41 -05:00
Simo Sorce
cba1859fe1 r10301: fix standalone compiple after tdb changes
(This used to be commit acfb4b9283)
2007-10-10 13:38:15 -05:00
Jelmer Vernooij
84bfcd3c78 r9835: Make ldb_map compile in the stand-alone LDB build
(This used to be commit 2283a336e0)
2007-10-10 13:36:17 -05:00
Simo Sorce
5c16371daa r9447: Add a new tool to convert openLdap schema files into an ldif
My first test with nis.schema seem to confirm it works properly

Use a command line like:
oLschema2ldif -I tests/schema/nis.schema -O nis_schema.ldif -b "dc=sambadom,dc=samba,dc=org"
to see how it works.

SSS
(This used to be commit fc373fd463)
2007-10-10 13:34:16 -05:00
Simo Sorce
768585b1dd r8779: Add rdn module to makefile and headers
Search by distinguishedName as if searching by dn
(This used to be commit 1d40461362)
2007-10-10 13:30:04 -05:00
Andrew Tridgell
338c3f8523 r8625: move the ldb_wrap logic into the ldb code. This logic is meant to
avoid the horrors of posix locking, but it was preventing us having an
ldb open twice with different options. Now each ldb open of the same
file shares the same underlying tdb, but uses a different ldb
structure
(This used to be commit 4e090c66df)
2007-10-10 13:29:45 -05:00
Andrew Tridgell
a06d66a3a6 r8037: a fairly major update to the internals of ldb. Changes are:
- moved the knowledge of attribute types out of ldb_tdb and into the
   generic ldb code. This allows the ldb_match() message match logic
   to be generic, so it can be used by other backend

 - added the generic ability to load attribute handlers, for
   canonicalisation, compare, ldif read and ldif write. In the future
   this will be used by the schema module to allow us to correctly
   obey the attributetype schema elements

 - added attribute handlers for some of the core ldap attribute types,
   Integer, DirectoryString, DN, ObjectClass etc

 - added automatic registration of attribute handlers for well-known
   attribute names 'cn', 'dc', 'dn', 'ou' and 'objectClass'

 - converted the objectSid special handlers for Samba to the new system

 - added more correct handling of indexing in tdb backend based on the
   attribute canonicalisation function

 - added generic support for subclasses, moving it out of the tdb
   backend. This will be used in future by the schema module

 - fixed several bugs in the dn_explode code. It still needs more
   work, but doesn't corrupt ldb dbs any more.
(This used to be commit 944c5844ab)
2007-10-10 13:19:01 -05:00
Jelmer Vernooij
65cc3f5d5c r7958: More debian packaging updates; packages build now with
a few minor issues.

Move ldb manpages one level higher - there is no longer a need to have
subdirectories.
(This used to be commit e8e3524b23)
2007-10-10 13:18:54 -05:00
Simo Sorce
1702f52498 r7936: new ldb_dn_explode and ldb_dn_casefold functions and co
(This used to be commit 7ccf21ab4e)
2007-10-10 13:18:52 -05:00
Andrew Tridgell
ed3d8091ce r7709: - convert ldb to use popt, so that it can interact with the samba
cmdline credentials code (which will be done soon)

- added a ldb_init() call, and changed ldb_connect() to take a ldb
  context. This allows for much better error handling in
  ldb_connect(), and also made the popt conversion easier

- fixed up all the existing backends with the new syntax

- improved error handling in *_connect()

- fixed a crash bug in the new case_fold_required() code

- ensured that ltdb_rename() and all ltdb_search() paths get the read lock

- added a ldb_oom() macro to make it easier to report out of memory
  situations in ldb code
(This used to be commit f648fdf187)
2007-10-10 13:18:24 -05:00
Simo Sorce
9189833a87 r7582: Better way to have a fast path searching for a specific DN.
Old way was ugly and had a bug, you couldn't add an attribute named
dn or distinguishedName and search for it, tdb would change that search in a dn search.
This makes it also possible to search by dn against an ldap server as the old method was
not supported by ldap syntaxes.

sss
(This used to be commit a614466dec)
2007-10-10 13:18:11 -05:00
Andrew Tridgell
734ff692f3 r7533: don't show compile flags for each file
(This used to be commit 6a9ab148a9)
2007-10-10 13:18:07 -05:00
Andrew Tridgell
d71e1a7a7f r7526: make test should depend on the bins
(This used to be commit 646953df4c)
2007-10-10 13:18:06 -05:00
Derrell Lipman
09bdc1b938 r7446: add distclean target to generated ldb makefile
(This used to be commit 9a78161b0f)
2007-10-10 13:17:54 -05:00
Derrell Lipman
7fc1c3553c r7408: added DN explode function, based on simo's ldap_parse_dn() function. simo, when you get a chance, please change your license so this can be linked with ldb.
(This used to be commit 588a1d1451)
2007-10-10 13:17:50 -05:00
Simo Sorce
198241adc2 r7338: let it be possible to run sqlite3 tests when it is compiled in
make it also so that we do not run test for modules we do not compile in
(This used to be commit c226c1c7a3)
2007-10-10 13:17:44 -05:00
Simo Sorce
903a7fb990 r7334: I do not feel oblidged to use sqlite3 when I configure ldap support :-)
(fix typo)
(This used to be commit d6dae85881)
2007-10-10 13:17:43 -05:00
Derrell Lipman
217a8cfe66 r7282: ldb_sqlite3 work in progress.
(This used to be commit d934c42b00)
2007-10-10 13:17:36 -05:00
Jelmer Vernooij
1863240bbc r7114: Convert ldb documentation to DocBook/XML
(This used to be commit 470c6185fb)
2007-10-10 13:17:18 -05:00
Jelmer Vernooij
e5a3ec0e5b r6790: Use config.h file for ldb and add test for stdint.h
(This used to be commit c1f1b5a945)
2007-10-10 13:16:43 -05:00
Jelmer Vernooij
dfaa7a3bae r6546: Fix ldb standalone build
Add autoconf to tdb
(This used to be commit 95fed657f4)
2007-10-10 13:16:25 -05:00
Jelmer Vernooij
5d794389a0 r6486: Add 'make install' and pkg-config file.
(This used to be commit e3be094fb7)
2007-10-10 13:16:19 -05:00
Andrew Tridgell
35a2368b5a r6480: fixed whitespace typo
(This used to be commit 1265c9b8a8)
2007-10-10 13:16:18 -05:00
Jelmer Vernooij
499f00b4d9 r6442: Add mechanism for configuring ldb independantly of the rest of
Samba using the autoconf tools.
(This used to be commit a8de35ca27)
2007-10-10 13:11:37 -05:00