1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

1370 Commits

Author SHA1 Message Date
Andrew Bartlett
8b6d8184a5 Loosen ldap.py tests on the LDAP backend.
Allow LDAP backend to return parts of the DN in a different case, when
verifying memberOf.

Andrew Bartlett
(This used to be commit daddfae9fd8b7375bd4f469808378edc60a55be0)
2008-06-30 09:38:52 +10:00
Jelmer Vernooij
63cfab25e9 Non-zero exit code on failure.
(This used to be commit 9c220c0dce31fbe4b2f6433f40a52162d21c03f7)
2008-06-28 15:26:46 +02:00
Julien Kerihuel
2495690eb8 Remove events from require line:
The events library is not installed and prevent OpenChange from linking
with ldb. The following patch removes events reference from ldb pc file.

We are currently fixing this bug in openchange upstream using 'sed' in
our installsamba4.sh script, but this hack won't work with a packaged
version of samba4.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 0b8508f75eac84ef68850e91300fb837a621cc77)
2008-06-27 10:24:28 +02:00
Stefan Metzmacher
1cea7ebe2e lib/ldb: add forward declaration for struct event_context
metze
(This used to be commit 9bbdc682a985f210874c008a0abc25645e7fbd50)
2008-06-27 09:46:22 +02:00
Jelmer Vernooij
aa8619dbea Fix another reference to ldbdir.
(This used to be commit 6416b637ea6570edd27eb8ef3005c408d311f3a3)
2008-06-25 19:58:41 +02:00
Jelmer Vernooij
70ebd680b3 Use ldbsrcdir rather than ldbdir.
(This used to be commit 25f500d2233198b88c1d54268f5f6f461cea75d9)
2008-06-25 19:39:50 +02:00
Jelmer Vernooij
750297a6d9 Use ldbsrcdir rather than ldbdir.
(This used to be commit a422c6c5ff47f36ef3376f54e707561c6a53ac23)
2008-06-25 19:04:03 +02:00
Jelmer Vernooij
232fd06271 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 30a33cd0a64c434d6aee551f641343c3b2a6d9ca)
2008-06-17 13:48:29 +02:00
Andrew Tridgell
310875e637 Change our module code to not use the special symbol name init_module()
Current glibc libraries include a function called init_module(). If we
use the same name, then a dlsym() can find the glibc function if the
module doesn't have an initialisation function.

In ldb, none of our modules have an init_module(), so we end up calling the libc
functions with bogus arguments.
(This used to be commit 1b0621068998590e7b1e9528b78744dcd2cd5909)
2008-06-17 13:11:29 +10:00
Jelmer Vernooij
9cdfcd2b1a Change order of includes in swig file to avoid warnings.
(This used to be commit 0e1fccbd73eb0f219ea9662c56ee6da8a92f641a)
2008-06-16 23:25:48 +02:00
Jelmer Vernooij
4a33e5e41b Add include in swig file as well.
(This used to be commit c623313189728dd0553384e2e115cf10db4c7f25)
2008-06-16 15:25:48 +02:00
Simo Sorce
b6fc30b360 Fix ldb_wrap.c
(This used to be commit fd9f7c56752a06433cc26fa61a16d87941cbb2d3)
2008-06-16 09:06:39 -04:00
Simo Sorce
78d9e9be0c Fix cleanup.
(This used to be commit acbe365e34571218fe312f52edec98f4fe5b76be)
2008-06-15 15:06:26 -04:00
Simo Sorce
59ce567491 Note that making ldb the event context parent seem to lead to races when
freeing up resources. Try to avoid races by making the autofree context
be the parent of the event system
(This used to be commit 10ffa87b6b7ebfe51e81819feb93a72e9ec10418)
2008-06-15 15:06:26 -04:00
Jelmer Vernooij
7a2d162414 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 1659a572c49b2f9cf336b27ec1c1bec1b86d688e)
2008-06-15 19:18:48 +02:00
Jelmer Vernooij
7cb41fde3c Fix standalone ldb build.
(This used to be commit 4ac91e301455721b76f7f456bc50c5c6e47c05d3)
2008-06-15 19:16:35 +02:00
Jelmer Vernooij
adbfc2c65c Fix ldb python bindings after events changes.
(This used to be commit dd1f24d0c6dfb19ba08282b91998f6881782c4fb)
2008-06-15 19:16:06 +02:00
Simo Sorce
5aec74c676 Cleanup.
Remove trailing spaces and try to fit 80 column where possible.
(This used to be commit b32a040c2f0eb28d68837bde727437ca118d1b18)
2008-06-15 11:15:12 -04:00
Simo Sorce
1a7823823e Now that we pass down the event context, start removing calls to
event_context_init() where possible
(This used to be commit 412f7a98dd809306ac9f35003fce554e1e1252e7)
2008-06-15 11:11:14 -04:00
Simo Sorce
4d8804f26c Cleanup,
Remove trailing spaces and try to fit 80 columns where possible
(This used to be commit edf6b77a1314d8f91839836855ae049393f73aca)
2008-06-14 20:37:40 -04:00
Simo Sorce
21943bf0af Ups fix typo in error type
(This used to be commit eb351e33e58abdacdf44cf700f028cc13f52c4c8)
2008-06-14 20:18:50 -04:00
Simo Sorce
fb8723d28c Cosmetic fixes.
Remove trailing spaces adn try to fit 80 columns where possible
(This used to be commit 5457c667647ec156bb7b4f86ce580def4e9350d5)
2008-06-14 17:33:27 -04:00
Simo Sorce
2daf2897d5 Use a custom init function for samba4 that sets a samba4
specific debug function.
By default do not debug, this is the most appropriate action for a library
as we cannot assume what stderr is use for in the main app.
The main app is responsible to set ev_debug_stderr if they so desire.
(This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
2008-06-14 13:00:53 -04:00
Simo Sorce
929adc9efa Make up the right dependencies now that ldb depends on libevents
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-06-14 11:59:19 -04:00
Simo Sorce
2aba410791 This patch make it possible to build the events library completely
standalone with no ties to internal samba4 functions
Samba4 itself just uses the plain library, compatibility glue is
in events_s4.c only
(This used to be commit 7109b6a5a19eb2dbef4259104858b171298bad6e)
2008-06-14 11:59:19 -04:00
Jelmer Vernooij
ce9db767a0 Use variables for source dir of python ldb bindings.
(This used to be commit cd4eddd31354f4ae45e8747da1a70340000716c3)
2008-06-11 02:52:43 +02:00
Andrew Bartlett
446748bfe1 Align the Python and EJS ldap tests.
We should now (need to review and compare them once more) be able to
remove ldap.js (and once samba3sam.js is done, smbscript).

Andrew Bartlett
(This used to be commit f65e43e9456e8e951d172779cba53ab417114b20)
2008-06-03 23:27:22 +10:00
Andrew Bartlett
be14efbdf9 Revert Jelmer's CFLAGS commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6c
This commit broke the build, because not all files (libreplace, popt)
were updated.

Andrew Bartlett
(This used to be commit 3faacf4351d68a10aea78b53768571d2059772ae)
2008-05-31 08:35:55 +10:00
Jelmer Vernooij
39f50afc57 Move CFLAGS handling out of smb_build.
(This used to be commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6c)
2008-05-30 02:07:28 +02:00
Jelmer Vernooij
16c883ca23 Move CFLAGS that are not inherited out of smb_build.
(This used to be commit 49dcf4b8811f92684a7ddd266ac289d8fc8ca215)
2008-05-27 16:23:12 +02:00
Jelmer Vernooij
936b973acb Use new dynconfig.h location.
(This used to be commit c3f556915f09d078253e4c5539910a1cf420eeca)
2008-05-27 14:36:28 +02:00
Jelmer Vernooij
4fc224f48e Use variable for ldb source directory.
(This used to be commit 48bfce0ea51b952baef5bfa667405e8742e5016f)
2008-05-27 14:14:45 +02:00
Jelmer Vernooij
564b6ed025 Add proper implementation of MessageElement.__cmp__.
(This used to be commit 076e2cc356978ac313fcfdf8d8243f4ed1d629b0)
2008-05-23 04:07:42 +02:00
Jelmer Vernooij
c401aa9357 Use restructuredText formatting for docstrings.
(This used to be commit 0cc58decd74d20f3d7dff93ddef1c8bce4d49ad0)
2008-05-23 00:37:22 +02:00
Jelmer Vernooij
9893651c02 Add module docstring, docstrings for constructors.
(This used to be commit 67d738d6e65476263a2b7c236a57fe2b0a2dfe32)
2008-05-23 00:36:32 +02:00
Jelmer Vernooij
fb2d69a140 Add more docstrings in the ldb python module.
(This used to be commit a649a010670ee2c0d155aa62654841cf1f2bab8f)
2008-05-23 00:36:20 +02:00
Jelmer Vernooij
505cea9d4c Add some docstrings to ldb python module, fix MessageElement name.
(This used to be commit 717283331f8a1ebd80e7ec52d9bfe709f869ec86)
2008-05-23 00:35:50 +02:00
Jelmer Vernooij
5ce59419a0 Fix CFLAGS for SWIG files.
(This used to be commit 8ee4f075046e0b181ec8a4ac1eaf3ea5621a56bf)
2008-05-22 02:13:26 +02:00
Jelmer Vernooij
49706ab19b Move more modules inside of the samba package.
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
2008-05-21 23:59:34 +02:00
Jelmer Vernooij
82bcf967b7 Move CFLAGS overrides for SWIG modules to Makefile.
(This used to be commit 58665a8a8e4b10435aebbf2c95b6a8e50db232d6)
2008-05-21 21:32:53 +02:00
Jelmer Vernooij
2914b0ca04 Remove support for .py files from smb_build - deal with it only in the makefiles.
(This used to be commit b865249efaa58d0fc87fa25491fda3b970af81c3)
2008-05-21 21:24:48 +02:00
Andrew Bartlett
28b2fa8623 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 69bac908bec3216d2f17042aa05ab8d4b55b0918)
2008-05-20 08:27:08 +10:00
Andrew Bartlett
343fea32cc Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Fix config.mk due to changing syntax.

Conflicts:

	source/libcli/config.mk
	source/nbt_server/config.mk
(This used to be commit 6a1c76f29f78183f44dfac6f468c5e728d2cb2cf)
2008-05-20 08:03:35 +10:00
Jelmer Vernooij
43a22c9b4a Add __repr__ implementation for Ldb.
(This used to be commit 5607aea07f66f09fd5b33842d07d2fbbf44d13e7)
2008-05-19 23:12:13 +02:00
Jelmer Vernooij
ae46119096 Add __repr__ implementations for ldb.Message, ldb.MessageElement and ldb.Dn.
(This used to be commit b9119c0f0f524d43ff09825dffb24a5e77a240f4)
2008-05-19 23:07:04 +02:00
Andrew Bartlett
b869a525b1 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 61c31dc7cf649bc6f2d14bc8637e50ead9b9210a)
2008-05-12 09:44:27 +10:00
Jelmer Vernooij
babdcc6135 Use system python rather than smbpython.
(This used to be commit d3df51cd01e53383dcc05923d248db03bc6f62e9)
2008-05-11 05:29:20 +02:00
Jelmer Vernooij
b48e2e4c41 Merge ldb_map into LIBLDB.
(This used to be commit 4d7925f953bc9d1fcffb4a4dd268b763c18ceae6)
2008-05-11 02:15:32 +02:00
Jelmer Vernooij
7b45a4d7fa Merge branch 'v4-0-test' into v4-0-gmake3
Conflicts:

	source/auth/config.mk
	source/auth/gensec/config.mk
	source/torture/smbtorture.c
(This used to be commit edfd02e59bba86b977bd60848f57a614691fff7a)
2008-05-10 18:08:00 +02:00
Andrew Bartlett
00ebe3df81 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 2db0e86fb4abc27eed2d35e1d41122bc89a2c5fe)
2008-05-09 10:47:23 +10:00