1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-07 20:23:50 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Tridgell
6b20bcbeeb r8490: make the ldb tests more portable 2007-10-10 13:23:09 -05:00
Simo Sorce
624a73148d r8082: large rewite of ldb_dn.c
- we do not support multpiple attribute components anymore, makes code a lot easier
  they will be readded later if we found out they are really used, so far my tests
  show w2k3 do not handle them as well

- fix escaping issues, move component value to be in an ldb_val structure
  still need to handle binary values case

- make cononicalize functions leak less memory by giving a specific memory context

- fix tests scripts so that test-ldap can start
- make test not delete databases on completion so that I can inspect them
2007-10-10 13:19:06 -05:00
Andrew Tridgell
2a426f654d r7831: use cn=TEST as base of test DNs so we don't interfere with potentially real records 2007-10-10 13:18:41 -05:00
Andrew Tridgell
f648fdf187 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
2007-10-10 13:18:24 -05:00
Andrew Tridgell
73d2e5df0c r7572: fixed filter in test suite 2007-10-10 13:18:11 -05:00
Andrew Tridgell
853b8cd72d r7564: added a test showing the search expression that w2k is actually giving
us that triggered this work
2007-10-10 13:18:09 -05:00
Andrew Tridgell
7b58b3a9c5 r7560: added tests for extended bitop search functions 2007-10-10 13:18:08 -05:00