nivanova/samba-autobuild/.git
13 years agopidl: fix minor typo in s3 server generation.
Günther Deschner [Mon, 11 Oct 2010 10:38:05 +0000 (12:38 +0200)]
pidl: fix minor typo in s3 server generation.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Oct 11 15:12:57 UTC 2010 on sn-devel-104

13 years agos3-spoolss: add more userlevel info validation to _spoolss_OpenPrinterEx.
Günther Deschner [Mon, 11 Oct 2010 09:33:23 +0000 (11:33 +0200)]
s3-spoolss: add more userlevel info validation to _spoolss_OpenPrinterEx.

Guenther

13 years agos3-spoolss: let set_printer_hnd_name return WERROR.
Günther Deschner [Mon, 4 Oct 2010 18:27:20 +0000 (20:27 +0200)]
s3-spoolss: let set_printer_hnd_name return WERROR.

Guenther

13 years agos3-spoolss: convert open_printer_hnd to return WERROR.
Günther Deschner [Mon, 4 Oct 2010 09:02:52 +0000 (11:02 +0200)]
s3-spoolss: convert open_printer_hnd to return WERROR.

Guenther

13 years agos3-spoolss: fix set_printer_hnd_name() to match torture test.
Günther Deschner [Sat, 2 Oct 2010 20:14:37 +0000 (22:14 +0200)]
s3-spoolss: fix set_printer_hnd_name() to match torture test.

Guenther

13 years agos4-smbtorture: add test for openprinter printername pattern.
Günther Deschner [Sat, 2 Oct 2010 20:13:44 +0000 (22:13 +0200)]
s4-smbtorture: add test for openprinter printername pattern.

Guenther

13 years agounit tests: do some cleanup after tests
Matthieu Patou [Mon, 11 Oct 2010 09:44:35 +0000 (13:44 +0400)]
unit tests: do some cleanup after tests

fix

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Mon Oct 11 14:29:10 UTC 2010 on sn-devel-104

13 years agotorture: Add debug on what we are removing
Matthieu Patou [Mon, 11 Oct 2010 09:44:10 +0000 (13:44 +0400)]
torture: Add debug on what we are removing

13 years agos4:smbtorture Create a new random output directory each time, and delete it
Andrew Bartlett [Tue, 6 Jul 2010 05:25:54 +0000 (15:25 +1000)]
s4:smbtorture Create a new random output directory each time, and delete it

This ensures we don't delete an exiting directory.

Andrew Bartlett

Signed-off-by: Matthieu Patou <mat@matws.net>
13 years agolib/torture: Add function to clean up the output directory
Andrew Bartlett [Tue, 6 Jul 2010 05:22:31 +0000 (15:22 +1000)]
lib/torture:  Add function to clean up the output directory

This helps to avoid leaving 85MB of provision around for every
NET-API-BECOME-DC test.

Andrew Bartlett

Signed-off-by: Matthieu Patou <mat@matws.net>
13 years agoldb The use of a private event context isn't a hack
Andrew Bartlett [Mon, 11 Oct 2010 06:22:24 +0000 (17:22 +1100)]
ldb The use of a private event context isn't a hack

This is deliberate behaviour.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Oct 11 13:45:14 UTC 2010 on sn-devel-104

13 years agos4-ldb Allow a NULL event context in samba_ldb_init()
Andrew Bartlett [Mon, 11 Oct 2010 06:26:52 +0000 (17:26 +1100)]
s4-ldb Allow a NULL event context in samba_ldb_init()

13 years agos4-ldb Don't use talloc_autofree_context() in ldb
Andrew Bartlett [Mon, 11 Oct 2010 06:20:19 +0000 (17:20 +1100)]
s4-ldb Don't use talloc_autofree_context() in ldb

The private event context only needs to live as long as ldb itself.

Andrew Bartlett

13 years agos4-tevent Remove event_contex_find() and event_context_set_default()
Andrew Bartlett [Mon, 11 Oct 2010 06:08:33 +0000 (17:08 +1100)]
s4-tevent Remove event_contex_find() and event_context_set_default()

It is considered that it is better to create a new event context
rather than 'finding' some other event context, in the case
where we do not have one specified.

Andrew Bartlett

13 years agos4-smbd Remove event_context_set_default()
Andrew Bartlett [Mon, 11 Oct 2010 06:08:01 +0000 (17:08 +1100)]
s4-smbd Remove event_context_set_default()

The last callers to event_context_find() have been removed
so this is no longer required.

Andrew Bartlett

13 years agos4-credentials Add explicit event context handling to Kerberos calls (only)
Andrew Bartlett [Mon, 11 Oct 2010 05:53:08 +0000 (16:53 +1100)]
s4-credentials Add explicit event context handling to Kerberos calls (only)

By setting the event context to use for this operation (only) onto
the krb5_context just before we call that operation, we can try
and emulate the specification of an event context to the actual send_to_kdc()

This eliminates the specification of an event context to many other
cli_credentials calls, and the last use of event_context_find()

Special care is taken to restore the event context in the event of
nesting in the send_to_kdc function.

Andrew Bartlett

13 years agos4-param Refactor secrets code to not require an event context.
Andrew Bartlett [Mon, 11 Oct 2010 05:43:07 +0000 (16:43 +1100)]
s4-param Refactor secrets code to not require an event context.

A new event context is constructed by LDB when required for secrets.ldb
This will be essentially unused, as LDB on TDB will only trigger 'fake'
events, and blocks on transactions and lock operations anyway.

Andrew Bartlett

13 years agos4-kerberos Remove unused parameter
Andrew Bartlett [Mon, 11 Oct 2010 02:19:32 +0000 (13:19 +1100)]
s4-kerberos Remove unused parameter

13 years agos4-kerberos Remove unsued variable
Andrew Bartlett [Mon, 11 Oct 2010 02:19:18 +0000 (13:19 +1100)]
s4-kerberos Remove unsued variable

13 years agocredentials: Avoid unnecessary includes.
Jelmer Vernooij [Mon, 11 Oct 2010 12:11:05 +0000 (14:11 +0200)]
credentials: Avoid unnecessary includes.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 13:01:36 UTC 2010 on sn-devel-104

13 years agoFix some warnings at higher -W levels in pidl generated code.
Tim Potter [Mon, 11 Oct 2010 11:34:57 +0000 (05:34 -0600)]
Fix some warnings at higher -W levels in pidl generated code.

Match data type for info levels to data type returned by utility
functions.

Autobuild-User: Tim Potter <tpot@samba.org>
Autobuild-Date: Mon Oct 11 12:18:22 UTC 2010 on sn-devel-104

13 years agoutil: Fix installation path of tevent_ntstatus.h, tevent_unix.h (bug 7720).
Jelmer Vernooij [Mon, 11 Oct 2010 08:33:21 +0000 (10:33 +0200)]
util: Fix installation path of tevent_ntstatus.h, tevent_unix.h (bug 7720).

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 09:24:56 UTC 2010 on sn-devel-104

13 years agocredentials: Fix the build.
Jelmer Vernooij [Mon, 11 Oct 2010 02:05:37 +0000 (04:05 +0200)]
credentials: Fix the build.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 02:47:50 UTC 2010 on sn-devel-104

13 years agocredentials: Split up into several subsystems.
Jelmer Vernooij [Mon, 11 Oct 2010 00:05:03 +0000 (02:05 +0200)]
credentials: Split up into several subsystems.

13 years agokerberos_util: Put into separate subsystem.
Jelmer Vernooij [Sun, 10 Oct 2010 23:28:45 +0000 (01:28 +0200)]
kerberos_util: Put into separate subsystem.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 00:34:56 UTC 2010 on sn-devel-104

13 years agoauth: Remove unnecessary dependencies, fix formatting.
Jelmer Vernooij [Sun, 10 Oct 2010 23:23:20 +0000 (01:23 +0200)]
auth: Remove unnecessary dependencies, fix formatting.

13 years agocredentials: Move code that doesn't need any external dependencies into
Jelmer Vernooij [Sun, 10 Oct 2010 23:20:42 +0000 (01:20 +0200)]
credentials: Move code that doesn't need any external dependencies into
credentials.c.

13 years agoserver: Add missing dependency on schannel database.
Jelmer Vernooij [Sun, 10 Oct 2010 23:10:55 +0000 (01:10 +0200)]
server: Add missing dependency on schannel database.

13 years agoservice: Add missing dependency on process_model.
Jelmer Vernooij [Sun, 10 Oct 2010 17:14:20 +0000 (19:14 +0200)]
service: Add missing dependency on process_model.

13 years agowafsamba: Fix handling of pyembed/pyext.
Jelmer Vernooij [Sun, 10 Oct 2010 23:09:26 +0000 (01:09 +0200)]
wafsamba: Fix handling of pyembed/pyext.

13 years agodsdb/modules: Split up helpers a bit to prevent recursive dependencies.
Jelmer Vernooij [Sun, 10 Oct 2010 23:03:42 +0000 (01:03 +0200)]
dsdb/modules: Split up helpers a bit to prevent recursive dependencies.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 10 23:47:54 UTC 2010 on sn-devel-104

13 years agotorture_auth: Add missing dependency on gensec_ntlmssp.
Jelmer Vernooij [Sun, 10 Oct 2010 22:58:28 +0000 (00:58 +0200)]
torture_auth: Add missing dependency on gensec_ntlmssp.

13 years agowafsamba: Support setting pyembed on libraries.
Jelmer Vernooij [Sun, 10 Oct 2010 19:22:02 +0000 (21:22 +0200)]
wafsamba: Support setting pyembed on libraries.

13 years agotorture: Link against rpc server itself, not service module. (against which we can...
Jelmer Vernooij [Sun, 10 Oct 2010 22:49:13 +0000 (00:49 +0200)]
torture: Link against rpc server itself, not service module. (against which we can't link).

13 years agoldap_server: Add missing dependency on gensec_server_start.
Jelmer Vernooij [Sun, 10 Oct 2010 22:47:18 +0000 (00:47 +0200)]
ldap_server: Add missing dependency on gensec_server_start.

13 years agokdc: Add missing dependency on samba_gensec_server.
Jelmer Vernooij [Sun, 10 Oct 2010 22:46:37 +0000 (00:46 +0200)]
kdc: Add missing dependency on samba_gensec_server.

13 years agosmb_server: Split core out of service, since the service can be built as a .so agains...
Jelmer Vernooij [Sun, 10 Oct 2010 22:41:22 +0000 (00:41 +0200)]
smb_server: Split core out of service, since the service can be built as a .so against which we can't link.

13 years agosmb2: Add missing dependency on NDR_DFSBLOBS.
Jelmer Vernooij [Sun, 10 Oct 2010 17:15:41 +0000 (19:15 +0200)]
smb2: Add missing dependency on NDR_DFSBLOBS.

13 years agolibrpc: Remove unnecessary dependency on libsamba-hostconfig.
Jelmer Vernooij [Sun, 10 Oct 2010 21:00:32 +0000 (23:00 +0200)]
librpc: Remove unnecessary dependency on libsamba-hostconfig.

13 years agodsdb/schema: Move some dsdb_dn functions that are schema-specific.
Jelmer Vernooij [Sun, 10 Oct 2010 19:37:58 +0000 (21:37 +0200)]
dsdb/schema: Move some dsdb_dn functions that are schema-specific.

13 years agontvfs_ipc: add missing dependency on dcerpc_common.
Jelmer Vernooij [Sun, 10 Oct 2010 20:57:40 +0000 (22:57 +0200)]
ntvfs_ipc: add missing dependency on dcerpc_common.

13 years agolibsecurity-common: Add missing dependency on libndr.
Jelmer Vernooij [Sun, 10 Oct 2010 20:56:58 +0000 (22:56 +0200)]
libsecurity-common: Add missing dependency on libndr.

13 years agolibcli-auth: Remove unnecessary dependency on libsamba-hostconfig.
Jelmer Vernooij [Sun, 10 Oct 2010 20:56:38 +0000 (22:56 +0200)]
libcli-auth: Remove unnecessary dependency on libsamba-hostconfig.

13 years agodsdb modules: Split ridalloc out of common helpers, because of dependency loops.
Jelmer Vernooij [Sun, 10 Oct 2010 22:29:18 +0000 (00:29 +0200)]
dsdb modules: Split ridalloc out of common helpers, because of dependency loops.

13 years agorpc_ndr_netlogon: Add missing dependency on tevent.
Jelmer Vernooij [Sun, 10 Oct 2010 22:22:42 +0000 (00:22 +0200)]
rpc_ndr_netlogon: Add missing dependency on tevent.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 10 23:04:13 UTC 2010 on sn-devel-104

13 years agosamdb: Remove dependency on unknown subsystem.
Jelmer Vernooij [Sun, 10 Oct 2010 21:59:04 +0000 (23:59 +0200)]
samdb: Remove dependency on unknown subsystem.

13 years agoutil: Link headers to correct subsystem, fix formatting.
Jelmer Vernooij [Sun, 10 Oct 2010 16:39:07 +0000 (18:39 +0200)]
util: Link headers to correct subsystem, fix formatting.

13 years agodsdb: add missing dependency on samba_socket.
Jelmer Vernooij [Sun, 10 Oct 2010 21:00:59 +0000 (23:00 +0200)]
dsdb: add missing dependency on samba_socket.

13 years agoldb-samba: Rename samdb_relative_path to ldb_relative_path, as it's not samdb-specific.
Jelmer Vernooij [Sun, 10 Oct 2010 21:45:23 +0000 (23:45 +0200)]
ldb-samba: Rename samdb_relative_path to ldb_relative_path, as it's not samdb-specific.

13 years agodsdb: Move attr_in_list to SAMDB_COMMON to avoid circular dependency between SAMDB_CO...
Jelmer Vernooij [Sun, 10 Oct 2010 15:02:10 +0000 (17:02 +0200)]
dsdb: Move attr_in_list to SAMDB_COMMON to avoid circular dependency between SAMDB_COMMON and DSDB_MODULE_HELPERS.

13 years agogensec: Support building without any linked-in modules.
Jelmer Vernooij [Sun, 10 Oct 2010 14:46:55 +0000 (16:46 +0200)]
gensec: Support building without any linked-in modules.

13 years agoidmap: Add missing dependency on ldbsamba.
Jelmer Vernooij [Sun, 10 Oct 2010 16:42:14 +0000 (18:42 +0200)]
idmap: Add missing dependency on ldbsamba.

13 years agosecrets: Add missing dependency on ldbsamba.
Jelmer Vernooij [Sun, 10 Oct 2010 16:41:57 +0000 (18:41 +0200)]
secrets: Add missing dependency on ldbsamba.

13 years agocldapd: Add missing dependency on ldbsamba.
Jelmer Vernooij [Sun, 10 Oct 2010 20:57:18 +0000 (22:57 +0200)]
cldapd: Add missing dependency on ldbsamba.

13 years agoldb-samba: Add ldb_wrap_add, remove last schema reference from ldb_wrap.
Jelmer Vernooij [Sun, 10 Oct 2010 21:25:38 +0000 (23:25 +0200)]
ldb-samba: Add ldb_wrap_add, remove last schema reference from ldb_wrap.

13 years agoldb-samba: Split up ldb_wrap_connect() a bit.
Jelmer Vernooij [Sun, 10 Oct 2010 15:34:21 +0000 (17:34 +0200)]
ldb-samba: Split up ldb_wrap_connect() a bit.

13 years agoldb-samba: Add convenience function for doing a Samba-style LDB init.
Jelmer Vernooij [Sun, 10 Oct 2010 15:15:11 +0000 (17:15 +0200)]
ldb-samba: Add convenience function for doing a Samba-style LDB init.

13 years agosamdb: Add flags argument to samdb_connect().
Jelmer Vernooij [Sun, 10 Oct 2010 15:00:45 +0000 (17:00 +0200)]
samdb: Add flags argument to samdb_connect().

13 years agosamdb: Handle schema setup in samdb, not in more generic ldbsamba.
Jelmer Vernooij [Sun, 10 Oct 2010 14:56:55 +0000 (16:56 +0200)]
samdb: Handle schema setup in samdb, not in more generic ldbsamba.

13 years agotls: add missing dependency on util_tevent.
Jelmer Vernooij [Sun, 10 Oct 2010 21:08:12 +0000 (23:08 +0200)]
tls: add missing dependency on util_tevent.

13 years agowafsamba: Fix init function when building modules as shared objects.
Jelmer Vernooij [Sun, 10 Oct 2010 20:52:35 +0000 (22:52 +0200)]
wafsamba: Fix init function when building modules as shared objects.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
13 years agosocket_wrapper: Make it work on freebsd for udp packets
Stefan Metzmacher [Sun, 10 Oct 2010 10:29:08 +0000 (12:29 +0200)]
socket_wrapper: Make it work on freebsd for udp packets

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Oct 10 12:57:00 UTC 2010 on sn-devel-104

13 years agobuild: make make tests SCREEN=1 work on freebsd
Matthieu Patou [Sat, 9 Oct 2010 23:12:46 +0000 (10:12 +1100)]
build: make make tests SCREEN=1 work on freebsd

13 years agos4-libnet_vampire: Remove unused self_corrected_schema
Kamen Mazdrashki [Sun, 3 Oct 2010 01:29:08 +0000 (04:29 +0300)]
s4-libnet_vampire: Remove unused self_corrected_schema

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Sun Oct 10 10:40:38 UTC 2010 on sn-devel-104

13 years agos4-libnet_vampire use a linked list to handle schema objects pending conversion
Andrew Bartlett [Sun, 26 Sep 2010 22:50:54 +0000 (08:50 +1000)]
s4-libnet_vampire use a linked list to handle schema objects pending conversion

13 years agos4-vampire: Optimize Schema decoding conversion
Kamen Mazdrashki [Sat, 25 Sep 2010 10:26:03 +0000 (13:26 +0300)]
s4-vampire: Optimize Schema decoding conversion

memmove() is removed and I am using the beginning
of the list for storage for failed objects

13 years agos4-vampire: Initial implementation for multi-pass schema decoding from DRS data
Kamen Mazdrashki [Fri, 24 Sep 2010 19:56:36 +0000 (22:56 +0300)]
s4-vampire: Initial implementation for multi-pass schema decoding from DRS data

We can't decode all schema object in just one (or even two)
passes when Schema tree has more levels of inheritance.

13 years agos4-dsdb-repl: Print what the error code for failure is
Kamen Mazdrashki [Thu, 23 Sep 2010 21:47:37 +0000 (00:47 +0300)]
s4-dsdb-repl: Print what the error code for failure is

13 years agos4-dsdb: Make dsdb_setup_sorted_accessors() public
Kamen Mazdrashki [Thu, 23 Sep 2010 21:46:50 +0000 (00:46 +0300)]
s4-dsdb: Make dsdb_setup_sorted_accessors() public

We are going to need it while converting DRS schema.

13 years agowafsamba: Clarify needs_python argument name, use pyembed/pyext where
Jelmer Vernooij [Sun, 10 Oct 2010 02:25:50 +0000 (04:25 +0200)]
wafsamba: Clarify needs_python argument name, use pyembed/pyext where
applicable.

Allow using both pyembed and pyext, to prevent unresolved symbols.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 10 03:54:01 UTC 2010 on sn-devel-104

13 years agoheimdal_build: Fix dependencies for hx509.
Jelmer Vernooij [Sun, 10 Oct 2010 02:04:09 +0000 (04:04 +0200)]
heimdal_build: Fix dependencies for hx509.

13 years agosubunithelper: Don't access 'message' attribute directly as it deprecated
Kamen Mazdrashki [Sun, 10 Oct 2010 01:07:56 +0000 (03:07 +0200)]
subunithelper: Don't access 'message' attribute directly as it deprecated

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 10 01:50:09 UTC 2010 on sn-devel-104

13 years agotalloc: Fix #include line in manpage.
Jelmer Vernooij [Sat, 9 Oct 2010 13:11:14 +0000 (15:11 +0200)]
talloc: Fix #include line in manpage.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Oct  9 13:53:25 UTC 2010 on sn-devel-104

13 years agoland: Use temp dir if /memdisk is not available.
Jelmer Vernooij [Wed, 6 Oct 2010 16:10:42 +0000 (18:10 +0200)]
land: Use temp dir if /memdisk is not available.

13 years agos4-test-msds_intid: Verify ATTIDs for Linked Attributes
Kamen Mazdrashki [Sat, 9 Oct 2010 02:40:32 +0000 (05:40 +0300)]
s4-test-msds_intid: Verify ATTIDs for Linked Attributes

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Sat Oct  9 03:43:34 UTC 2010 on sn-devel-104

13 years agos4-test-msds_intid: Simplify parameters for _make_error_message() function
Kamen Mazdrashki [Sat, 9 Oct 2010 01:22:24 +0000 (04:22 +0300)]
s4-test-msds_intid: Simplify parameters for _make_error_message() function

so it can be used in more places - when checking for
Linked Attributes ATTIDs for instance

13 years agoMore neccessary const.
Jeremy Allison [Fri, 8 Oct 2010 23:51:24 +0000 (16:51 -0700)]
More neccessary const.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Oct  9 01:47:25 UTC 2010 on sn-devel-104

13 years agoAdd some const. Needed for my SD work.
Jeremy Allison [Fri, 8 Oct 2010 23:50:40 +0000 (16:50 -0700)]
Add some const. Needed for my SD work.

Jeremy

13 years agopytalloc: Fix warning that we are subtracting void* pointers
Kamen Mazdrashki [Fri, 8 Oct 2010 01:19:30 +0000 (04:19 +0300)]
pytalloc: Fix warning that we are subtracting void* pointers

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Fri Oct  8 23:36:54 UTC 2010 on sn-devel-104

13 years agos3: Hang the isilon kernel oplocks off the NULL context
Volker Lendecke [Thu, 7 Oct 2010 20:01:28 +0000 (22:01 +0200)]
s3: Hang the isilon kernel oplocks off the NULL context

All I see is a fd_event that does not need a special destructor.

Tim, Steven, I've added the #error as well for you to remove after review.

Thanks,

Volker

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Oct  8 20:48:11 UTC 2010 on sn-devel-104

13 years agos3: Hang the irix kernel oplocks off the NULL ctx
Volker Lendecke [Thu, 7 Oct 2010 19:50:17 +0000 (21:50 +0200)]
s3: Hang the irix kernel oplocks off the NULL ctx

Just a fd_event to be cleaned up. The pipe is closed implicitly.

13 years agos3: Hang the linux kernel oplocks off the NULL ctx
Volker Lendecke [Thu, 7 Oct 2010 19:48:38 +0000 (21:48 +0200)]
s3: Hang the linux kernel oplocks off the NULL ctx

The destructor that is called removes the signal handler. But at process
exit the signal handling is lost anyway.

13 years agos3: Call printer_list_parent_init in the parent
Volker Lendecke [Thu, 7 Oct 2010 19:42:08 +0000 (21:42 +0200)]
s3: Call printer_list_parent_init in the parent

Simo, please check!

13 years agos3: Remove talloc_autofree_context() from get_printer_list_db()
Volker Lendecke [Thu, 7 Oct 2010 19:38:26 +0000 (21:38 +0200)]
s3: Remove talloc_autofree_context() from get_printer_list_db()

Another db that does not need explicit closing

13 years agos3: Remove talloc_autofree_context() from loadparm.c
Volker Lendecke [Thu, 7 Oct 2010 19:29:19 +0000 (21:29 +0200)]
s3: Remove talloc_autofree_context() from loadparm.c

None of these uses requires a special destructor

13 years agos3: Add a little test for the echo responder
Volker Lendecke [Wed, 6 Oct 2010 16:46:43 +0000 (18:46 +0200)]
s3: Add a little test for the echo responder

13 years agos3: Implement echo_TestSleep
Volker Lendecke [Wed, 6 Oct 2010 16:45:41 +0000 (18:45 +0200)]
s3: Implement echo_TestSleep

13 years agotevent: Do not use talloc_autofree_context
Volker Lendecke [Fri, 24 Sep 2010 17:13:05 +0000 (19:13 +0200)]
tevent: Do not use talloc_autofree_context

13 years agoMove talloc_enable_null_tracking() to the s3 daemons
Volker Lendecke [Fri, 24 Sep 2010 16:45:52 +0000 (18:45 +0200)]
Move talloc_enable_null_tracking() to the s3 daemons

13 years agos4:ldap.py - split it up and move SAM related stuff to sam.py
Matthias Dieter Wallnöfer [Thu, 7 Oct 2010 07:42:07 +0000 (09:42 +0200)]
s4:ldap.py - split it up and move SAM related stuff to sam.py

ldap.py would still need some additional split-up but it's a start.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Oct  8 14:05:18 UTC 2010 on sn-devel-104

13 years agos4:ldap_server: rewrite to socket layer to use tstream
Stefan Metzmacher [Wed, 22 Sep 2010 12:24:03 +0000 (14:24 +0200)]
s4:ldap_server: rewrite to socket layer to use tstream

This should make our sasl and tls handling much more robust
against partial sent pdus.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Oct  8 11:55:26 UTC 2010 on sn-devel-104

13 years agos4:lib/tls: buffer writes in tstream_tls_push_function()
Stefan Metzmacher [Fri, 8 Oct 2010 08:19:07 +0000 (10:19 +0200)]
s4:lib/tls: buffer writes in tstream_tls_push_function()

This works arround bugs in gnutls_handshake(),
which diesn't handle EAGAIN correctly, when they use the
push function.

Thanks to Marcel.Ritter@rrze.uni-erlangen.de and
Matthieu Patou <mat@samba.org> for the debugging work
on bug #7218.

metze

13 years agos4:lib/tls: make more clear what the immediate event is for
Stefan Metzmacher [Fri, 8 Oct 2010 07:39:49 +0000 (09:39 +0200)]
s4:lib/tls: make more clear what the immediate event is for

metze

13 years agos4:lib/tls: fix enabled logic in tstream_tls_params_server()
Stefan Metzmacher [Thu, 7 Oct 2010 09:16:48 +0000 (11:16 +0200)]
s4:lib/tls: fix enabled logic in tstream_tls_params_server()

metze

13 years agos3-waf: slowly getting modules to match how they look like in old build.
Günther Deschner [Thu, 7 Oct 2010 19:28:04 +0000 (21:28 +0200)]
s3-waf: slowly getting modules to match how they look like in old build.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Oct  8 09:31:01 UTC 2010 on sn-devel-104

13 years agos3: Fix input check in is_encrypted_packet
Volker Lendecke [Wed, 6 Oct 2010 15:40:58 +0000 (17:40 +0200)]
s3: Fix input check in is_encrypted_packet

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Oct  8 07:40:52 UTC 2010 on sn-devel-104

13 years agoFix bug 7716 - acl_xattr and acl_tdb modules don't store unmodified copies of securit...
Jeremy Allison [Thu, 7 Oct 2010 23:56:36 +0000 (16:56 -0700)]
Fix bug 7716 - acl_xattr and acl_tdb modules don't store unmodified copies of security descriptors.

As pointed out by an OEM, the code within smbd/posix_acl.c, even though passed
a const pointer to a security descriptor, still modifies the ACE entries within
it (which are not const pointers).

This means ACLs stored in the extended attribute by the acl_xattr module have
already been modified by the POSIX acl layer, and are not the original intent
of storing the "unmodified" ACL from the client.

Use dup_sec_desc to make a copy of the incoming ACL on talloc_tos() - that
is what is then modified inside smbd/posix_acl.c, leaving the original ACL
to be correctly stored in the xattr.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Oct  8 00:37:53 UTC 2010 on sn-devel-104

13 years agos3: Fix the async echo responder for netbios keepalives
Volker Lendecke [Wed, 6 Oct 2010 16:24:13 +0000 (18:24 +0200)]
s3: Fix the async echo responder for netbios keepalives

This fixes a crash in the echo responder when the client started to send the
NetBIOS-Level 0x85-style keepalive packets. We did not correctly check the
packet length, so the code writing the signing seqnum overwrote memory after
the malloc'ed area for the 4 byte keepalive packet.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Oct  7 19:47:35 UTC 2010 on sn-devel-104

13 years agoFile winattr test
Abhidnya P Chirmule [Thu, 30 Sep 2010 10:56:25 +0000 (16:26 +0530)]
File winattr test

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Oct  7 16:51:19 UTC 2010 on sn-devel-104

13 years agoFile BirthTime test
Abhidnya P Chirmule [Wed, 29 Sep 2010 12:30:49 +0000 (18:00 +0530)]
File BirthTime test