1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

624 Commits

Author SHA1 Message Date
Jelmer Vernooij
69b51f702a r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10 14:04:18 -05:00
Tim Potter
8fe1aa195b r15178: Fix ldb function calls after big swig rename.
Add close() methods to Ldb and LdbMessage classes.

Start adding dict interface to LdbMessage.
(This used to be commit 8be846a3c3e963a3c1a1fc819bd5c0b1db5e6865)
2007-10-10 14:04:13 -05:00
Tim Potter
5ea77ad66b r15177: Wrap ldb_strerror() function.
(This used to be commit af2b709f940fb18649ba279e2d9df37f44ab0162)
2007-10-10 14:04:12 -05:00
Andrew Bartlett
2283810356 r15176: Ensure we don't segfault when we try and delete @FOO records.
Don't try and steal the result of a search on failure, it has already
been talloc_free()'ed by the ildb code.

Andrew Bartlett
(This used to be commit a99bd2e033501954aca8f35afe8a7f2bbfadf6b7)
2007-10-10 14:04:12 -05:00
Tim Potter
859817e30f r15113: Add a ldb_strerror() function.
(This used to be commit 456a1de2b9cd54337066c9ba24ad1c46aafcd072)
2007-10-10 14:04:09 -05:00
Tim Potter
611a058440 r15110: Start rewriting higher level ldb wrapper.
(This used to be commit 80853c7ddda6159093e0903410f6d330edd7d4c3)
2007-10-10 14:04:09 -05:00
Tim Potter
a204089c25 r15109: Wrap ldb_global_init()
(This used to be commit f70ed998a7f1006f76d453e1d379fb6ae821a537)
2007-10-10 14:04:09 -05:00
Tim Potter
84c6dea9b7 r15097: Add constants for ldb errors.
Add wrappers for ldb_dn_explode() and ldb_dn_linearize().
(This used to be commit 84774902a10d89401548ffc7423eb279227d937a)
2007-10-10 14:04:08 -05:00
Tim Potter
cfbcb93d7c r15096: Fix typo.
(This used to be commit 85de6e32b833db9ca601b3e979d08444e0702c27)
2007-10-10 14:04:08 -05:00
Tim Potter
3f52210e7b r15095: Fix up typemap for struct ldb_val so that ldb_msg_add_value() wrapper
works properly.
(This used to be commit 75176b188bfd5008775365110f8ed15dd00e0b50)
2007-10-10 14:04:08 -05:00
Tim Potter
aa8ced4512 r15092: Remove some swig stuff that didn't work out and the %rename call.
Add wrappers for some of the ldb_msg_* functions.
(This used to be commit ca7c94675ed19cdc6df27d492895c3148500536f)
2007-10-10 14:04:08 -05:00
Tim Potter
bd41ecdcd0 r15091: Raise LdbError instead of IOError when ldb function calls return an
error.
(This used to be commit e13c6d7c49e1586cc9b25c30d3f9d51f42d1c785)
2007-10-10 14:04:08 -05:00
Tim Potter
7dbbc960a0 r15065: Remove duplicate prototype.
(This used to be commit 9d9df34d94842ea9f4be3fa51b197fb4bb918488)
2007-10-10 14:04:05 -05:00
Tim Potter
96247e8059 r14970: Add configure stuff for Python to tdb and ldb standalone builds.
(This used to be commit 5e14e79489c67d55df20ef78ebf0aa168a5dc456)
2007-10-10 14:00:48 -05:00
Tim Potter
8c23f133c4 r14968: Move tdb and ldb swig wrappers in to lib/tdb and lib/ldb directories.
(This used to be commit fa8d0dc14a1af9567401d54a803b34a6498b7cd4)
2007-10-10 14:00:48 -05:00
Stefan Metzmacher
1af925f394 r14860: create libcli/security/security.h
metze
(This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)
2007-10-10 13:59:44 -05:00
Jelmer Vernooij
e90d88106a r14660: Install ldb_errors.h
(This used to be commit 438636c475066533dec9a7464a01dece125320c6)
2007-10-10 13:59:06 -05:00
Jelmer Vernooij
07bdbd4592 r14606: Fix paths in developer mode. This allows 'make quicktest' to work when
building with --enable-dso
(This used to be commit 614f062748d95a455d1a99a7444fdc0fe152f4e4)
2007-10-10 13:59:00 -05:00
Jelmer Vernooij
e67c24159b r14604: Support 'aliases' for ldb modules
(This used to be commit 73889a327cfe5613746393205fc3e5d6fa76421b)
2007-10-10 13:58:59 -05:00
Jelmer Vernooij
dab516d3e7 r14603: Fix building of ejs modules as shared libs
Fix calling of ejs_exception() without requiring --export-dynamic
(This used to be commit 8575e9a4903450aae1f29f55aae516085a9528bb)
2007-10-10 13:58:59 -05:00
Jelmer Vernooij
d64ccc0176 r14599: Pass ACLs down the registry layer.
(This used to be commit 6cdefd8945eee5513a6993350ea71f12d4dbd6fa)
2007-10-10 13:58:59 -05:00
Jelmer Vernooij
508f2f5506 r14594: Fix some dependencies (required for shared library build)
(This used to be commit 06f7a8c692a645830eb3dd9abad8556c66bba747)
2007-10-10 13:58:58 -05:00
Jelmer Vernooij
bb1909e15e r14592: Add support for loading shared modules to LDB.
(This used to be commit f10fae23f0685b2d9c6174596e1c66d799f02c52)
2007-10-10 13:58:58 -05:00
Jelmer Vernooij
72a1d08cfe r14590: Fix ldb standalone build...
(This used to be commit 3a6ed4e2df26936202cba8f7739ed39e0d119d1a)
2007-10-10 13:58:56 -05:00
Jelmer Vernooij
184955ffd7 r14572: Give libraries saner names, remove some .pc files, make some things
subsystems in case a library doesn't make sense.
(This used to be commit ed382873fd01457a53e0a1e1f5ba6753dfbc0646)
2007-10-10 13:58:49 -05:00
Jelmer Vernooij
b785a7c40c r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.
(This used to be commit 4682bc5ce047d81586447b9df82c91ed1fe677cf)
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
71b4fd9792 r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.
(This used to be commit 9c37f847d32d2f327a88c53a90af0c73126b76be)
2007-10-10 13:57:30 -05:00
Andrew Tridgell
2e959619c1 r14436: mixing of boolean expressions and integers isn't allowed
(This used to be commit 6f7d09262d2e92df137167da55f5a22f32490781)
2007-10-10 13:57:24 -05:00
Andrew Tridgell
90e27768ef r14433: sort_result must be initialised when we call do_result
(This used to be commit a33f6a9832c7ae03e630d33120cfa048a51089d5)
2007-10-10 13:57:23 -05:00
Andrew Tridgell
737d05bfb3 r14431: don't call qsort with a null array
(This used to be commit 2c33f577ad5bf8cddec735e75a26c4a4c07d8c51)
2007-10-10 13:57:23 -05:00
Andrew Tridgell
24c76df166 r14430: ret can be NULL at the end of this loop
(This used to be commit b607be9cdad5a9bd672698cb31a2af81d59d0763)
2007-10-10 13:57:22 -05:00
Simo Sorce
2d774763f0 r14391: rdn_name -> async
(This used to be commit 0bc3caa9187e992b09bf797e7de507cca9734ab2)
2007-10-10 13:57:18 -05:00
Simo Sorce
611bad9de3 r14364: operational -> async (untested)
(This used to be commit b112eb774fb1a3d689c8598bbf55ac3e978b8682)
2007-10-10 13:57:15 -05:00
Jelmer Vernooij
7a121583b4 r14349: Kill proto.h!
Prototypes are now spread over multiple headers, usually one per subsystem.
This change is required to allow proper header dependencies later on,
without recompiling Samba each time the mtime of any source file changes.
(This used to be commit 3da79bf909f801386a52e6013db399c384d0401c)
2007-10-10 13:57:14 -05:00
Simo Sorce
b1bf44a4e1 r14344: More helpful messages on error for command line specified controls
fixes in paged_results
asq -> async
(This used to be commit fbd347544001da9e46246eb0b4a8d165ccab15c9)
2007-10-10 13:57:13 -05:00
Jelmer Vernooij
e153a8099e 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.
(This used to be commit 7871b07e21c85c63d0ecac4c31b98dc112d18af5)
2007-10-10 13:57:12 -05:00
Simo Sorce
99dfc7e4d4 r14227: We are passing the wrong pointer here
(This used to be commit 22c1b3635596e881d1a1e8fa5e55ab996ff001d5)
2007-10-10 13:57:05 -05:00
Simo Sorce
6e74d83565 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.
(This used to be commit 6f041068b50caf919cd971812bdb8e3e810565fb)
2007-10-10 13:56:56 -05:00
Simo Sorce
54f26ea2cf r14162: Minor fixes on sort
Initial work on async paged_results
(This used to be commit 72523eae7f8925a2c23d3260875345adcf1661bb)
2007-10-10 13:56:56 -05:00
Simo Sorce
3baf060604 r14161: return early if we know the job is already finished
(This used to be commit 09f6f552d73f782dc8d62cefad9c5f584b7b07d2)
2007-10-10 13:56:56 -05:00
Jelmer Vernooij
c6519ad9c0 r14109: Modulify the smbcalls subsystem.
(This used to be commit d538eac9dbfdd786b533cb5fbbd35ab2fd7358ba)
2007-10-10 13:56:51 -05:00
Jelmer Vernooij
3ccea395aa r14108: Make the Doxyfiles a bit shorter...
(This used to be commit 1004e1521a379ba6afb47e0fd3872d43363bc606)
2007-10-10 13:56:51 -05:00
Simo Sorce
82da2d401e 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.
(This used to be commit e8075e6a062ce5edb84485e45d0b841c2ee2af7d)
2007-10-10 13:52:36 -05:00
Simo Sorce
257598424e r13996: simplify ldb_async_wait() some more
(This used to be commit ef1b3e6368179fe86ae07b8d00e4668090175551)
2007-10-10 13:52:36 -05:00
Simo Sorce
d2745fe6ad 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
(This used to be commit 1c8536750fb811c987357cf1223666e1d79b2672)
2007-10-10 13:52:34 -05:00
Simo Sorce
7b82c4beb9 r13992: change the way ldb_async_wait() works.
I think I should change the name of this function
to ldb_async_process(), any opinions ?
(This used to be commit 3347322d1327cfa975ee9dccd4f2774e6e14fbcb)
2007-10-10 13:52:34 -05:00
Jelmer Vernooij
49e6945ca8 r13990: Fix issues with function renaming.
(This used to be commit 988ea27e22e3c0f4daf118151f90db5bb243bffc)
2007-10-10 13:52:34 -05:00
Simo Sorce
7ffc1b48a4 r13986: minor fixes
(This used to be commit 8375f030197d311515085ac6beeaf63af45d14b0)
2007-10-10 13:52:34 -05:00
Stefan Metzmacher
812edc6b99 r13973: fix the build
metze
(This used to be commit 30af3be22b5f9e6d106954222a3bc4bb53c76665)
2007-10-10 13:52:33 -05:00
Jelmer Vernooij
ceb6e9717b r13960: Generate makefile rules for installing/removing shared modules.
(This used to be commit 2c746980328431ab04852dc668899e3eb042da99)
2007-10-10 13:52:32 -05:00