samba.git
12 years agos4-policy: Use the correct local directory for stat.
Amitay Isaacs [Tue, 2 Aug 2011 05:13:36 +0000 (15:13 +1000)]
s4-policy: Use the correct local directory for stat.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agosamba-tool: Rename copy_directory_recurse to copy_directory_remote_to_local
Amitay Isaacs [Mon, 1 Aug 2011 05:47:10 +0000 (15:47 +1000)]
samba-tool: Rename copy_directory_recurse to copy_directory_remote_to_local

gpo fetch is remote->local and gpo create is local->remote
local is local filesystem and remote is smb share.
Need two functions to copy local->remote and remote->local.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agosamba-tool: Addd functions to print GPO flags and GPlink options
Amitay Isaacs [Mon, 1 Aug 2011 05:41:19 +0000 (15:41 +1000)]
samba-tool: Addd functions to print GPO flags and GPlink options

Use methods from python wrapper to convert gpo flags and gplink
options to string.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agos4-policy: Add python wrapper for ads_to_dir_access_mask() function
Amitay Isaacs [Mon, 1 Aug 2011 05:35:32 +0000 (15:35 +1000)]
s4-policy: Add python wrapper for ads_to_dir_access_mask() function

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agos4-policy: Expose gp_ads_to_dir_access_mask() function
Amitay Isaacs [Mon, 1 Aug 2011 04:51:25 +0000 (14:51 +1000)]
s4-policy: Expose gp_ads_to_dir_access_mask() function

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agos4-libcli: Added python SMB methods for mkdir(), rmdir(), chkpath()
Amitay Isaacs [Fri, 29 Jul 2011 06:17:49 +0000 (16:17 +1000)]
s4-libcli: Added python SMB methods for mkdir(), rmdir(), chkpath()

Updated docstrings for all methods.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agopyldb: return a copy of key constant DNs via python interface
Andrew Tridgell [Mon, 1 Aug 2011 02:39:48 +0000 (12:39 +1000)]
pyldb: return a copy of key constant DNs via python interface

this prevents an easy coding error where the caller modifies one of
the key DNs for the database, by using an add_child function or
similar

Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agoWe don't need check_name() here. All possible paths to dptr_create()
Jeremy Allison [Tue, 2 Aug 2011 23:25:22 +0000 (16:25 -0700)]
We don't need check_name() here. All possible paths to dptr_create()
have already called check_name.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Aug  3 03:00:55 CEST 2011 on sn-devel-104

12 years agos3: Fix smb2 handling error returns from aio
Volker Lendecke [Tue, 2 Aug 2011 19:16:26 +0000 (21:16 +0200)]
s3: Fix smb2 handling error returns from aio

Found when reading with aio_fork beyond the end of file.

Metze, Jeremy, please check!

Without this we get

[2011/08/02 21:02:54.082661,  0] lib/util.c:778(smb_panic_s3)
  PANIC (pid 2302): smbd/smb2_read.c:593: Type mismatch: name[NULL] expected[struct smbd_smb2_read_state]
[2011/08/02 21:02:54.094316,  0] lib/util.c:882(log_stack_trace)
  BACKTRACE: 23 stack frames:
   #0 bin/smbd(log_stack_trace+0x2d) [0xb72873d8]
   #1 bin/smbd(smb_panic_s3+0x7c) [0xb7287529]
   #2 bin/smbd(smb_panic+0x2f) [0xb7277e1f]
   #3 /root/git/s3-work/source3/bin/libtalloc.so.2 [0xb6c6bc48]
   #4 /root/git/s3-work/source3/bin/libtalloc.so.2 [0xb6c6ec79]
   #5 /root/git/s3-work/source3/bin/libtalloc.so.2(_talloc_get_type_abort+0x34) [0xb6c6ecb3]
   #6 bin/smbd [0xb6fbc405]
   #7 bin/smbd(_tevent_req_notify_callback+0x4a) [0xb729a85a]
   #8 bin/smbd [0xb729a888]
   #9 bin/smbd(_tevent_req_done+0x19) [0xb729aa73]
   #10 bin/smbd [0xb6fae517]
   #11 bin/smbd [0xb6fad258]
   #12 bin/smbd(smbd_aio_complete_aio_ex+0xf5) [0xb6fad6e8]
   #13 /root/git/inst/modules/vfs/aio_fork.so [0xb66d4992]
   #14 bin/smbd(run_events_poll+0x400) [0xb7297df2]
   #15 bin/smbd(smbd_process+0xd75) [0xb6f9d3a7]
   #16 bin/smbd [0xb756f07b]
   #17 bin/smbd(run_events_poll+0x400) [0xb7297df2]
   #18 bin/smbd [0xb7298254]
   #19 bin/smbd(_tevent_loop_once+0x9e) [0xb72986ac]
   #20 bin/smbd(main+0x185c) [0xb7570e59]
   #21 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb6b08455]
   #22 bin/smbd [0xb6f14e01]

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Aug  2 22:33:15 CEST 2011 on sn-devel-104

12 years agos3: Remove unused ERROR_FORCE_NT macro
Volker Lendecke [Tue, 2 Aug 2011 15:18:15 +0000 (17:18 +0200)]
s3: Remove unused ERROR_FORCE_NT macro

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Aug  2 20:32:08 CEST 2011 on sn-devel-104

12 years agos3: Remove unused ERROR_DOS macro
Volker Lendecke [Tue, 2 Aug 2011 15:17:29 +0000 (17:17 +0200)]
s3: Remove unused ERROR_DOS macro

12 years agos3: Move deferred_open_queue to smbd_server_connection
Volker Lendecke [Tue, 2 Aug 2011 15:13:23 +0000 (17:13 +0200)]
s3: Move deferred_open_queue to smbd_server_connection

12 years agos3: Pass sconn explicitly to get_deferred_open_message_smb
Volker Lendecke [Tue, 2 Aug 2011 15:07:25 +0000 (17:07 +0200)]
s3: Pass sconn explicitly to get_deferred_open_message_smb

12 years agos3: Pass sconn explicitly to open_was_deferred
Volker Lendecke [Tue, 2 Aug 2011 15:05:33 +0000 (17:05 +0200)]
s3: Pass sconn explicitly to open_was_deferred

12 years agos3: Pass sconn explicitly to schedule_deferred_open_message_smb
Volker Lendecke [Tue, 2 Aug 2011 14:58:46 +0000 (16:58 +0200)]
s3: Pass sconn explicitly to schedule_deferred_open_message_smb

12 years agos3: Explicitly pass sconn to remove_deferred_open_message_smb
Volker Lendecke [Tue, 2 Aug 2011 14:53:33 +0000 (16:53 +0200)]
s3: Explicitly pass sconn to remove_deferred_open_message_smb

12 years agos3: Fix some nonempty blank lines
Volker Lendecke [Tue, 2 Aug 2011 14:44:53 +0000 (16:44 +0200)]
s3: Fix some nonempty blank lines

12 years agos3:server Consolidate printing related initialization
Simo Sorce [Tue, 2 Aug 2011 14:06:31 +0000 (10:06 -0400)]
s3:server Consolidate printing related initialization

Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Aug  2 17:37:44 CEST 2011 on sn-devel-104

12 years agos3:smbd - Move printing queue stuff
Simo Sorce [Mon, 1 Aug 2011 20:50:51 +0000 (16:50 -0400)]
s3:smbd - Move printing queue stuff

This way we can properly deal with pcap updates in the background queue process
if it is enabled (on by default) and not perform these actions in the main
smbd process.

Signed-off-by: Günther Deschner <gd@samba.org>
12 years agos4:kdc: fix compiler warning
Stefan Metzmacher [Tue, 2 Aug 2011 01:57:50 +0000 (03:57 +0200)]
s4:kdc: fix compiler warning

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Aug  2 06:06:15 CEST 2011 on sn-devel-104

12 years agos3:libsmb/libsmb_server: make use of cli_set_timeout()
Stefan Metzmacher [Tue, 2 Aug 2011 02:16:01 +0000 (04:16 +0200)]
s3:libsmb/libsmb_server: make use of cli_set_timeout()

metze

12 years agos3:libsmb/cli*: make use of cli_state_protocol()
Stefan Metzmacher [Mon, 1 Aug 2011 15:01:42 +0000 (17:01 +0200)]
s3:libsmb/cli*: make use of cli_state_protocol()

metze

12 years agos3:client: make use of cli_state_protocol()
Stefan Metzmacher [Mon, 1 Aug 2011 15:01:42 +0000 (17:01 +0200)]
s3:client: make use of cli_state_protocol()

metze

12 years agos3:auth_server: make use of cli_state_protocol()
Stefan Metzmacher [Mon, 1 Aug 2011 15:00:24 +0000 (17:00 +0200)]
s3:auth_server: make use of cli_state_protocol()

metze

12 years agos3:spoolss: make use of cli_state_protocol()
Stefan Metzmacher [Mon, 1 Aug 2011 14:59:54 +0000 (16:59 +0200)]
s3:spoolss: make use of cli_state_protocol()

metze

12 years agos3:masktest: make use of cli_state_protocol()
Stefan Metzmacher [Mon, 1 Aug 2011 14:59:34 +0000 (16:59 +0200)]
s3:masktest: make use of cli_state_protocol()

metze

12 years agos3:net_rpc: make use of cli_state_protocol()
Stefan Metzmacher [Mon, 1 Aug 2011 14:59:10 +0000 (16:59 +0200)]
s3:net_rpc: make use of cli_state_protocol()

metze

12 years agos3:winbindd_cm: make use of cli_state_protocol()
Stefan Metzmacher [Mon, 1 Aug 2011 14:58:49 +0000 (16:58 +0200)]
s3:winbindd_cm: make use of cli_state_protocol()

metze

12 years agos3:libsmb: add cli_state_protocol()
Stefan Metzmacher [Sat, 30 Jul 2011 10:04:37 +0000 (12:04 +0200)]
s3:libsmb: add cli_state_protocol()

metze

12 years agos3:include: change cli->protocol to enum protocol_types
Stefan Metzmacher [Tue, 2 Aug 2011 01:51:38 +0000 (03:51 +0200)]
s3:include: change cli->protocol to enum protocol_types

metze

12 years agos3:libsmb/cli*: make use of cli_state_capabilities()
Stefan Metzmacher [Mon, 1 Aug 2011 14:42:23 +0000 (16:42 +0200)]
s3:libsmb/cli*: make use of cli_state_capabilities()

metze

12 years agos3:libsmb/libsmb_*: make use of cli_state_capabilities()
Stefan Metzmacher [Mon, 1 Aug 2011 14:41:19 +0000 (16:41 +0200)]
s3:libsmb/libsmb_*: make use of cli_state_capabilities()

metze

12 years agos3:torture: make use of cli_state_capabilities()
Stefan Metzmacher [Mon, 1 Aug 2011 14:40:45 +0000 (16:40 +0200)]
s3:torture: make use of cli_state_capabilities()

metze

12 years agos3:winbindd_cm: make use of cli_state_capabilities()
Stefan Metzmacher [Mon, 1 Aug 2011 14:39:55 +0000 (16:39 +0200)]
s3:winbindd_cm: make use of cli_state_capabilities()

metze

12 years agos3:include: make use of cli_state_capabilities() in SERVER_HAS_UNIX_CIFS()
Stefan Metzmacher [Mon, 1 Aug 2011 14:39:20 +0000 (16:39 +0200)]
s3:include: make use of cli_state_capabilities() in SERVER_HAS_UNIX_CIFS()

metze

12 years agos3:libsmb: add cli_state_capabilities()
Stefan Metzmacher [Sat, 30 Jul 2011 10:04:16 +0000 (12:04 +0200)]
s3:libsmb: add cli_state_capabilities()

metze

12 years agos3:smb2cli_base: smb2cli_req_send() needs to call tevent_req_post() on error
Stefan Metzmacher [Mon, 18 Jul 2011 12:38:33 +0000 (14:38 +0200)]
s3:smb2cli_base: smb2cli_req_send() needs to call tevent_req_post() on error

metze

12 years agosamba-tool: Don't install -c version, which is now deprecated.
Jelmer Vernooij [Tue, 2 Aug 2011 01:32:54 +0000 (03:32 +0200)]
samba-tool: Don't install -c version, which is now deprecated.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Aug  2 04:53:39 CEST 2011 on sn-devel-104

12 years agoFix bug #8341 - libsmbclient segfault when feed the root of a mounted share via an uri
Alban Browaeys [Mon, 1 Aug 2011 23:40:22 +0000 (16:40 -0700)]
Fix bug #8341 - libsmbclient segfault when feed the root of a mounted share via an uri

Fix null deref.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Aug  2 02:58:26 CEST 2011 on sn-devel-104

12 years agodbcheck: Cancel transaction if operation fails.
Jelmer Vernooij [Mon, 1 Aug 2011 18:04:02 +0000 (20:04 +0200)]
dbcheck: Cancel transaction if operation fails.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Aug  2 01:41:07 CEST 2011 on sn-devel-104

12 years agoFix bug 7462 - Non-standard SA_RESETHAND is used in ...lib/tevent/tevent_signal.c
Jeremy Allison [Mon, 1 Aug 2011 18:49:10 +0000 (11:49 -0700)]
Fix bug 7462 - Non-standard SA_RESETHAND is used in ...lib/tevent/tevent_signal.c

Make SA_RESETHAND conditional on its existance.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Aug  1 22:03:45 CEST 2011 on sn-devel-104

12 years agoacl: Improve error message when setting acls fails.
Jelmer Vernooij [Sun, 31 Jul 2011 18:05:23 +0000 (20:05 +0200)]
acl: Improve error message when setting acls fails.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Aug  1 18:59:12 CEST 2011 on sn-devel-104

12 years agoremove unnecessary dependency on 'events' from ldb modules.
Jelmer Vernooij [Sun, 31 Jul 2011 17:42:15 +0000 (19:42 +0200)]
remove unnecessary dependency on 'events' from ldb modules.

12 years agoheimdal_build: Use krb5-config to find heimdal include directory and library path...
Jelmer Vernooij [Sat, 30 Jul 2011 15:45:04 +0000 (17:45 +0200)]
heimdal_build: Use krb5-config to find heimdal include directory and library path, rather than hardcoding.

12 years agowinsif.idl: fix comment about a pidl bug
Stefan Metzmacher [Mon, 1 Aug 2011 13:38:12 +0000 (15:38 +0200)]
winsif.idl: fix comment about a pidl bug

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Aug  1 17:47:05 CEST 2011 on sn-devel-104

12 years agopidl:NDR/Parser: allow [string,size_of()] together
Stefan Metzmacher [Mon, 1 Aug 2011 13:17:41 +0000 (15:17 +0200)]
pidl:NDR/Parser: allow [string,size_of()] together

metze

12 years agoeventlog6.idl: fix definition of eventlog6_StringArray
Stefan Metzmacher [Mon, 1 Aug 2011 13:18:40 +0000 (15:18 +0200)]
eventlog6.idl: fix definition of eventlog6_StringArray

This is an array of string, not an array of characters.

metze

12 years agos3:rpc_transport_tstream: call tstream_cli_np_use_trans() before tstream_writev_queue...
Stefan Metzmacher [Thu, 28 Jul 2011 10:54:31 +0000 (12:54 +0200)]
s3:rpc_transport_tstream: call tstream_cli_np_use_trans() before tstream_writev_queue_send()

This will be needed when tstream_writev_queue_send() changes it's behavior and
avoids using an immediate event when the queue is empty.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Aug  1 14:55:00 CEST 2011 on sn-devel-104

12 years agopidl:NDR/Server: use interface->{UUID} and {NAME} instead of the raw {PROPERTIES}
Stefan Metzmacher [Mon, 1 Aug 2011 09:32:48 +0000 (11:32 +0200)]
pidl:NDR/Server: use interface->{UUID} and {NAME} instead of the raw {PROPERTIES}

metze

12 years agopidl:NDR/Parser: use interface->{UUID} and {NAME} instead of the raw {PROPERTIES}
Stefan Metzmacher [Mon, 1 Aug 2011 09:32:48 +0000 (11:32 +0200)]
pidl:NDR/Parser: use interface->{UUID} and {NAME} instead of the raw {PROPERTIES}

metze

12 years agopidl:NDR/Parser: use '0' instead of 'NULL' for an uint32_t value
Stefan Metzmacher [Mon, 1 Aug 2011 11:00:30 +0000 (13:00 +0200)]
pidl:NDR/Parser: use '0' instead of 'NULL' for an uint32_t value

metze

12 years agos4-upgradeprovision: try to fix the detection of @provision record
Matthieu Patou [Sat, 30 Jul 2011 20:46:58 +0000 (00:46 +0400)]
s4-upgradeprovision: try to fix the detection of @provision record

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Mon Aug  1 13:43:50 CEST 2011 on sn-devel-104

12 years agos3-rpc_server: Only setup tcpip ports if epmapper is enabled.
Andreas Schneider [Mon, 1 Aug 2011 09:14:12 +0000 (11:14 +0200)]
s3-rpc_server: Only setup tcpip ports if epmapper is enabled.

Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Mon Aug  1 12:31:59 CEST 2011 on sn-devel-104

12 years agos3-rpc_server: Use rpc_spoolss_mode().
Andreas Schneider [Fri, 29 Jul 2011 15:46:37 +0000 (17:46 +0200)]
s3-rpc_server: Use rpc_spoolss_mode().

12 years agos3-rpc_server: Add rpc_spoolss_mode().
Andreas Schneider [Fri, 29 Jul 2011 15:46:21 +0000 (17:46 +0200)]
s3-rpc_server: Add rpc_spoolss_mode().

12 years agos3-rpc_server: Enable endpoint mapper as daemon by default.
Andreas Schneider [Fri, 29 Jul 2011 15:25:39 +0000 (17:25 +0200)]
s3-rpc_server: Enable endpoint mapper as daemon by default.

12 years agos3-rpc_server: Use rpc_epmapper_mode().
Andreas Schneider [Thu, 14 Jul 2011 08:40:53 +0000 (10:40 +0200)]
s3-rpc_server: Use rpc_epmapper_mode().

Remove embedded mode cause this will not work. It was only there for
testing.

12 years agos3-rpc_server: Add rpc_epmapper_mode().
Andreas Schneider [Fri, 29 Jul 2011 09:44:02 +0000 (11:44 +0200)]
s3-rpc_server: Add rpc_epmapper_mode().

12 years agos3-rpc_server: Disable listening on tcpip ports by default.
Andreas Schneider [Thu, 14 Jul 2011 08:37:49 +0000 (10:37 +0200)]
s3-rpc_server: Disable listening on tcpip ports by default.

12 years agos3-torture: Run epmapper as daemon and the tests over ncalrpc.
Andreas Schneider [Mon, 11 Jul 2011 15:02:36 +0000 (17:02 +0200)]
s3-torture: Run epmapper as daemon and the tests over ncalrpc.

12 years agos3-epmd: Use rpc_setup_tcpip_sockets().
Andreas Schneider [Tue, 5 Jul 2011 10:04:00 +0000 (12:04 +0200)]
s3-epmd: Use rpc_setup_tcpip_sockets().

12 years agos3-librpc: Remove obsolete dcerpc_binding_vector_create().
Andreas Schneider [Wed, 13 Jul 2011 11:49:57 +0000 (13:49 +0200)]
s3-librpc: Remove obsolete dcerpc_binding_vector_create().

12 years agos3-rpc_server: Use binding vector in rpc_ep_try_register().
Andreas Schneider [Fri, 1 Jul 2011 16:40:38 +0000 (18:40 +0200)]
s3-rpc_server: Use binding vector in rpc_ep_try_register().

12 years agos3-rpc_server: Add RPC socket helper functions.
Andreas Schneider [Thu, 30 Jun 2011 08:46:48 +0000 (10:46 +0200)]
s3-rpc_server: Add RPC socket helper functions.

12 years agos3-librpc: Add dcerpc_binding_vector_replace_iface().
Andreas Schneider [Fri, 1 Jul 2011 12:39:58 +0000 (14:39 +0200)]
s3-librpc: Add dcerpc_binding_vector_replace_iface().

12 years agos3-librpc: Add dcerpc_binding_vector_dup().
Andreas Schneider [Fri, 1 Jul 2011 12:36:31 +0000 (14:36 +0200)]
s3-librpc: Add dcerpc_binding_vector_dup().

12 years agos3-librpc: Add dcerpc_binding_vector_add_unix().
Andreas Schneider [Thu, 30 Jun 2011 10:02:33 +0000 (12:02 +0200)]
s3-librpc: Add dcerpc_binding_vector_add_unix().

12 years agos3-librpc: Add dcerpc_binding_vector_add_port().
Andreas Schneider [Thu, 30 Jun 2011 10:01:10 +0000 (12:01 +0200)]
s3-librpc: Add dcerpc_binding_vector_add_port().

12 years agos3-librpc: Add dcerpc_binding_vector_add_np_default().
Andreas Schneider [Thu, 30 Jun 2011 09:56:11 +0000 (11:56 +0200)]
s3-librpc: Add dcerpc_binding_vector_add_np_default().

12 years agos3-librpc: Add dcerpc_binding_vector_new().
Andreas Schneider [Thu, 30 Jun 2011 09:52:59 +0000 (11:52 +0200)]
s3-librpc: Add dcerpc_binding_vector_new().

12 years agos3-rpc_server: Rename to rpc service setup.
Andreas Schneider [Mon, 6 Jun 2011 09:13:10 +0000 (11:13 +0200)]
s3-rpc_server: Rename to rpc service setup.

12 years agos3-rpc_server: Move the endpoint registration to own file.
Andreas Schneider [Mon, 6 Jun 2011 09:10:02 +0000 (11:10 +0200)]
s3-rpc_server: Move the endpoint registration to own file.

12 years agos3-rpc_server: Added common function to create tcpip socket.
Andreas Schneider [Mon, 23 May 2011 14:00:30 +0000 (16:00 +0200)]
s3-rpc_server: Added common function to create tcpip socket.

12 years agos3-lsa: Fix crypto prototypes.
Günther Deschner [Sun, 31 Jul 2011 20:37:08 +0000 (22:37 +0200)]
s3-lsa: Fix crypto prototypes.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Aug  1 00:18:34 CEST 2011 on sn-devel-104

12 years agos3-build: remove some unused/duplicate headers.
Günther Deschner [Sun, 31 Jul 2011 19:43:02 +0000 (21:43 +0200)]
s3-build: remove some unused/duplicate headers.

Guenther

12 years agos3-selftest: finally enable RPC-LSA against s3.
Günther Deschner [Tue, 3 Nov 2009 10:48:09 +0000 (11:48 +0100)]
s3-selftest: finally enable RPC-LSA against s3.

Guenther

12 years agos3-selftest: enable RPC-LSA-SECRETS against s3.
Günther Deschner [Thu, 29 Oct 2009 23:09:25 +0000 (00:09 +0100)]
s3-selftest: enable RPC-LSA-SECRETS against s3.

Guenther

12 years agos3-lsa: support secret objects in _lsa_QuerySecurity().
Günther Deschner [Thu, 1 Jul 2010 20:25:16 +0000 (22:25 +0200)]
s3-lsa: support secret objects in _lsa_QuerySecurity().

Guenther

12 years agos3-lsa: support secret objects in _lsa_DeleteObject().
Günther Deschner [Thu, 29 Oct 2009 23:05:07 +0000 (00:05 +0100)]
s3-lsa: support secret objects in _lsa_DeleteObject().

Guenther

12 years agos3-lsa: implement _lsa_QuerySecret().
Günther Deschner [Thu, 29 Oct 2009 23:04:09 +0000 (00:04 +0100)]
s3-lsa: implement _lsa_QuerySecret().

Guenther

12 years agos3-lsa: implement _lsa_SetSecret().
Günther Deschner [Thu, 29 Oct 2009 23:03:21 +0000 (00:03 +0100)]
s3-lsa: implement _lsa_SetSecret().

Guenther

12 years agos3-lsa: implement _lsa_CreateSecret().
Günther Deschner [Thu, 29 Oct 2009 22:59:57 +0000 (23:59 +0100)]
s3-lsa: implement _lsa_CreateSecret().

Guenther

12 years agos3-lsa: implement _lsa_OpenSecret().
Günther Deschner [Thu, 29 Oct 2009 22:51:44 +0000 (23:51 +0100)]
s3-lsa: implement _lsa_OpenSecret().

Guenther

12 years agos3-secrets: add lsa_secret passdb api.
Günther Deschner [Thu, 17 Feb 2011 15:10:28 +0000 (16:10 +0100)]
s3-secrets: add lsa_secret passdb api.

Guenther

12 years agos3-secrets: add lsa_secret struct to secrets IDL.
Günther Deschner [Wed, 28 Oct 2009 17:07:56 +0000 (18:07 +0100)]
s3-secrets: add lsa_secret struct to secrets IDL.

Guenther

12 years agos3-passdb: add dummy calls to control global (replicated) secrets.
Günther Deschner [Wed, 28 Oct 2009 10:03:15 +0000 (11:03 +0100)]
s3-passdb: add dummy calls to control global (replicated) secrets.

Guenther

12 years agos3-lsa: add LSA_HANDLE_SECRET_TYPE.
Günther Deschner [Mon, 26 Oct 2009 12:43:16 +0000 (13:43 +0100)]
s3-lsa: add LSA_HANDLE_SECRET_TYPE.

Guenther

12 years agos3-lsa: Fix _lsa_DeleteObject to handle trusted domain objects.
Günther Deschner [Thu, 16 Jul 2009 12:32:18 +0000 (14:32 +0200)]
s3-lsa: Fix _lsa_DeleteObject to handle trusted domain objects.

Guenther

12 years agos4-kcc: correctly populate the neighbor object when taking information from repsTo
Matthieu Patou [Sat, 30 Jul 2011 07:05:40 +0000 (11:05 +0400)]
s4-kcc: correctly populate the neighbor object when taking information from repsTo

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Jul 31 00:17:17 CEST 2011 on sn-devel-104

12 years agoAdded missing return. Not strictly neccessary, the following if (!NT_STATUS_EQUAL...
Jeremy Allison [Fri, 29 Jul 2011 22:20:15 +0000 (15:20 -0700)]
Added missing return. Not strictly neccessary, the following if (!NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED))
clause will catch this and use tevent_req_nterror(req, status); to set the status as NT_STATUS_OK, but
it looks strange to do it that way.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jul 30 01:34:24 CEST 2011 on sn-devel-104

12 years agoSecod part of bugfix for bug #8335 - file copy aborts with smb2_validate_message_id...
Jeremy Allison [Fri, 29 Jul 2011 03:23:30 +0000 (20:23 -0700)]
Secod part of bugfix for bug #8335 - file copy aborts with smb2_validate_message_id: bad message_id

Modify the credit granting algorithm to closer to what I believe
Windows does.

Split up max_credits into 1/16ths, and then scale
the requested credits by how many 16ths have been
currently granted. Less than 1/16th == grant all
requested (100%), scale down as more have been
granted. Never ask for less than 1 if the client
asked for at least 1.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Jul 29 20:37:42 CEST 2011 on sn-devel-104

12 years agoFirst part of bugfix for bug #8335 - file copy aborts with smb2_validate_message_id...
Jeremy Allison [Fri, 29 Jul 2011 03:22:45 +0000 (20:22 -0700)]
First part of bugfix for bug #8335 - file copy aborts with smb2_validate_message_id: bad message_id

Set default max credits to 8192 now this has been documented in the
SMB2 spec.

12 years agos3: Add a fallback for missing open&x support in OS/X Lion
Volker Lendecke [Fri, 29 Jul 2011 14:37:18 +0000 (16:37 +0200)]
s3: Add a fallback for missing open&x support in OS/X Lion

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jul 29 17:55:20 CEST 2011 on sn-devel-104

12 years agos3: Make map_open_params_to_ntcreate() available in lib/
Volker Lendecke [Fri, 29 Jul 2011 14:36:58 +0000 (16:36 +0200)]
s3: Make map_open_params_to_ntcreate() available in lib/

12 years agos3: Make is_executable() available in lib/
Volker Lendecke [Fri, 29 Jul 2011 14:14:39 +0000 (16:14 +0200)]
s3: Make is_executable() available in lib/

12 years agos3: We only need base_name in map_open_params_to_ntcreate
Volker Lendecke [Fri, 29 Jul 2011 14:12:16 +0000 (16:12 +0200)]
s3: We only need base_name in map_open_params_to_ntcreate

12 years agos3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/
Michael Adam [Thu, 7 Jul 2011 15:42:08 +0000 (17:42 +0200)]
s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104

12 years agos3-waf: replace the dbwrap_util library by a dbwrap library that contains the dbwrap...
Michael Adam [Wed, 6 Jul 2011 15:02:13 +0000 (17:02 +0200)]
s3-waf: replace the dbwrap_util library by a dbwrap library that contains the dbwrap core

12 years agos3:dbwrap: move db_is_local() from dbwrap.c to dbwrap_open.c
Michael Adam [Wed, 6 Jul 2011 14:49:34 +0000 (16:49 +0200)]
s3:dbwrap: move db_is_local() from dbwrap.c to dbwrap_open.c

12 years agos3:dbwrap: move db_open() to a file dbwrap_open.c of its own.
Michael Adam [Wed, 6 Jul 2011 14:40:21 +0000 (16:40 +0200)]
s3:dbwrap: move db_open() to a file dbwrap_open.c of its own.

Also start new folder lib/dbwrap/ where dbwrap_open.c is stored and
make the fallbacke implementation functoins non-static and create a
dbwrap_private.h header file that contains their prototypes.