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
Stefan Metzmacher
a2411c5708
s3:winbindd: correctly invalidate the cached connection
...
There're maybe additional TCP connection for ncacn_ip_tcp.
metze
2010-04-01 13:01:27 +02:00
Stefan Metzmacher
0f95d00f49
s3:winbindd: only set child_domain in the child
...
metze
2010-04-01 13:01:26 +02:00
Stefan Metzmacher
d930904b99
s3:winbindd: make sure we don't try rpc requests against unaccessable domains
...
This makes sure we don't crash while trying to dereference domain->conn.cli->foo
while trying to establish a rpc connection to the server.
metze
2010-04-01 13:01:26 +02:00
Volker Lendecke
658dc77446
s3: fix a typo in winbind_client_response_written
2010-04-01 12:56:54 +02:00
Jeremy Allison
6800fdbb81
Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count.
...
As these always call exit_server, make that part of the function.
Use _internal functions for the echo client.
Metze please check !
Jeremy.
2010-03-31 17:40:30 -07:00
Christian PERRIER
bb54089503
s3: Merge French translation for pam_winbind after review
...
- some wording improvements ("user" is not "usager" but "utilisateur"
- gender neutrality changes:
by rewording: ("vous n'êtes pas autorisé" --> "vous n'avez pas
l'autorisation")
- bad translation corrections: "valide"-->"valable" (a very common
false friend)
- and several changes we consider to be improvements, mostly because
they are common wording in computing translations in French
Signed-off-by: Lars Müller <lars@samba.org>
2010-03-31 23:10:11 +02:00
Volker Lendecke
0e3f031e59
s3: Fix an error message in winbindd_pam_chauthtok()
2010-03-31 22:07:39 +02:00
Volker Lendecke
15d58f688f
s3: Ensure null termination in winbindd_pam_chauthtok()
2010-03-31 22:07:38 +02:00
Volker Lendecke
6d9b2e62cb
s3: Make check_info3_in_group static
2010-03-31 21:03:07 +02:00
Volker Lendecke
cf4a8f7639
s3-winbind: Make append_auth_data() static
2010-03-31 21:03:06 +02:00
Jeremy Allison
eb60833a45
Fix bug 7310 - DOS attribute inconsistency with MS Office
...
On rename we need to set the archive bit on the renamed file.
Jeremy
2010-03-31 10:10:52 -07:00
Jeremy Allison
2e839a636b
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2010-03-31 10:01:03 -07:00
Stefan Metzmacher
6f30b9a6ff
s3:smbd: handle SMB2 in deadtime_fn() and avoid disconnecting non idle clients
...
metze
2010-03-31 04:55:47 +02:00
Jelmer Vernooij
74f36df4b3
selftest: Update sys.path before attempting to import external modules.
2010-03-31 04:52:13 +02:00
Jelmer Vernooij
c6b1553a2b
selftest: Make sure format-subunit and filter-subunit can find testtools/subunit.
2010-03-31 04:51:05 +02:00
Jelmer Vernooij
36c84854cb
subunit: Include remainder of bindings and metadata.
2010-03-31 04:24:04 +02:00
Jelmer Vernooij
6897be7475
testtools: Fix included testtools, for systems that don't have it.
2010-03-31 04:19:36 +02:00
Jelmer Vernooij
5f3fcf7a77
s4-python: Install external included packages only if they're not present on the system.
2010-03-31 03:56:24 +02:00
Jelmer Vernooij
0e77bea165
installmisc: Support DESTDIR for Python directories.
2010-03-31 03:47:10 +02:00
Jelmer Vernooij
62ed8a68cd
format-subunit: Hide reason if it is None.
2010-03-31 03:34:50 +02:00
Jelmer Vernooij
49d82aa772
format-subunit: Don't show reason at all if it is None.
2010-03-31 03:32:23 +02:00
Jelmer Vernooij
a8ac7fda57
Put testtools directly under lib/ to make it easier to install from Samba 4.
2010-03-31 03:19:18 +02:00