1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

16921 Commits

Author SHA1 Message Date
Jelmer Vernooij
26e9194e3a Move blackbox tests closer to what they're testing.
(This used to be commit c9b2e2aa861ccc01e5d92cfe468be1f6324ed294)
2008-06-26 10:56:59 +02:00
Jelmer Vernooij
4f4949a8f4 Only try to detect the events lib dir if it wasn't set earlier.
(This used to be commit 3f48f68800176d992a1bd9b6349f22ec152fc34a)
2008-06-26 10:11:49 +02:00
Jelmer Vernooij
9c6b7f760a Use variable for selftest directory.
(This used to be commit 78760606fa71c370ae3c05b077c5146166bdaa7b)
2008-06-25 20:04:35 +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
da5c4143f8 Use variable for popt source dir.
(This used to be commit effc25e805facea001ebd64d383f1a536c61d0e3)
2008-06-25 19:06:59 +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
456c3b760f Undefine HAVE_KRB5_ENCRYPT_BLOCK because Heimdal really doesn't have it.
(This used to be commit 55a6e852c77ffb91d2e0a0503dab06214f675db8)
2008-06-25 17:24:38 +02:00
Jelmer Vernooij
18ba7d7679 Use workaround for $(abspath)
(This used to be commit 21b4d017a2cccdaa6ab4ed32409f19c612293fd0)
2008-06-25 17:12:19 +02:00
Jelmer Vernooij
6ba3cffb48 Revert "Remove the dependency on $(abspath) in makefiles"
This reverts commit c85a3632623184cb97c2e8567ca77834e81070a4.
(This used to be commit 1a771c664444ff43e141238f473273700b392aa7)
2008-06-25 16:51:37 +02:00
Kai Blin
1dca64e26a wbinfo: Output string for sid type in lookupsid.
(This used to be commit 8b4c7fb200598b7f747fc681f76d464760f693ee)
2008-06-20 13:15:40 +02:00
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
Stefan Metzmacher
197c25487e smbd: make sure the parent smbd stays alive forever
The problem was that the parent smbd doesn't have
any event when the process model standard was in use.

Now we always add an fd event for stdin, but may not
ask for any events to trigger.

metze
(This used to be commit fa6c00734ccf9bfe7a962253ddb5e2a1722c9b09)
2008-06-20 11:03:12 +02: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