| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Replaced signal catching/longjmp magic by a fork:
Let the child do the actual validation of the entries.
Exit code and signals are intercepted by waitpid.
* Fix logic so that also encounter of an unknown key in the
tdb leads to an error.
* Extended status of validation is kept in a (as yet simple)
stuct and communicated over a pipe from child to parent.
* Added two validation_ functions for two new keys.
The call of winbindd_validate_cache is still commented out
in the winbindd main loop. But I am currently testing it
and so far it seems to work fine.
The next step in my plan is to generalize the validation
mechanism to a tdb_open_log_validate function in lib/util_tdb.c.
There ist nothing very special about the cache tdb here,
and this might be useful elsewhere...
Michael
|
| |
| |
| |
| | |
replace all data_blob(NULL, 0) calls.
|
| | |
|
| |
| |
| |
| | |
python libs on recent distributions that take care of security.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
#4426.
|
| |
| |
| |
| |
| | |
pass_last_changed == 0 we now return "Change now!" instead of "Change
never"
|
| |
| |
| |
| |
| | |
Johann Hanne <jhml@gmx.net> and also Kaya Bekiro?lu <kaya.bekiroglu@isilon.com>
Jeremy.
|
| |
| |
| |
| | |
the SQL backends.
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| |
| |
| | |
tokenGroup attribute.
Guenther
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| |
| |
| |
| |
| | |
ALLOWED OBJECT
ACEs).
Guenther
|
| |
| |
| |
| |
| |
| |
| |
| | |
search with
the SD_FLAGS control.
Guenther
|
| |
| |
| |
| |
| |
| |
| |
| | |
preparation of
adding GPO security filtering for libgpo).
Guenther
|
| |
| |
| |
| |
| |
| |
| |
| | |
the silent
argument when parsing pam configuration file options.
Guenther
|
| |
| |
| |
| | |
sam unmapunixgroup"
|
| |
| |
| |
| |
| |
| | |
return values of some alias-releated pdb functions from BOOL to NTSTATUS
Thanks :-)
|
| | |
|
| |
| |
| |
| | |
specified
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
different
database backends in place dynamically.
The main abstractions are db_context and db_record, it should be mainly
self-describing, see include/dbwrap.h. You open the db just as you would open
a tdb, this time with db_open(). If you want to fetch a record, just do the
db->fetch() call, if you want to do operations on it, you need to get it with
fetch_locked().
I added dbwrap_file.c (not heavily tested lately) as an example for what can
be done with that abstraction, uses a file per key. So if anybody is willing
to shape that up, we might have a chance on reiserfs again.... :-)
This abstraction works fine for brlock.tdb, locking.tdb, connections.tdb and
sessionid.tdb. It should work fine for the others as well, I just did not yet
get around to convert them.
If nobody loudly screams NO, then I will import the code that uses this soon.
Volker
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
Fixes the strange behavior we were seeing about idmap_ldap creating
a new connection for each query.
Jerry we need this in for 3.0.25
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
r22412 | obnox | 2007-04-20 14:23:36 +0200 (Fr, 20 Apr 2007) | 5 lines
Add a "deletelocalgroup" subcommand to net sam.
Thanks to Karolin Seeger <ks@sernet.de>.
|
| |
| |
| |
| |
| | |
in sendfilereadbraw.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
connections_traverse
and connections_forall. This centralizes all the routines that did individual
tdb_open("connections.tdb") and direct tdb_traverse.
Volker
|
| |
| |
| |
| | |
metze
|
| |
| |
| |
| |
| |
| | |
pstring. Give it one, although I hate putting it in :-)
Thanks to Tom Bork! :-)
|
| |
| |
| |
| |
| |
| |
| |
| | |
the terminating NULL if we've already processed the null
in iconv. Jerry, once I get confirmation from Thomas Bork
this needs to be in 3.0.25 final. Tests fine with valgrind
here.
Jeremy.
|
| |
| |
| |
| | |
server_id' instead of a 'uint32 pid'
|
| | |
|
| |
| |
| |
| |
| | |
merging to 3_0_26 once Michael's net conf changes have been merged. It
depends on token_utils.c.
|
| |
| |
| |
| | |
the domain.
|
| | |
|
| |
| |
| |
| |
| |
| | |
lib/util_tdb.c exactly match the definitions. (There were
some [u]int_32_t instead of [u]int32, which made a gcc 2.95
on an old AIX without system [u]int32[_t] types complain...)
|
| |
| |
| |
| |
| |
| |
| |
| | |
Günther, please check this!
Thanks,
Volker
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
patch.
This changes "struct process_id" to "struct server_id", keeping both is
just too much hassle. No functional change (I hope ;-))
Volker
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Vista. Vista provides a plethora of kludges to simulate older versions of
Windows. The kludges are in the form of shortcuts (or more likely symbolic
links, but I don't know enough about Vista to determine that definitively)
and in most cases, attempts to access them get back an "access denied"
error. On one particular folder, however, "<share>/Users/All Users", it
returns an unknown (to ethereal and the Samba3 code) NT status code:
0x8000002d. Although this code does not have a high byte of 0xc0 indicating
that it is an error, it appears to be an alternate form of "access denied".
Without this patch, libsmbclient times out on an attempt to enumerate that
folder rather than returning an error to the caller. This patch corrects
that problem.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
names"
and the username has been munged. Make sure to munge it back before
performing the change_password() request.
|
| |
| |
| |
| | |
from Dnailo A.)
|