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

16223 Commits

Author SHA1 Message Date
Andrew Bartlett
1e36856ae5 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit edd9ecce9511871d9c9942d50eb91c68a8e04ec9)
2008-06-20 19:04:14 +10:00
Andrew Bartlett
08656f831c Depend on NDR_DRSBLOBS explicity.
Something else ensures this links correctly (for the moment) but for
the long-term let's declare our depenency (for the prefixMap stuff)
here.

Andrew Bartlett
(This used to be commit 5fcb39594b07c7b7a11985711a912b7a4d629ae7)
2008-06-20 18:22:15 +10:00
Volker Lendecke
2d65e5a60d Include events_util.h in events_aio.c
Without this, linking fails with DLIST_ADD and DLIST_REMOVE being undefined

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 87385e4c873f80956dc1c43424dd4f49a993586c)
2008-06-19 14:23:13 +02:00
Volker Lendecke
d67e18ee37 Remove the dependency on $(abspath) in makefiles
This is not around before GNU make 3.81, for me this fixes the build
on GNU make 3.80

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit c85a3632623184cb97c2e8567ca77834e81070a4)
2008-06-19 14:22:57 +02:00
Stefan Metzmacher
809d82d169 credentials: set GSS_KRB5_CRED_NO_CI_FLAGS_X to avoid GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG
metze
(This used to be commit f573c1ff4443f3002c310d3ba29d8c343ad03907)
2008-06-19 13:59:38 +02:00
Andrew Bartlett
b388f932ba Change detection of objectCategory short fomm
To actually validate the DN, we load and call the validation fucntion,
not just check the 'ldb_dn_is_valid()' function.

Andrew Bartlett
(This used to be commit 5fb5a4e13db3a03da414876efa717c3de44ca77c)
2008-06-19 18:06:35 +10:00
Andrew Bartlett
00bde569b7 Fix segfault caused by talloc_free() being called while still processing
The problem here was that with the packet code set to serialise, we
can have multiple packets 'processing' at once, and previously the
second packet (allowed because we are spining on an event context down
the stack) would clear the flag.

Andrew Bartlett
(This used to be commit 33789111241a1d97fc105ec4edd7b8054895b28c)
2008-06-19 17:59:57 +10:00
Andrew Bartlett
48100ca5c6 Remove old ldap.js test, we have replicated it in python now.
This will soon allow the removal of smbscript, once the samba3sam test
conversion is complete.

Andrew Bartlett
(This used to be commit 60c93b9777d9bd7dce89f9024ba767f5404ac72d)
2008-06-19 14:53:14 +10:00
Andrew Bartlett
9ea25cacf1 Add a blackbox test for the provision-backend script.
This test (as most tests do :-) found a few bugs, also fixed in this
commit.

Andrew Bartlett
(This used to be commit d96a6482dad54d1d27a87107865e833a9c32cf53)
2008-06-19 11:05:20 +10:00
Andrew Bartlett
221b69af84 Don't sign NTP packets to disabled accounts
(As this would allow an offline attack on their password)

Andrew Bartlett
(This used to be commit e28481fc0976231c6f4cb7a5f7c7708f4becdb18)
2008-06-19 09:34:04 +10:00
Jelmer Vernooij
cceabcd2a4 Use friendly NTSTATUS message in python code when possible.
(This used to be commit 09cf8c7dd82bb95e2f8782782286869654d96375)
2008-06-17 14:21:02 +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
Jelmer Vernooij
8259cc5926 Make sure events pc file gets installed.
(This used to be commit e12c0b61573f27969a79d4c07a8fd42f6c931d7e)
2008-06-17 13:42:19 +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
c13e478ab8 Avoid including events_util.h in events_internal.h since the latter is
installed.
(This used to be commit 7a7e8f30dd3e5bfad788a098872afa8263321cbb)
2008-06-17 02:21:46 +02:00
Simo Sorce
370f95acfc Try to get a bit further with provisioning
(This used to be commit 649f6c0c1084828dda7d50bd2904208192de77da)
2008-06-16 17:52:50 -04: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
c075fe9693 Remove support for deprecated JS provisioning.
(This used to be commit 9a5859c33e2377f3c5ee8d637fa81d49cb6f5456)
2008-06-16 23:19:14 +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
ab871770ca Fix build
(This used to be commit 220b58070239141158d796bd782d62cc36cd19db)
2008-06-16 09:06:50 -04: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
cac6ea8c5e Fix events_aio
(This used to be commit d5525b79649ff75d6e9e853615949e4fbe9e0b6e)
2008-06-14 15:55:14 -04:00
Jelmer Vernooij
9a882558fe Avoid using .DEFAULT_GOAL - it's only available in gmake 3.81 and higher.
(This used to be commit 9a169c341bfb0c4ff423f05c27345d439890576c)
2008-06-14 21:40:23 +02: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
3443954c2b Use proper python errors.
(This used to be commit f54084b65fce67457cb838544c83ceb17c7d88db)
2008-06-14 12:20:12 +02:00
Jelmer Vernooij
5bc9ef0e33 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 168bb8473c0cfeb388f9955059f92410b8ba5d06)
2008-06-14 12:15:24 +02:00
Jelmer Vernooij
21a11373e0 Fix prototype for pthread process model.
(This used to be commit 280c411613b21acc1e65e5657b209d266dbad8d3)
2008-06-14 12:14:27 +02:00
Jim McDonough
f3fb381952 Missed these on the last commit
(This used to be commit 0e8f946ed02a6d2d9469f9ccab5f3342b2b80725)
2008-06-12 07:06:07 -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
Jelmer Vernooij
3fe58d839a Use variables for source dir of python tdb bindings.
(This used to be commit 22e7bcfbe4534c070ac2dd5f39773ea023dfa7f7)
2008-06-11 02:47:09 +02:00
Jelmer Vernooij
aa98a5f323 Add another reason for skipping a testsuite, remove obsolete comment.
(This used to be commit d4c06bf333fe9ba2dd8b7ebd51a848d512f40983)
2008-06-11 00:11:31 +02:00
Jelmer Vernooij
4c144bbc9e Clarify error when SWIG can't be found - it's not required unless you
intend to do development.
(This used to be commit 0f57fcaa2e8af3e2b03ba401f4fda812fe55745b)
2008-06-11 00:11:11 +02:00
Jelmer Vernooij
31a2a98d83 Remove unused import, function.
(This used to be commit f134a701e7c2d64a684d55691fd66e2aaeb15812)
2008-06-11 00:10:43 +02:00
Jelmer Vernooij
230503ad84 Add working Python bindings for NBT.
(This used to be commit 9c88f5e1de9db34751f16c2247fa91ae2445c5f7)
2008-06-11 00:05:58 +02:00
Jelmer Vernooij
01fc095d6e Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 74e1dd28f2f669bc196dc16b68c8b175bf835721)
2008-06-10 15:05:41 +02:00
Jelmer Vernooij
ffbea67677 Fix variables used in configure.
(This used to be commit 9a58d9138af51dec6eab832a78506e93a86c34c5)
2008-06-10 14:52:17 +02:00
Stefan Metzmacher
7206c5fc4a Revert "Add configure test for vdeplug library."
This reverts commit 89590d7dfe0735093a4a5b66eeed9276df043ac9.

We don't need this yet and currently config.m4 is also used
by samba3 which bail out with the check in it, as it doesn't
know about the SMB_EXT_LIB() macro

metze
(This used to be commit bd0ec1754e6e187d421a718410ecd7c21922aa8b)
2008-06-10 09:52:04 +02:00
Jeremy Allison
85087ce095 Fix initialization warnings.
Jeremy.
(cherry picked from commit 832c093830cb3978641be3d87670fa900105da25)
(This used to be commit 3a4198b1181d6b97804afebbb91dac5a8242f615)
2008-06-10 09:13:32 +02:00