Günther Deschner
12bd7a1230
s4-smbtorture: fix two context arguments in RPC-SAMSYNC test.
...
Guenther
2010-04-06 10:56:55 +02:00
Jeremy Allison
15531d9df1
Add FSCTL_QUERY_ALLOCATED_RANGES to the list of Windows ioctls we support.
...
Based on a patch reported and tested by Ira Cooper <samba@ira.wakeful.net>.
Jeremy.
2010-04-05 19:33:55 -07:00
Jelmer Vernooij
e39ed552b6
selftest: Remove python2.4-isms
2010-04-06 04:01:54 +02:00
Jeremy Allison
c75184b8a1
Fix issue with aio where r/w lock wasn't kept across aio read operations.
...
Change schedule_aio_read_and_X/schedule_aio_write_and_X to
return NTSTATUS. Move the grant and release of the lock into
the aio code.
Jeremy
2010-04-05 14:16:21 -07:00
Volker Lendecke
2754a8e2b6
Fix related to bug #7326 - can't read/write any files with full_audit
2010-04-05 13:50:59 -07:00
Volker Lendecke
3ccecdd650
s3: Fix a cut&paste error in winbindd_list_groups_done
2010-04-05 16:04:03 +02:00
Matthias Dieter Wallnöfer
6d6c551d26
Revert "s4:gensec_gssapi.c - make sure that "GSS_C_DELEG_POLICY_FLAG" is available"
...
This reverts commit 3e091a8216
.
This should be fixed through the new build system when it lands in "master".
2010-04-05 12:06:49 +02:00
Matthias Dieter Wallnöfer
1b6e5a1b8d
s4:python/samba/__init__.py - import "sys" for "ensure_external_module" method
2010-04-05 12:06:49 +02:00
Volker Lendecke
488fe76a22
libwbclient: Fix a memleak in wbcListTrusts
2010-04-04 23:22:52 +02:00
Volker Lendecke
50a625ce0e
libwbclient: Fix memleaks in tests
2010-04-04 23:22:52 +02:00
Volker Lendecke
b1b723da6f
libwbclient: Fix a memleak in wbcListTrusts
2010-04-04 23:22:52 +02:00
Volker Lendecke
6e40fa9b01
s3: Fix the GNU ld version detection on SLES
...
On SLES 11 "ld -v" gives
GNU ld (GNU Binutils; SUSE Linux Enterprise 11) 2.19
The regexp to intended to detect the "2.19" is confused by the "11" in the
version string. I'm not really into regexps, and awk '{print $NF}' to me is a
simple (and hopefully portable) way to print the last field.
2010-04-04 20:31:19 +02:00
Kai Blin
b1192bbfc9
lib/replace: Don't use StrnCpy inside crypt.c
...
With this and the int32_t/int64_t change, talloc crossbuilds to android
2010-04-04 13:51:02 +02:00
Kai Blin
781a0c0846
lib/replace: use correct inttypes in crypt.c
...
This makes the android crossbuild slightly less broken.
2010-04-04 13:42:15 +02:00
Volker Lendecke
9b1f9da436
libwbclient: Streamline result processing of wbcCredentialCache()
2010-04-04 12:51:24 +02:00
Volker Lendecke
b198283f1f
libwbclient: Fix a memleak in wbcCredentialCache
2010-04-04 12:51:24 +02:00
Jelmer Vernooij
55aeb682ba
s4-python: Move dsdb_convert_schema_to_openldap to dsdb.
2010-04-04 00:42:52 +02:00
Jelmer Vernooij
2a67eda98f
s4-python: Move set_opaque_integer -> dsdb.
2010-04-04 00:40:01 +02:00
Jelmer Vernooij
ccd954f2a7
s4-python: Avoid importing glue directly.
2010-04-04 00:30:34 +02:00
Jelmer Vernooij
aed295b97e
s4-python: Remove convenience macro PyErr_SetStringError.
...
This macro assumed that all errors were runtime errors.
2010-04-04 00:22:29 +02:00
Jelmer Vernooij
8afd52a641
s4-python: Move samdb_server_site_name to dsdb module.
2010-04-04 00:21:09 +02:00
Jelmer Vernooij
31a517e172
s4-python: Move dsdb constants to a separate python module.
2010-04-04 00:14:23 +02:00
Jelmer Vernooij
e5b33be2f2
s4-python: Remove remaining constants.
2010-04-03 23:47:26 +02:00
Jelmer Vernooij
5a026219a9
s4-python: Remove unused imports, duplicate definitions of SECINFO_ constants.
2010-04-03 23:47:26 +02:00
Jelmer Vernooij
13a6aee591
s4-python: Remove duplicate definition of GUID_DRS_* constants.
2010-04-03 23:47:25 +02:00
Jelmer Vernooij
3ec8147105
selftest: for clarity, rename test to testsuite
2010-04-03 23:47:25 +02:00
Volker Lendecke
bbe07972e6
libwbclient: Both talloc_free and wbcFreeMemory deal with NULL
...
This is in line with the ANSI C standard definition of free(NULL)
2010-04-03 22:12:23 +02:00
Andrew Tridgell
710aa773d5
socket-wrapper: not all systems have FIONREAD defined
...
tru64 for example
2010-04-03 13:31:12 +11:00
Volker Lendecke
c1ccbfba21
s3: Add wbinfo --logoff
2010-04-02 20:45:09 +02:00
Volker Lendecke
c97d279037
s3: Remove some pointless break statements
2010-04-02 20:45:09 +02:00
Jeff Layton
68403d48f8
Update URL in README.cifs-utils
...
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-04-02 06:26:09 -04:00
Andrew Tridgell
7d692f970a
s4-rpc: fixed a talloc loop in continue_ntlmssp_connection()
...
We were creating a memory loop which caused havoc when the connection
was torn down.
2010-04-02 19:44:02 +11:00
Volker Lendecke
53dec15427
s3: Fix a comment
2010-04-02 10:17:14 +02:00
Andrew Tridgell
23f2db7ab6
s4-python: added --debuglevel to our python scripts
...
very useful for debugging our cPython extensions, such as dcerpc
modules
2010-04-02 18:52:29 +11:00
Andrew Tridgell
2c097b51cb
s4-pyglue: setup talloc logging in python modules
2010-04-02 18:52:29 +11:00
Andrew Tridgell
a8d213c151
pyrpc: do the pipe connect on a real memory context
2010-04-02 18:52:29 +11:00
Andrew Tridgell
b81100c710
debug: enable talloc logging
...
we want to ensure talloc warnings are printed in the log
2010-04-02 18:52:29 +11:00
Andrew Tridgell
fde50c633f
talloc: a useful bit of debug code
...
this is useful when tracking down talloc loops. It is probably too
expensive to have on by default.
2010-04-02 18:52:29 +11:00
Andrew Tridgell
1b4bbec523
talloc: add a define for TALLOC_MAX_DEPTH
...
Thanks to the suggestion from simo
2010-04-02 18:52:29 +11:00
Andrew Tridgell
5ccd30e9ac
talloc: change talloc minor version to 2.0.2
...
this has the talloc_is_parent() bugfix
2010-04-02 13:15:18 +11:00
Andrew Tridgell
ff2b7d42e6
talloc: limit the depth that talloc will go for talloc_is_parent()
...
We have a bug in the dcerpc registry code that can cause a talloc loop
that chews unlimited CPU because of talloc_is_parent() during a
talloc_free()
2010-04-02 13:15:18 +11:00
Jeremy Allison
bf90969892
Move initialize_async_io_handler() inside of smbd/aio.c.
...
Call from actual aio read or write. No reason to call this globally on startup.
Jeremy.
2010-04-01 16:47:59 -07:00
Jeremy Allison
b6aabcd628
Add torture test for bug 7310 - DOS attribute inconsistency with MS Office
...
Ensure we don't regress.
Jeremy.
2010-04-01 15:01:43 -07:00
Stefan Metzmacher
e18ddb6036
s3:winbindd: remove unused variables
...
metze
2010-04-01 18:11:25 +02:00
Stefan Metzmacher
73577205cf
s3:winbindd: fix problems with SIGCHLD handling (bug #7317 )
...
The main problem is that we call CatchChild() within the
parent winbindd, which overwrites the signal handler
that was registered by winbindd_setup_sig_chld_handler().
That means winbindd_sig_chld_handler() and winbind_child_died()
are never triggered when a winbindd domain child dies.
As a result will get "broken pipe" for all requests to that domain.
To reduce the risk of similar bugs in future we call
CatchChild() in winbindd_reinit_after_fork() now.
We also use a full winbindd_reinit_after_fork() in the
cache validation child now instead instead of just resetting
the SIGCHLD handler by hand. This will also fix possible
tdb problems on systems without pread/pwrite and disabled mmap
as we now correctly reopen the tdb handle for the child.
metze
2010-04-01 17:25:11 +02:00
Volker Lendecke
3475c61179
s3: Ensure NULL termination before printing in winbindd_pam_logoff
2010-04-01 16:34:01 +02:00
Jelmer Vernooij
c63440e040
s4-python: Ensure __init__ exists in samba.external, or importing will fail.
2010-04-01 15:33:08 +02:00
Jelmer Vernooij
84891b048d
s4-python: Install external packages to a different directory but import into
...
the normal namespace when the system doesn't have it available.
2010-04-01 15:33:07 +02:00
Volker Lendecke
64c564291d
s3: Fix a typo in winbindd_pam_logoff
2010-04-01 15:14:09 +02:00
Jelmer Vernooij
132e505d1e
subunitrun: Find testtools and subunit when they're not provided by the
...
system.
2010-04-01 14:47:54 +02:00