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

589 Commits

Author SHA1 Message Date
Jelmer Vernooij
7871b07e21 r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:
- VERSION: should contain the current version. Will be made part of the filename.
 - SO_VERSION: should contain the latest version that this on is compatible to. Will be used for setting the soname of the shared library.

Fix sonames and use them on platforms that support them
Remove symlinking code. ldconfig will take care of creating the symlinks now
that we set the soname.
2007-10-10 13:57:12 -05:00
Simo Sorce
22c1b36355 r14227: We are passing the wrong pointer here 2007-10-10 13:57:05 -05:00
Simo Sorce
6f041068b5 r14163: Remove LDB_WAIT_ONCE, we can hardly guarante we
get anything if not waiting for all, keeping this
value may just lead to false expectations.

You either make blocking call waiting for ALL results
transforming this in a sync call, or either you loop
expecting from 0 to all results being returned at any
time on any of these loops.

It should be clear also that when you may receive results
at any time as soon as you call ldb_request.
Your callback may have received all results even before
calling ldb_async_wait the first time.

Simo.
2007-10-10 13:56:56 -05:00
Simo Sorce
72523eae7f r14162: Minor fixes on sort
Initial work on async paged_results
2007-10-10 13:56:56 -05:00
Simo Sorce
09f6f552d7 r14161: return early if we know the job is already finished 2007-10-10 13:56:56 -05:00
Jelmer Vernooij
d538eac9db r14109: Modulify the smbcalls subsystem. 2007-10-10 13:56:51 -05:00
Jelmer Vernooij
1004e1521a r14108: Make the Doxyfiles a bit shorter... 2007-10-10 13:56:51 -05:00
Simo Sorce
e8075e6a06 r13998: From now on ldb_request() will require an alloced request
By freeing the request you will be sure everything down the path get freed.

this also means you have to steal the results if you want to keep them :)

simo.
2007-10-10 13:52:36 -05:00
Simo Sorce
ef1b3e6368 r13996: simplify ldb_async_wait() some more 2007-10-10 13:52:36 -05:00
Simo Sorce
1c8536750f r13993: First prototype of how an async module should be built.
This is NOT tested yet, just compiles.
Committing to share the code and gather comments
2007-10-10 13:52:34 -05:00
Simo Sorce
3347322d13 r13992: change the way ldb_async_wait() works.
I think I should change the name of this function
to ldb_async_process(), any opinions ?
2007-10-10 13:52:34 -05:00
Jelmer Vernooij
988ea27e22 r13990: Fix issues with function renaming. 2007-10-10 13:52:34 -05:00
Simo Sorce
8375f03019 r13986: minor fixes 2007-10-10 13:52:34 -05:00
Stefan Metzmacher
30af3be22b r13973: fix the build
metze
2007-10-10 13:52:33 -05:00
Jelmer Vernooij
2c74698032 r13960: Generate makefile rules for installing/removing shared modules. 2007-10-10 13:52:32 -05:00
Jelmer Vernooij
2d655f0528 r13938: Around round of splitups 2007-10-10 13:52:29 -05:00
Stefan Metzmacher
0db8351b14 r13934: these are only needed for a standalone build
metze
2007-10-10 13:52:28 -05:00
Jelmer Vernooij
930daa9f41 r13926: More header splitups. 2007-10-10 13:52:26 -05:00
Jelmer Vernooij
1228358767 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
2007-10-10 13:52:24 -05:00
Simo Sorce
8340ab26dd r13901: Backends need to be initialized even if there are no modules 2007-10-10 13:52:20 -05:00
Simo Sorce
cf7ad70757 r13900: don't segfault on error 2007-10-10 13:52:20 -05:00
Jelmer Vernooij
ba74f24e42 r13899: Get the shared library build building again. Just compiles for now,
but modules don't work yet..
(Run LIBRARY_OUTPUT_TYPE=SHARED_LIBRARY MODULE_OUTPUT_TYPE=SHARED_LIBRARY ./config.status)
2007-10-10 13:52:20 -05:00
Jelmer Vernooij
9a188eb1f4 r13840: Mark some functions as public. 2007-10-10 13:52:14 -05:00
Jelmer Vernooij
fb2f70de4f r13839: Use registration mechanism for backends as well (in the same sense
my previous patch added it for modules). This is the next step towards
LDB backends and modules as run-time loadable .so files.
2007-10-10 13:52:14 -05:00
Simo Sorce
7ef63abae1 r13827: Minor enhancements or cosmetic changes 2007-10-10 13:52:14 -05:00
Simo Sorce
76cbab0e25 r13826: Try to keep this backend updated
This need more testing and to be built by default when possible
2007-10-10 13:52:14 -05:00
Simo Sorce
b4202cf030 r13823: make async_wait part of the modules ops 2007-10-10 13:52:13 -05:00
Simo Sorce
0db616ef59 r13818: Make ldb_tdb 'fake' async.
Simo.
2007-10-10 13:52:13 -05:00
Stefan Metzmacher
6f47fcbd44 r13809: move ldb specific define
metze
2007-10-10 13:52:12 -05:00
Andrew Tridgell
4257fd91ce r13803: fixed two errors found with 'make valgrindtest' 2007-10-10 13:52:12 -05:00
Jelmer Vernooij
52a2356505 r13786: [merge] Add registration functions for LDB modules
Applications that use LDB modules will now have to run ldb_global_init()
before they can use LDB.

The next step will be adding support for loading LDB modules from .so
files. This will also allow us to use one LDB without difference between the
standalone and the Samba-specific build
2007-10-10 13:52:11 -05:00
Simo Sorce
ec833b409c r13744: Make ldb_ldap async 2007-10-10 13:52:09 -05:00
Simo Sorce
c5eb27e5f7 r13743: Generic fixes and improvements 2007-10-10 13:52:08 -05:00
Simo Sorce
4de76fd09e r13742: Fix tests to work better with ldap 2007-10-10 13:52:08 -05:00
Andrew Tridgell
68c9ac38c7 r13700: added highestCommittedUSN, uSNChanged and uSNCreated support, using
the @BASEINFO sequenceNumber

(simo, I changed the function pointer to a structure element as you
preferred)
2007-10-10 13:52:06 -05:00
Jelmer Vernooij
65128577a9 r13650: Install manpages when building standalone 2007-10-10 13:52:04 -05:00
Andrew Bartlett
424df1bb36 r13616: Add new ldb functions: ldb_msg_add_steal_string() and
ldb_msg_add_steal_value().

These try to maintain the talloc heirachy, which must be correct
otherwise talloc_steal operations of entire attribute lists fails.

This fixes the currentTime value, found by using Microsoft's dcdiag
tool (before this commit, it pointed to invalid memory, due to the
changes in -r 13606)

Andrew Bartlett
2007-10-10 13:51:59 -05:00
Simo Sorce
d5b467b7c1 r13615: Make ldb_set_errstring get ldb instead of module as parameter.
The module was just used to get to the ldb so it was meningless.

Also add LDB_WAIT_ONCE e relative code in ldb_ildap.c
2007-10-10 13:51:59 -05:00
Simo Sorce
1e2c13b2d5 r13609: Get in the initial work on making ldb async
Currently only ldb_ildap is async, the plan
is to first make all backend support the async calls,
and then remove the sync functions from backends and
keep the only in the API.

Modules will need to be transformed along the way.

Simo
2007-10-10 13:51:59 -05:00
Simo Sorce
cbbc0d7cc4 r13580: fix broken client side sort 2007-10-10 13:51:57 -05:00
Stefan Metzmacher
a1bbf7f298 r13507: the 'data' element of LDAP controls is optional.
(prepare the next commit)

metze
2007-10-10 13:51:56 -05:00
Simo Sorce
e1318383e9 r13361: initial implementation of the vlv control
seem still buggy, can't make w2k3 to like it yet
2007-10-10 13:51:50 -05:00
Simo Sorce
fbee725ae8 r13360: Fix crash bug when 0 results are returned on the internal base search 2007-10-10 13:51:50 -05:00
Stefan Metzmacher
24c6e2f731 r13359: make sure we don't look at s[-1]
metze
2007-10-10 13:51:49 -05:00
Simo Sorce
933a80397d r13354: Add tests to check that controls work properly
Fix asq module, add a second_stage_init to register with rootdse
Fix asq control ldap parsing routines (this was nasty to find out)
2007-10-10 13:51:48 -05:00
Simo Sorce
513ff49907 r13349: In the end I could not use ldb_caseless_cmp
in attrib_handler.c functions

remove it again

Simo
2007-10-10 13:51:47 -05:00
Simo Sorce
5d93c1eeba r13348: Put a reminder for now.
Until we do not have an internal utf8 compliant
casefloding function we cannot pass this test
in the non-samba build
2007-10-10 13:51:47 -05:00
Simo Sorce
e12f070958 r13347: - Now we compare values with an optimized utf8
safe function if the user provides an utf8
compliant casefold function to ldb.

- Fix toupper_m and tolower_m to not crash if
the case tables are not found

- Let load_case_table() search into the correct
directory in the search tree for the case
tables so that we can test utf8

Simo
2007-10-10 13:51:47 -05:00
Andrew Bartlett
db32a81f3e r13340: The gensec_init() needs to be after the popt processing, as it
disables modules based on parametric options.

Andrew Bartlett
2007-10-10 13:51:46 -05:00
Simo Sorce
6104f90086 r13335: Fix the build and add an utf8 safe ldb_hadler_fold function
based on ldb_casefold
2007-10-10 13:51:45 -05:00