Andrew Bartlett [Mon, 30 Jun 2008 09:34:11 +0000 (19:34 +1000)]
Merge branch '4-0-local' into v4-0-stable
Andrew Bartlett [Mon, 30 Jun 2008 09:34:02 +0000 (19:34 +1000)]
More updates for spec file, for alpha5
Andrew Bartlett [Mon, 30 Jun 2008 09:31:20 +0000 (19:31 +1000)]
Ensure we install smbd as well...
Andrew Bartlett [Mon, 30 Jun 2008 08:07:26 +0000 (18:07 +1000)]
Prepare for alpha5 tarball.
Now we have packaging/Fedora in the tree, make that directory or copy
files into there.
Andrew Bartlett
Andrew Bartlett [Mon, 30 Jun 2008 08:06:02 +0000 (18:06 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Stefan Metzmacher [Sat, 28 Jun 2008 18:42:27 +0000 (20:42 +0200)]
nbt_server/wins: don't force wins_ldb as shared_module
metze
Stefan Metzmacher [Fri, 27 Jun 2008 13:34:31 +0000 (15:34 +0200)]
dsdb: don't force the build of ldb modules as shared_module
metze
Stefan Metzmacher [Sat, 28 Jun 2008 18:41:45 +0000 (20:41 +0200)]
ldb_ildap: don't force the build as shared_module
metze
Stefan Metzmacher [Sat, 28 Jun 2008 08:50:49 +0000 (10:50 +0200)]
auth: don't force the build of auth_server as shared_module
metze
Stefan Metzmacher [Sat, 28 Jun 2008 09:01:20 +0000 (11:01 +0200)]
lib/talloc: build as MERGED_OBJ instead of STATIC_LIBRARY
metze
Stefan Metzmacher [Sat, 28 Jun 2008 08:59:02 +0000 (10:59 +0200)]
lib/events: build as MERGED_OBJ instead of STATIC_LIBRARY
metze
Stefan Metzmacher [Fri, 27 Jun 2008 13:33:36 +0000 (15:33 +0200)]
smb_build: use MERGED_OBJ instead of STATIC_LIBRARY
metze
Stefan Metzmacher [Fri, 27 Jun 2008 13:31:35 +0000 (15:31 +0200)]
smb_build: enable implicit make rules
metze
Stefan Metzmacher [Sat, 28 Jun 2008 08:49:49 +0000 (10:49 +0200)]
ldb: allow ldb modules to specify LDB_MODULE(name) or LDB_BACKEND(name)
metze
Stefan Metzmacher [Sat, 28 Jun 2008 08:49:49 +0000 (10:49 +0200)]
ldb: fix the init function names for some modules
metze
Andrew Bartlett [Mon, 30 Jun 2008 04:08:03 +0000 (14:08 +1000)]
Mark as alpha5 release
Andrew Bartlett [Mon, 30 Jun 2008 04:04:43 +0000 (14:04 +1000)]
Fix small formatting details in WHATSNET for an alpha5 release.
Andrew Bartlett
Andrew Bartlett [Mon, 30 Jun 2008 03:42:50 +0000 (13:42 +1000)]
Update Fedora packaging per feedback on review ticket.
https://bugzilla.redhat.com/show_bug.cgi?id=453083
Andrew Bartlett [Mon, 30 Jun 2008 02:22:50 +0000 (12:22 +1000)]
Rework samdb handling for 'netlogon' packets.
Don't reopen the samdb for every netlogon packet, and use the
system_session(), as we must access data not available to anonymous.
Perhaps we should consider a 'authenticated but not system' token, if
we want more control on this.
Andrew Bartlett
Andrew Bartlett [Mon, 30 Jun 2008 01:27:55 +0000 (11:27 +1000)]
Relax the ldap.py tests so that they pass against OpenLDAP CVS.
This requires a patched OpenLDAP checked out from their CVS HEAD. I
hope to see the patches incorporated soon.
Andrew Bartlett
Andrew Bartlett [Sun, 29 Jun 2008 23:38:52 +0000 (09:38 +1000)]
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
Jelmer Vernooij [Sat, 28 Jun 2008 13:26:46 +0000 (15:26 +0200)]
Non-zero exit code on failure.
Andrew Bartlett [Sat, 28 Jun 2008 12:04:19 +0000 (22:04 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Sat, 28 Jun 2008 12:03:52 +0000 (22:03 +1000)]
selftest changes for 'winbind privileged dir' change.
Andrew Bartlett [Sat, 28 Jun 2008 12:02:58 +0000 (22:02 +1000)]
dynconfig changes for 'winbind privileged dir' changes.
Andrew Bartlett [Sat, 28 Jun 2008 12:02:19 +0000 (22:02 +1000)]
Use a configure-specified directory for the winbind priv pipe
This makes it easier for RPMs to specify an group for access to that
directory.
Andrew Bartlett
Andrew Bartlett [Sat, 28 Jun 2008 11:38:19 +0000 (21:38 +1000)]
More work to use %{name} rather than 'samba'
Andrew Bartlett [Sat, 28 Jun 2008 11:37:00 +0000 (21:37 +1000)]
Update WHATSNEW towards an alpha5 release.
Andrew Bartlett
Stefan Metzmacher [Sat, 28 Jun 2008 08:28:15 +0000 (10:28 +0200)]
pvfs: create a pvfs_acl subsystem
That means that the pvfs_acl implementations no longer register
as ntvfs modules (which was wrong)
metze
Stefan Metzmacher [Sat, 28 Jun 2008 08:27:16 +0000 (10:27 +0200)]
pvfs: pvfs_aio should be a subsystem instead of an extra ntvfs module
metze
Andrew Bartlett [Sat, 28 Jun 2008 08:25:47 +0000 (18:25 +1000)]
Place the Fedroa package into Samba4's GIT tree
I'll keep this here at least until Fedora picks things up.
Andrew Bartlett
Andrew Bartlett [Sat, 28 Jun 2008 08:12:10 +0000 (18:12 +1000)]
Tone down the language in BUGS.txt
Andrew Bartlett [Sat, 28 Jun 2008 08:04:35 +0000 (18:04 +1000)]
Fix the wbinfo test on the LDAP backend.
The problem was that we would do a blocking wait for the LDAP server,
which was also blocking on us returning (because we were in single
process mode).
The LDAP connection being made here is useless anyway, and will need
to be an async ldb_connect() before anybody reintroucues it (nobody in
their right mind would program a winbindd backend on pure LDAP, when
the ldb abstraction is available).
Andrew Bartlett
Michael Adam [Fri, 27 Jun 2008 11:21:42 +0000 (13:21 +0200)]
ntlm_auth: eliminate "cast pointer from integer of different size" warnings on 64bit.
Michael
Michael Adam [Fri, 27 Jun 2008 10:42:07 +0000 (12:42 +0200)]
ntlmssp: get rid of "cast to pointer from integer of different size" warning on 64 bit
Not sure if this check is actually necessary, though:
the second should be sufficient.
Michael
Michael Adam [Fri, 27 Jun 2008 06:23:26 +0000 (08:23 +0200)]
tdb_unpack: Eliminate "cast to pointer from integer of different size" warning on 64bit.
The 'p' type is just a flag to mark the presence of a pointer,
not a real pointer itself.
The code is now the same as in Samba3's tdb_unpack.
Michael
Stefan Metzmacher [Fri, 27 Jun 2008 09:34:05 +0000 (11:34 +0200)]
gsskrb5: just don't force, but allow the flags when GSS_CF_NO_CI_FLAGS is given
metze
Stefan Metzmacher [Fri, 27 Jun 2008 09:33:00 +0000 (11:33 +0200)]
gsskrb5: fix gss_krb5_cred_no_ci_flags_x_oid_desc variable name
metze
Stefan Metzmacher [Fri, 27 Jun 2008 09:31:49 +0000 (11:31 +0200)]
credentials: gss_set_cred_option() doesn't like GSS_C_NO_BUFFER
metze
Julien Kerihuel [Fri, 30 May 2008 22:47:14 +0000 (00:47 +0200)]
Fix if_version for interfaces with a if_version_minor field different from 0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Volker Lendecke [Fri, 27 Jun 2008 10:14:41 +0000 (12:14 +0200)]
Fix a non-empty line with just spaces
Volker Lendecke [Fri, 27 Jun 2008 10:14:19 +0000 (12:14 +0200)]
Fix the definition of abspath for gnu make < 3.81
Julien Kerihuel [Fri, 27 Jun 2008 07:55:30 +0000 (09:55 +0200)]
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>
Michael Adam [Fri, 27 Jun 2008 07:12:57 +0000 (09:12 +0200)]
pynbt: eliminate "initialization from incompatible pointer type" warning
by fixing the signature of py_nbt_node_init().
Jelmer - please check!
Michael
Stefan Metzmacher [Fri, 27 Jun 2008 07:40:00 +0000 (09:40 +0200)]
nbt_server/wins: add forward declaration for struct event_context
metze
Stefan Metzmacher [Fri, 27 Jun 2008 07:39:30 +0000 (09:39 +0200)]
lib/ldb: add forward declaration for struct event_context
metze
Michael Adam [Thu, 26 Jun 2008 21:32:37 +0000 (23:32 +0200)]
credentials: gss_set_cred_option() needs gss_cred_id_t * argument, not gss_cred_id_t.
This call was added in
f573c1ff4443f3002c310d3ba29d8c343ad03907.
Metze, please check!
Michael
Stefan Metzmacher [Wed, 25 Jun 2008 17:14:34 +0000 (19:14 +0200)]
mkversion.sh: printf %s is more portable than echo -e
metze
Andrew Bartlett [Fri, 27 Jun 2008 02:56:20 +0000 (12:56 +1000)]
Fix installation of Samba4 into an empty tree.
Jelmer's previous patch failed because sh is very fussy about it's
syntax, but only compaled in this case if you take the 'no existing
binary' path.
Andrew Bartlett
Andrew Bartlett [Fri, 27 Jun 2008 02:03:23 +0000 (12:03 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Jelmer Vernooij [Thu, 26 Jun 2008 09:51:22 +0000 (11:51 +0200)]
Use make magic for installing/uninstalling binaries.
Jelmer Vernooij [Thu, 26 Jun 2008 09:39:59 +0000 (11:39 +0200)]
Use make template for installing binaries.
Jelmer Vernooij [Thu, 26 Jun 2008 08:56:59 +0000 (10:56 +0200)]
Move blackbox tests closer to what they're testing.
Jelmer Vernooij [Thu, 26 Jun 2008 08:11:49 +0000 (10:11 +0200)]
Only try to detect the events lib dir if it wasn't set earlier.
Jelmer Vernooij [Wed, 25 Jun 2008 18:04:35 +0000 (20:04 +0200)]
Use variable for selftest directory.
Jelmer Vernooij [Wed, 25 Jun 2008 17:58:41 +0000 (19:58 +0200)]
Fix another reference to ldbdir.
Jelmer Vernooij [Wed, 25 Jun 2008 17:39:50 +0000 (19:39 +0200)]
Use ldbsrcdir rather than ldbdir.
Jelmer Vernooij [Wed, 25 Jun 2008 17:06:59 +0000 (19:06 +0200)]
Use variable for popt source dir.
Jelmer Vernooij [Wed, 25 Jun 2008 17:04:03 +0000 (19:04 +0200)]
Use ldbsrcdir rather than ldbdir.
Jelmer Vernooij [Wed, 25 Jun 2008 15:24:38 +0000 (17:24 +0200)]
Undefine HAVE_KRB5_ENCRYPT_BLOCK because Heimdal really doesn't have it.
Jelmer Vernooij [Wed, 25 Jun 2008 15:12:19 +0000 (17:12 +0200)]
Use workaround for $(abspath)
Jelmer Vernooij [Wed, 25 Jun 2008 14:51:37 +0000 (16:51 +0200)]
Revert "Remove the dependency on $(abspath) in makefiles"
This reverts commit
c85a3632623184cb97c2e8567ca77834e81070a4.
Kai Blin [Wed, 30 Apr 2008 06:15:34 +0000 (08:15 +0200)]
wbinfo: Output string for sid type in lookupsid.
Andrew Bartlett [Fri, 20 Jun 2008 09:04:14 +0000 (19:04 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Stefan Metzmacher [Fri, 20 Jun 2008 09:03:12 +0000 (11:03 +0200)]
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
Andrew Bartlett [Fri, 20 Jun 2008 08:22:15 +0000 (18:22 +1000)]
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
Volker Lendecke [Thu, 19 Jun 2008 10:39:25 +0000 (12:39 +0200)]
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>
Volker Lendecke [Thu, 19 Jun 2008 10:29:50 +0000 (12:29 +0200)]
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>
Stefan Metzmacher [Wed, 11 Jun 2008 05:59:20 +0000 (07:59 +0200)]
credentials: set GSS_KRB5_CRED_NO_CI_FLAGS_X to avoid GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG
metze
Andrew Bartlett [Thu, 19 Jun 2008 08:06:35 +0000 (18:06 +1000)]
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
Andrew Bartlett [Thu, 19 Jun 2008 07:59:57 +0000 (17:59 +1000)]
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
Andrew Bartlett [Thu, 19 Jun 2008 04:53:14 +0000 (14:53 +1000)]
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
Andrew Bartlett [Thu, 19 Jun 2008 01:05:20 +0000 (11:05 +1000)]
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
Andrew Bartlett [Wed, 18 Jun 2008 23:34:04 +0000 (09:34 +1000)]
Don't sign NTP packets to disabled accounts
(As this would allow an offline attack on their password)
Andrew Bartlett
Jelmer Vernooij [Tue, 17 Jun 2008 12:21:02 +0000 (14:21 +0200)]
Use friendly NTSTATUS message in python code when possible.
Jelmer Vernooij [Tue, 17 Jun 2008 11:48:29 +0000 (13:48 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
Jelmer Vernooij [Tue, 17 Jun 2008 11:42:19 +0000 (13:42 +0200)]
Make sure events pc file gets installed.
Andrew Tridgell [Tue, 17 Jun 2008 03:11:29 +0000 (13:11 +1000)]
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.
Jelmer Vernooij [Tue, 17 Jun 2008 00:21:46 +0000 (02:21 +0200)]
Avoid including events_util.h in events_internal.h since the latter is
installed.
Simo Sorce [Mon, 16 Jun 2008 21:51:42 +0000 (17:51 -0400)]
Try to get a bit further with provisioning
Jelmer Vernooij [Mon, 16 Jun 2008 21:25:48 +0000 (23:25 +0200)]
Change order of includes in swig file to avoid warnings.
Jelmer Vernooij [Mon, 16 Jun 2008 21:19:14 +0000 (23:19 +0200)]
Remove support for deprecated JS provisioning.
Jelmer Vernooij [Mon, 16 Jun 2008 13:25:48 +0000 (15:25 +0200)]
Add include in swig file as well.
Simo Sorce [Mon, 16 Jun 2008 13:04:33 +0000 (09:04 -0400)]
Fix build
Simo Sorce [Mon, 16 Jun 2008 13:04:06 +0000 (09:04 -0400)]
Fix ldb_wrap.c
Simo Sorce [Sun, 15 Jun 2008 15:15:12 +0000 (11:15 -0400)]
Fix cleanup.
Simo Sorce [Sun, 15 Jun 2008 15:11:14 +0000 (11:11 -0400)]
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
Jelmer Vernooij [Sun, 15 Jun 2008 17:18:48 +0000 (19:18 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
Jelmer Vernooij [Sun, 15 Jun 2008 17:16:35 +0000 (19:16 +0200)]
Fix standalone ldb build.
Jelmer Vernooij [Sun, 15 Jun 2008 17:16:06 +0000 (19:16 +0200)]
Fix ldb python bindings after events changes.
Simo Sorce [Sun, 15 Jun 2008 15:15:12 +0000 (11:15 -0400)]
Cleanup.
Remove trailing spaces and try to fit 80 column where possible.
Simo Sorce [Sun, 15 Jun 2008 15:11:14 +0000 (11:11 -0400)]
Now that we pass down the event context, start removing calls to
event_context_init() where possible
Simo Sorce [Sun, 15 Jun 2008 00:37:40 +0000 (20:37 -0400)]
Cleanup,
Remove trailing spaces and try to fit 80 columns where possible
Simo Sorce [Sun, 15 Jun 2008 00:18:50 +0000 (20:18 -0400)]
Ups fix typo in error type
Simo Sorce [Sat, 14 Jun 2008 21:33:27 +0000 (17:33 -0400)]
Cosmetic fixes.
Remove trailing spaces adn try to fit 80 columns where possible
Simo Sorce [Sat, 14 Jun 2008 19:54:46 +0000 (15:54 -0400)]
Fix events_aio
Jelmer Vernooij [Sat, 14 Jun 2008 19:40:23 +0000 (21:40 +0200)]
Avoid using .DEFAULT_GOAL - it's only available in gmake 3.81 and higher.
Simo Sorce [Sat, 14 Jun 2008 17:00:53 +0000 (13:00 -0400)]
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.
Simo Sorce [Sat, 14 Jun 2008 15:24:17 +0000 (11:24 -0400)]
Make up the right dependencies now that ldb depends on libevents
Simo Sorce [Sat, 14 Jun 2008 15:23:31 +0000 (11:23 -0400)]
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