13 years agoRevert "For tevent to install tevent_util.h"
Simo Sorce [Thu, 18 Jun 2009 11:56:51 +0000 (07:56 -0400)]
Revert "For tevent to install tevent_util.h"

This reverts commit b112cc5503350b248949bdbcce8072f5523ce877.

tevent_util.h is a private header. Must not be installed.

13 years agos3/docs: Add documentation for 'net sam rights'.
Karolin Seeger [Thu, 18 Jun 2009 07:32:10 +0000 (09:32 +0200)]
s3/docs: Add documentation for 'net sam rights'.

This is part of a fix for bug #6328.


13 years agos3:netlogon Cope with recent rename in netlogon.idl
Andrew Bartlett [Thu, 18 Jun 2009 05:00:28 +0000 (15:00 +1000)]
s3:netlogon Cope with recent rename in netlogon.idl

13 years agoRemove unused variable
Andrew Bartlett [Thu, 18 Jun 2009 04:02:13 +0000 (14:02 +1000)]
Remove unused variable

13 years agoBump the ldb version and the version Samba4 requires.
Andrew Bartlett [Thu, 18 Jun 2009 03:50:36 +0000 (13:50 +1000)]
Bump the ldb version and the version Samba4 requires.

We have made a lot of useful changes to LDB since the last realese,
that Samba4 now relies on.  This ensures that a build against a system
LDB will only succeed against the right version.

Andrew Bartlett

13 years agos4: Add tests and 'must change password' flags in setpassword and newuser
Andrew Bartlett [Thu, 18 Jun 2009 02:38:04 +0000 (12:38 +1000)]
s4: Add tests and 'must change password' flags in setpassword and newuser

In particular, ensure that we can acutally change the password under
these circumstances.

Andrew Bartlett

13 years agos4:testprogs Don't specify a username/password when checking the ccache
Andrew Bartlett [Thu, 18 Jun 2009 02:36:00 +0000 (12:36 +1000)]
s4:testprogs Don't specify a username/password when checking the ccache

The purpose of this test is to ensure that the Kerberos credentials
cache is valid.  If the username and password is specified, this
overrides the very thing we are trying to test.

Andrew Bartlett

13 years agos4:libnet Allow 'net password change' to work on expired passwords
Andrew Bartlett [Thu, 18 Jun 2009 02:33:46 +0000 (12:33 +1000)]
s4:libnet Allow 'net password change' to work on expired passwords

We need to pass down flags to the DCE/RPC layer to allow fallback to
anonymous connections, as we can't log in with an expired password.

The anonymous connection can then change the password with SAMR.

Andrew Bartlett

13 years agos4:kdc Allow a password change when the password is expired
Andrew Bartlett [Thu, 18 Jun 2009 01:08:46 +0000 (11:08 +1000)]
s4:kdc Allow a password change when the password is expired

This requires a rework on Heimdal's windc plugin layer, as we want
full control over what tickets Heimdal will issue.  (In particular, in
case our requirements become more complex in future).

The original problem was that Heimdal's check would permit the ticket,
but Samba would then deny it, not knowing it was for kadmin/changepw

Also (in hdb-samba4) be a bit more careful on what entries we will
make the 'change_pw' service mark that this depends on.

Andrew Bartlett

13 years agos4:setup Add an option to 'setpassword' to force password change at next login
Andrew Bartlett [Tue, 16 Jun 2009 23:14:17 +0000 (09:14 +1000)]
s4:setup Add an option to 'setpassword' to force password change at next login

13 years agos4:gensec Print GSSAPI error message when unable to find PAC
Andrew Bartlett [Tue, 16 Jun 2009 23:13:12 +0000 (09:13 +1000)]
s4:gensec Print GSSAPI error message when unable to find PAC

13 years agoRequire the new tdb 1.1.5 (for performance reasons)
Andrew Bartlett [Tue, 16 Jun 2009 23:08:23 +0000 (09:08 +1000)]
Require the new tdb 1.1.5 (for performance reasons)

While tdb has not changed ABI in a way that requires this, we don't
want Samba4 somehow built against the old version with
performance problems on large, growing databases.

Andrew Bartlett

13 years agoFixes for the "cldap" tests
Matthias Dieter Wallnöfer [Mon, 15 Jun 2009 15:55:43 +0000 (17:55 +0200)]
Fixes for the "cldap" tests

- Insert a check after the "tsocket" library call to make sure that the call
  terminated correctly
- Add a comment to explain why on further calls of "cldap_socket_init" the
  destination address hasn't to be specified

13 years agosource4/client/client.c: Possible memory leaks
Slava Semushin [Fri, 12 Jun 2009 11:32:48 +0000 (13:32 +0200)]
source4/client/client.c: Possible memory leaks

Patch for bug #6446

cppcheck found 2 possible memory leaks:

    [./source4/client/client.c:3305]: (error) Memory leak: base_directory
    [./source4/client/client.c:3305]: (error) Memory leak: desthost

Patch in attach.

13 years agoFix resource leak in lib/ldb/tools/ldbmodify.c
Slava Semushin [Fri, 12 Jun 2009 11:31:13 +0000 (13:31 +0200)]
Fix resource leak in lib/ldb/tools/ldbmodify.c

Patch for bug #6389

13 years agoFix syntax error in lib/ldb/ldb_sqlite3/base160.c
Slava Semushin [Fri, 12 Jun 2009 11:28:49 +0000 (13:28 +0200)]
Fix syntax error in lib/ldb/ldb_sqlite3/base160.c

Patch for bug #6388

13 years agoFor tevent to install tevent_util.h
Eric Sandall [Fri, 12 Jun 2009 11:24:30 +0000 (13:24 +0200)]
For tevent to install tevent_util.h

Patch for bug #6270

This patch is for the future when samba4 builds using external libraries. With
this patch, tevent now installs tevent_util.h which is required by samba4.

13 years agoLDB: Link against both tevent and talloc
Eric Sandall [Fri, 12 Jun 2009 11:03:34 +0000 (13:03 +0200)]
LDB: Link against both tevent and talloc

Patch for bug #6269

When linking against tevent you also need to link against talloc. This patch
fixes external/libevent.m4 to do so.

13 years agos4: Call va_end() after all va_start()/va_copy() calls.
Andrew Kroeger [Fri, 12 Jun 2009 11:01:41 +0000 (13:01 +0200)]
s4: Call va_end() after all va_start()/va_copy() calls.

This corrects the issues reaised in bug #6129, and some others that were not
originally identified.  It also accounts for some code that was in the original
bug report but appears to have since been made common between S3 and S4.

Thanks to Erik Hovland <> for the original bug report.

13 years agoNETLOGON pipe improvements
Matthias Dieter Wallnöfer [Fri, 12 Jun 2009 10:38:22 +0000 (12:38 +0200)]
NETLOGON pipe improvements

Patch for bug #4939

This refactors the NETLOGON code related to this bug:

- Introduces a new "SYNCSTATE" enum required by the "DatabaseSync2" call (acc.
to WSPP)
- Make "DatabaseSync" dependant from "DatabaseSync2" (acc. to WSPP)
- Let "DatabaseSync2" return NT_STATUS_NOT_IMPLEMENTED (I'm not sure if this is
also true when a domain is running in mixed mode)
- Make "LogonControl" and "LogonControl2" dependant form "LogonControl2Ex"
(acc. to WSPP)
- Let "LogonControl2Ex" return WERR_NOT_SUPPORTED for now

13 years agoAdd const to cast, to fix warning
Andrew Bartlett [Mon, 15 Jun 2009 13:46:58 +0000 (23:46 +1000)]
Add const to cast, to fix warning

13 years agos3 onefs: Remove dfs resolution from create_file() now that it's being done at a...
Tim Prouty [Thu, 18 Jun 2009 02:54:12 +0000 (19:54 -0700)]
s3 onefs: Remove dfs resolution from create_file() now that it's being done at a higher level

13 years agos3: Change SMB_VFS_OPEN to take an smb_filename struct
Tim Prouty [Tue, 16 Jun 2009 19:01:13 +0000 (12:01 -0700)]
s3: Change SMB_VFS_OPEN to take an smb_filename struct

This was a little messy because of all of the vfs modules I had to
touch.  Most of them were pretty straight forward, but the streams
modules required a little attention to handle smb_filename.  Since the
use of smb_filename enables the vfs modules to access the raw,
over-the-wire stream, a little bit of the handling that was being done
by split_ntfs_stream_name has now been shifted into the individual
stream modules.  It may be a little more code, but overall it gives
more flexibility to the streams modules, while also allowing correct
stream handling.

13 years agos3: Plumb smb_filename from create_file all of the way down to fd_open
Tim Prouty [Mon, 15 Jun 2009 21:14:31 +0000 (14:14 -0700)]
s3: Plumb smb_filename from create_file all of the way down to fd_open

I used the smb_filename struct everywhere that was feasible for the
first pass.  There are still some places in this path that need to be
changed to use smb_filename, but this is a good start.

I also:
- Removed fname/path arguments from a few functions that weren't
  really using them.
- Added a utility function for detecting whether an smb_filename is a

13 years agoUse system Python LDB bindings, if present.
Jelmer Vernooij [Thu, 18 Jun 2009 02:20:46 +0000 (04:20 +0200)]
Use system Python LDB bindings, if present.

13 years agoUse system LDB by default if the right version was found.
Jelmer Vernooij [Thu, 18 Jun 2009 01:09:36 +0000 (03:09 +0200)]
Use system LDB by default if the right version was found.

13 years agodsdb: Fix build against system ldb.
Jelmer Vernooij [Thu, 18 Jun 2009 01:09:14 +0000 (03:09 +0200)]
dsdb: Fix build against system ldb.

13 years agoselftest: Use common function when skipping testsuites based on run-time
Jelmer Vernooij [Thu, 18 Jun 2009 01:08:21 +0000 (03:08 +0200)]
selftest: Use common function when skipping testsuites based on run-time

13 years agosmb_build: Always build modules for system-libraries as shared libraries,
Jelmer Vernooij [Thu, 18 Jun 2009 00:32:26 +0000 (02:32 +0200)]
smb_build: Always build modules for system-libraries as shared libraries,
since they can't be included in the static library.

13 years agoFix build with system LDB.
Jelmer Vernooij [Wed, 17 Jun 2009 23:21:35 +0000 (01:21 +0200)]
Fix build with system LDB.

13 years agoconfigure: Use Python tdb bindings from the system, if found.
Jelmer Vernooij [Wed, 17 Jun 2009 22:53:05 +0000 (00:53 +0200)]
configure: Use Python tdb bindings from the system, if found.

13 years agoRemove outdated Python status file.
Jelmer Vernooij [Wed, 17 Jun 2009 19:48:02 +0000 (21:48 +0200)]
Remove outdated Python status file.

13 years agoFix bug #6476 - more then 3000 smbd-zombies in memory
Jeremy Allison [Wed, 17 Jun 2009 20:56:21 +0000 (13:56 -0700)]
Fix bug #6476 - more then 3000 smbd-zombies in memory
We weren't reaping children in the [x]inetd case.

13 years agoselftest: report time after testsuite, gives nicer output on the
Jelmer Vernooij [Wed, 17 Jun 2009 19:37:49 +0000 (21:37 +0200)]
selftest: report time after testsuite, gives nicer output on the

13 years agotdb: Fix help string in configure flag to enable Python bindings.
Jelmer Vernooij [Wed, 17 Jun 2009 19:12:50 +0000 (21:12 +0200)]
tdb: Fix help string in configure flag to enable Python bindings.

13 years agoOnly install an explicit set of scripts during "make install", rather than
Jelmer Vernooij [Wed, 17 Jun 2009 19:00:22 +0000 (21:00 +0200)]
Only install an explicit set of scripts during "make install", rather than
whatever happens to be in the source tree.

13 years agoMake fullschema script executable.
Jelmer Vernooij [Wed, 17 Jun 2009 18:52:43 +0000 (20:52 +0200)]
Make fullschema script executable.

13 years agopyldb: Fix three more (minor) memory leaks.
Jelmer Vernooij [Wed, 17 Jun 2009 18:43:25 +0000 (20:43 +0200)]
pyldb: Fix three more (minor) memory leaks.

13 years agopyldb: Fix memory leak in Dn.get_parent().
Jelmer Vernooij [Wed, 17 Jun 2009 18:32:35 +0000 (20:32 +0200)]
pyldb: Fix memory leak in Dn.get_parent().

13 years agopyldb: Fix memory leak in Dn.concat.
Jelmer Vernooij [Wed, 17 Jun 2009 18:23:54 +0000 (20:23 +0200)]
pyldb: Fix memory leak in Dn.concat.

13 years agopyldb/tests: Use different dn's everywhere, to easily spot which test is
Jelmer Vernooij [Wed, 17 Jun 2009 18:17:56 +0000 (20:17 +0200)]
pyldb/tests: Use different dn's everywhere, to easily spot which test is
breaking in gdb.

13 years agopyldb: Fix another memory leak and reference counting error.
Jelmer Vernooij [Wed, 17 Jun 2009 18:17:35 +0000 (20:17 +0200)]
pyldb: Fix another memory leak and reference counting error.

13 years agoparam/python: Fix memory leak of LoadParm objects.
Jelmer Vernooij [Wed, 17 Jun 2009 17:07:44 +0000 (19:07 +0200)]
param/python: Fix memory leak of LoadParm objects.

13 years agopycredentials: Raise MemoryError when unable to create objects.
Jelmer Vernooij [Wed, 17 Jun 2009 17:07:22 +0000 (19:07 +0200)]
pycredentials: Raise MemoryError when unable to create objects.

13 years agopyldb: Fix memory leak of LdbMessage's created from Python.
Jelmer Vernooij [Wed, 17 Jun 2009 17:01:06 +0000 (19:01 +0200)]
pyldb: Fix memory leak of LdbMessage's created from Python.

13 years agopycredentials: Fix memory leak.
Jelmer Vernooij [Wed, 17 Jun 2009 17:00:31 +0000 (19:00 +0200)]
pycredentials: Fix memory leak.

13 years agopyldb: Fix two memory leaks of attribute lists.
Jelmer Vernooij [Wed, 17 Jun 2009 16:36:16 +0000 (18:36 +0200)]
pyldb: Fix two memory leaks of attribute lists.

13 years agopyldb: Fix segfault, freeing memory too early in search.
Jelmer Vernooij [Wed, 17 Jun 2009 16:26:40 +0000 (18:26 +0200)]
pyldb: Fix segfault, freeing memory too early in search.

13 years agopyldb: Support getting the parent of special DNs without segfaulting.
Jelmer Vernooij [Wed, 17 Jun 2009 16:25:21 +0000 (18:25 +0200)]
pyldb: Support getting the parent of special DNs without segfaulting.

Found by: Андрей Григорьев <>

13 years agofix release scripts to always git clean
Simo Sorce [Wed, 17 Jun 2009 18:14:31 +0000 (14:14 -0400)]
fix release scripts to always git clean

This makes sure we do not include foreign object files or other
build byproducts by mistake.

13 years agos3-net: Fix Bug #6328: support "net sam rights grant/revoke" with multiple rights.
David Markey [Wed, 17 Jun 2009 16:29:20 +0000 (18:29 +0200)]
s3-net: Fix Bug #6328: support "net sam rights grant/revoke" with multiple rights.


Signed-off-by: Günther Deschner <>
13 years agos3/packaging: pam_winbind has been moved to section 8.
Karolin Seeger [Wed, 17 Jun 2009 13:19:20 +0000 (15:19 +0200)]
s3/packaging: pam_winbind has been moved to section 8.


13 years agos3/packaging: source -> source3
Karolin Seeger [Wed, 17 Jun 2009 13:18:16 +0000 (15:18 +0200)]
s3/packaging: source -> source3


13 years agos3/i18n: Add Russian to the list.
Karolin Seeger [Wed, 17 Jun 2009 12:37:28 +0000 (14:37 +0200)]
s3/i18n: Add Russian to the list.


13 years agos3/i18n: Add Russian translation for SWAT messages.
Karolin Seeger [Wed, 17 Jun 2009 12:31:29 +0000 (14:31 +0200)]
s3/i18n: Add Russian translation for SWAT messages.

Thanks to Yuri Kozlov <kozlov.y [at]>!

This is part of a fix for bug #4755.

13 years agos3-net: Fix Bug #6328: allow multiple rights in "net sam rights grant".
Günther Deschner [Wed, 17 Jun 2009 10:31:49 +0000 (12:31 +0200)]
s3-net: Fix Bug #6328: allow multiple rights in "net sam rights grant".


13 years agos3/i18n: Update German SWAT translations.
Karolin Seeger [Wed, 17 Jun 2009 10:15:59 +0000 (12:15 +0200)]
s3/i18n: Update German SWAT translations.

This is part of a fix for bug #4755.
Patch was provided (mainly) by Helge Kreutzmann <debian [at]>.


13 years agos3/libsmb: Fix typo in error message.
Karolin Seeger [Wed, 17 Jun 2009 08:23:21 +0000 (10:23 +0200)]
s3/libsmb: Fix typo in error message.

Thanks to Herb Lewis <hlewis [at]> for noticing!


13 years agoRemove msdfs pathname processing from default create file.
Jeremy Allison [Wed, 17 Jun 2009 00:42:41 +0000 (17:42 -0700)]
Remove msdfs pathname processing from default create file.
No longer needed.

13 years agoFix msdfs after the change to smb_filename struct. We must *always*
Jeremy Allison [Wed, 17 Jun 2009 00:23:54 +0000 (17:23 -0700)]
Fix msdfs after the change to smb_filename struct. We must *always*
pull the pathname, then call resolve_dfspath(), before unix_convert().

13 years agos4-smbtorture: add test for NetUserSetInfo level 0 (user rename).
Günther Deschner [Tue, 16 Jun 2009 23:30:22 +0000 (01:30 +0200)]
s4-smbtorture: add test for NetUserSetInfo level 0 (user rename).


13 years agos4-smbtorture: use torture_comment in RPC-SAMR-USERS-PRIVILEGES test.
Günther Deschner [Tue, 16 Jun 2009 23:20:03 +0000 (01:20 +0200)]
s4-smbtorture: use torture_comment in RPC-SAMR-USERS-PRIVILEGES test.


13 years agos4-smbtorture: use TORTURE_TEST_USER define in libnetapi user test.
Günther Deschner [Tue, 16 Jun 2009 23:06:14 +0000 (01:06 +0200)]
s4-smbtorture: use TORTURE_TEST_USER define in libnetapi user test.


13 years ago_lsa_EnumAccountRights and _lsa_EnumPrivsAccount can return an
Jeremy Allison [Tue, 16 Jun 2009 20:17:24 +0000 (13:17 -0700)]
_lsa_EnumAccountRights and _lsa_EnumPrivsAccount can return an
empty set of privilages if the SID doesn't have any.
(From [MS-LSAD.pdf])

13 years agos3-netapi: Fix Bug #6451: net/libnetapi user rename using wrong access bits.
Günther Deschner [Tue, 16 Jun 2009 13:00:20 +0000 (15:00 +0200)]
s3-netapi: Fix Bug #6451: net/libnetapi user rename using wrong access bits.


13 years agos3-netapi: Fix Bug #6305. Correctly prompt for a password when a username was given.
Günther Deschner [Wed, 13 May 2009 21:57:26 +0000 (23:57 +0200)]
s3-netapi: Fix Bug #6305. Correctly prompt for a password when a username was given.

When no callback or wrapping has managed to get a password, prompt in the
netapi connection manager for a password.


13 years agos3-docs: fix typo in pam_winbind.8.
Günther Deschner [Tue, 16 Jun 2009 09:49:36 +0000 (11:49 +0200)]
s3-docs: fix typo in pam_winbind.8.


13 years agos3-netapi: add NetGetJoinInformation example code.
Günther Deschner [Mon, 15 Jun 2009 15:25:08 +0000 (17:25 +0200)]
s3-netapi: add NetGetJoinInformation example code.


13 years agopython: Provide way to iterate over available shares.
Jelmer Vernooij [Tue, 16 Jun 2009 00:24:43 +0000 (02:24 +0200)]
python: Provide way to iterate over available shares.

13 years agopython: Add API for accessing available shares.
Jelmer Vernooij [Tue, 16 Jun 2009 00:05:18 +0000 (02:05 +0200)]
python: Add API for accessing available shares.

13 years agos3 onefs: Fix reading over the end of the array, because the incorrect array was...
Tim Prouty [Mon, 15 Jun 2009 20:16:07 +0000 (20:16 +0000)]
s3 onefs: Fix reading over the end of the array, because the incorrect array was being read.

13 years agos3 onefs: Change onefs modules to use the new createfile api
Tim Prouty [Mon, 15 Jun 2009 19:13:31 +0000 (12:13 -0700)]
s3 onefs: Change onefs modules to use the new createfile api

13 years agoAdd exports file and abi checker for tevent
Simo Sorce [Sun, 7 Jun 2009 18:10:15 +0000 (14:10 -0400)]
Add exports file and abi checker for tevent

This is a first attempt at exporting symbols only for public functions
We also provide a rudimentary ABI checker that tries to check that
function signatures are not changed by mistake.
Given our use of macros this is not an API checker.
It's all based on tevent.h contents and the gcc -aux-info option

13 years agoAdd exports file and abi checker for talloc talloc-1.3.1
Simo Sorce [Sun, 7 Jun 2009 18:20:36 +0000 (14:20 -0400)]
Add exports file and abi checker for talloc

This is a first attempt at exporting symbols only for public functions
We also provide a rudimentary ABI checker that tries to check that
function signatures are not changed by mistake.
Given our use of macros this is not an API checker.
It's all based on talloc.h contents and the gcc -aux-info option

13 years agoAdd exports file and abi checker for tdb tdb-1.1.5
Simo Sorce [Mon, 15 Jun 2009 20:19:19 +0000 (16:19 -0400)]
Add exports file and abi checker for tdb

This is a first attempt at exporting symbols only for public functions
We also provide a rudimentary ABI checker that tries to check that
function signatures are not changed by mistake.
Given our use of macros this is not an API checker.
It's all based on tdb.h contents and the gcc -aux-info option

13 years agoAdd new replace check for --version-script
Simo Sorce [Mon, 15 Jun 2009 20:20:06 +0000 (16:20 -0400)]
Add new replace check for --version-script

Allows us to pass an export files on Linux and Solaris so that we can expose
only symbols that are actually supposed to be global, and keep as local anything

13 years agoAdd option to --disable-python on build
Simo Sorce [Mon, 15 Jun 2009 19:08:25 +0000 (15:08 -0400)]
Add option to --disable-python on build

13 years agoFix the posixtimedlock test
Volker Lendecke [Mon, 15 Jun 2009 13:43:19 +0000 (15:43 +0200)]
Fix the posixtimedlock test

The previous version depended on the fact that smb_raw_lock_send just queued
stuff. This changed with ebf5523b6e2ae0.

13 years agoFix the section of the pam_winbind manpage.
Andreas Schneider [Mon, 15 Jun 2009 10:22:58 +0000 (12:22 +0200)]
Fix the section of the pam_winbind manpage.

Signed-off-by: Andreas Schneider <>
13 years agoMove pam_winbind to the right manpage section (8).
Andreas Schneider [Mon, 15 Jun 2009 10:21:07 +0000 (12:21 +0200)]
Move pam_winbind to the right manpage section (8).

Signed-off-by: Andreas Schneider <>
13 years agoDcoument the PAM data exports in the pam_winbind manpage.
Andreas Schneider [Mon, 15 Jun 2009 10:16:49 +0000 (12:16 +0200)]
Dcoument the PAM data exports in the pam_winbind manpage.

Signed-off-by: Andreas Schneider <>
13 years agoDocument the try_first_pass option in the pam_winbind manpage.
Andreas Schneider [Mon, 15 Jun 2009 10:16:15 +0000 (12:16 +0200)]
Document the try_first_pass option in the pam_winbind manpage.

Signed-off-by: Andreas Schneider <>
13 years agoAdd a synopsis section to the pam_winbind manpage.
Andreas Schneider [Mon, 15 Jun 2009 10:15:26 +0000 (12:15 +0200)]
Add a synopsis section to the pam_winbind manpage.

Signed-off-by: Andreas Schneider <>
13 years agos3/libsmb: Fix debug message.
Karolin Seeger [Mon, 15 Jun 2009 06:33:22 +0000 (08:33 +0200)]
s3/libsmb: Fix debug message.

This fixes bug #6472.


Signed-off-by: Volker Lendecke <>
13 years agoDo a correct TALLOC_FREE in an error case
Volker Lendecke [Mon, 15 Jun 2009 05:45:47 +0000 (07:45 +0200)]
Do a correct TALLOC_FREE in an error case

13 years agoFix a = vs == error in writev_handler
Volker Lendecke [Mon, 15 Jun 2009 05:45:11 +0000 (07:45 +0200)]
Fix a = vs == error in writev_handler

13 years agoRemove "winbindd_request" and "winbindd_response" from winbindd_cli_state
Volker Lendecke [Sun, 14 Jun 2009 10:58:19 +0000 (12:58 +0200)]
Remove "winbindd_request" and "winbindd_response" from winbindd_cli_state

This shrinks the memory footprint of an idle client by 5592 bytes to 60 bytes
on my 32-bit box.

13 years agoMake winbindd_cli_state->response a pointer instead of a struct member
Volker Lendecke [Sun, 14 Jun 2009 10:41:46 +0000 (12:41 +0200)]
Make winbindd_cli_state->response a pointer instead of a struct member

Same comment as in baa6084378e530b: This is just a preparatory checkin.


13 years agoRemove an unused struct member in winbindd_cli_state
Volker Lendecke [Sun, 14 Jun 2009 20:21:02 +0000 (22:21 +0200)]
Remove an unused struct member in winbindd_cli_state

13 years agoFix an error message: We get the errno in "err"
Volker Lendecke [Sun, 14 Jun 2009 18:54:57 +0000 (20:54 +0200)]
Fix an error message: We get the errno in "err"

13 years agowinbind: replace process_loop() by tevent_loop_once()
Volker Lendecke [Mon, 25 May 2009 20:40:09 +0000 (22:40 +0200)]
winbind: replace process_loop() by tevent_loop_once()

13 years agoMake rescan_trusted_domains a timed event
Volker Lendecke [Mon, 25 May 2009 20:34:48 +0000 (22:34 +0200)]
Make rescan_trusted_domains a timed event

13 years agoDo not store the listening fde
Volker Lendecke [Mon, 25 May 2009 18:31:59 +0000 (20:31 +0200)]
Do not store the listening fde

13 years agoAvoid scanning the client list when a client exits
Volker Lendecke [Mon, 25 May 2009 18:28:38 +0000 (20:28 +0200)]
Avoid scanning the client list when a client exits

13 years agoDo not use "finished" in winbind child
Volker Lendecke [Mon, 25 May 2009 18:17:23 +0000 (20:17 +0200)]
Do not use "finished" in winbind child

13 years agoRemove unused init_child_connection()
Volker Lendecke [Sat, 16 May 2009 12:21:39 +0000 (14:21 +0200)]
Remove unused init_child_connection()

13 years agoConvert winbindd_domain_info to wb_domain_request_send
Volker Lendecke [Sat, 16 May 2009 12:20:30 +0000 (14:20 +0200)]
Convert winbindd_domain_info to wb_domain_request_send

13 years agoAdd winbindd_dual_ping to all children
Volker Lendecke [Sat, 16 May 2009 11:43:03 +0000 (13:43 +0200)]
Add winbindd_dual_ping to all children

13 years agoConvert async_domain_request to wb_domain_request_send
Volker Lendecke [Sat, 16 May 2009 11:25:52 +0000 (13:25 +0200)]
Convert async_domain_request to wb_domain_request_send

13 years agoAdd async wb_ping
Volker Lendecke [Sat, 16 May 2009 10:00:34 +0000 (12:00 +0200)]
Add async wb_ping