| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
When building on linux, default to building cifs.upcall. Throw a
warning if ADS support is disabled or keyutils isn't installed.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 362092be7114d0ed4a8771ff3b4b5166350bac92)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
binary. The biggest change is that it renames it from cifs.spnego
to cifs.upcall since the cifs.spnego name really isn't applicable
anymore.
It also fixes a segfault when the program is run without any args
and adds a manpage. Comments and/or suggestions appreciated.
This set should apply cleanly to the 3.3 test branch.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jeremy.
(cherry picked from commit e2e41ff95cc2388dd41cee1e105a280fbfcf7c02)
|
|
|
|
|
|
|
| |
* Added checks for spnego prereq keyutils.h and kerberos in configure.in
Signed-off-by: Igor Mammedov <niallain@gmail.com>
(cherry picked from commit 9d2c5aee56d58930d4d982046b7164e12c12db5d)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See this test: http://samba.org/~tridge/junkcode/aio_uid.c
The problem is that setresuid() tries to be clever about threads, and
tries to change the euid of any threads that are running. If a AIO read
or write completes while this is going on then the signal from the thread
where the IO completed is lost, as it gets -1/EPERM from rt_sigqueueinfo()
The simplest fix is to try to use setreuid() instead of setresuid(),
as setreuid() doesn't try to be clever. Unfortunately this also means
we must use become_root()/unbecome_root() in the aio code.
(cherry picked from commit 5e3b978c51e741d413b856adafa1b1090ed8dd7b)
|
|
|
|
| |
Thanks to William Jojo
|
|
|
|
| |
Guenther
|
|
|
|
| |
Bug 5271 -- thanks to Tiziano Müller
|
|
|
|
|
|
|
|
| |
Use the resulting HAVE_LBER_LOG_PRINT_FN to determine whether we can
use it in init_ldap_debugging to intercept LDAP debug output and print
it out in the samba logs (controlled with "ldap debug level").
Michael
|
|
|
|
|
|
| |
Found by Timur I. Bakeyev <timur@com.bat.ru>.
Michael
|
|
|
|
|
|
| |
to cause us to behave like Vista when looking for remote
machine principal. Modified by me.
Jeremy.
|
|
|
|
| |
metze
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit 0d4bbd197198a94bf4e29e0ccd175a40a60097f3
Author: Gerald (Jerry) Carter <jerry@samba.org>
Date: Mon Jul 2 20:08:19 2007 -0500
Introduce GNU ld linker export-script for hiding non-public symbols
in shared libraries.
Based on initial patch from Julien Cristau <jcristau@debian.org>
and suggestions from James Peach <jpeach@samba.org>. Currently
the libsmbsharemodes libraries still exports *. Signed off on
my Derrell as well.
|
|
|
|
| |
Michael
|
|
|
|
| |
libmsrpc (unmaintained).
|
| |
|
|
|
|
|
|
|
| |
emited to the Makefile in the DEVELOPER_CFLAGS variable. This makes
it easy to turn developer mode on and off without waiting for
configure to run. The developer flags are only added to CFLAGS for
the --enable-developer and --enable-krb5developer cases.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I'm 100% certain I've forgotten to merge something, but the main code
should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and
messages_ctdbd.c.
There should be no changes to the non-cluster case, it does survive make
test on my laptop.
It survives some very basic tests with ctdbd enables, I did not do the
full test suite for clusters yet.
Phew...
Volker
|
|
|
|
|
|
| |
to the
dynamic group resolution mechanism when switching UNIX credentials.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Current configure check detects posix ACL support
but compile of modules/vfs_posixacl.c fails due
to missing defines in sys/acl.h:
ACL_USER, ACL_USER_OBJ, ACL_GROUP, ACL_GROUP_OBJ, ACL_OTHER,
ACL_MASK, ACL_WRITE, ACL_READ
It has to be investigated, if this can be fixed within
the posixacl vfs module or if we need a darwinacl module.
Michael
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Linux, FreeBSD and other (which?) ACL implementations
are now checked in the same block instead of in three
separate blocks. This was inspired by Timur Bakeyev
in Bug #4543. Since bugzilla is currently unavailable
this patch is probably slightly different from Timurs
original patch. This should finally fix Bug #4543.
2. The default of the --with-acl-support configure
option is changed to "auto" (which is actually the
same as "yes"). So configure tries to detect acl
support by default. This had been discussed with
Metze and others.
Michael
|
| |
|
|
|
|
|
|
|
| |
as we can't replace this function in libreplace and we do
the some stuff for other function in the same way.
metze
|
|
|
|
| |
call renames for svcctl in the previous commit
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
built by
default).
|
| |
|
|
|
|
|
| |
cross-compiling, we accept the first iconv library that we find (with a
warning).
|
|
|
|
|
|
|
|
| |
we have to take care to preserve the "special" values
for Windows of 0x80000000 and 0x7FFFFFFF when casting
between time_t and uint32. Add conversion functions
(and use them).
Jeremy.
|
|
|
|
| |
boxes like this. Thanks, Don!
|
| |
|
|
|
|
| |
the ELF segment
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
#4426.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds vfs_posixacl to the list of static modules and
makes use of HAVE_ACL_GET_PERM_NP.
This is just a quick fix. FreeBSD acl support is still
hardcoded in configure.in, but actually this could be
detected in a unified test for freebsd, linux, *,
as suggested in the bugreport. This has still to be
checked and elaborated.
Michael
|
|
|
|
|
|
| |
readahead()
missing declaration problem.
|
|
|
|
|
|
|
|
|
|
| |
least one
OS) but is available for linking. Instead of running configure tests with
-Werror-implicit-function-declaration in developer mode (which may lead to
different library functions being used in developer mode than when not in
developer mode), add tests for whether readahead is declared. If not,
provide a replacement declaration in lib/replace.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
configure.in determines if -Werror-implicit-function-declaration is
available, and if so it enables that flag if --enable-developer is
specified. Since the configure tests themselves did not use that flag, it
was possible for a configure test to succeed, followed by a failed
compilation due to a facility being available but not having a proper
declaration in a header file. (This bit me with readahead().) This patch
ensures that if implicit function declarations will kill the build, the
feature being tested is deselected so the build will succeed.
The autoconf manual suggests using return instead of exit in configure
tests because the declaration for exit is often missing. We require this
now, since we error if prototypes are missing. See section 5.5.1 of
http://www.gnu.org/software/autoconf/manual/autoconf.html. This patch makes
these changes, because in fact, an external declaration for exit is missing
here (and likely elsewhere).
I've verified that the features selected (here) with the original
configure.in and the new one are the same except for, in my case,
readahead. I've also confirmed that the generated Makefile is identical.
These changes are not being applied to the 3.0.26 branch because it does not
exhibit the initial problem this patch is supposed to solve since it doesn't
attempt to use -Werror-implicit-function-declaration.
|
|
|
|
|
|
| |
Thanks to Tom Bork for reporting this!
Volker
|
|
|
|
|
|
|
|
| |
NTSTATUS
codes directly out of the krb5_error edata.
Guenther
|
|
|
|
| |
make we found is what will be run when the user invokes "make".
|
|
|
|
|
|
|
|
| |
kernel and
Hurd systems).
Patch by the Samba packaging team for Debian.
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
|
| |
use it in
-enable-developer.
Guenther
|