sfrench/samba-autobuild/.git
10 years agolibrpc/rpc: simplify dcerpc_binding_build_tower()
Stefan Metzmacher [Thu, 30 Jan 2014 22:05:48 +0000 (23:05 +0100)]
librpc/rpc: simplify dcerpc_binding_build_tower()

dcerpc_floor_set_rhs_data() handles the special cases now
and we keep the 'host' part unmodified except
EPM_PROTOCOL_IP addresses. No special '\\' handling anymore.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agolibrpc/rpc: fix dcerpc_floor_set_rhs_data() with NULL data.
Stefan Metzmacher [Thu, 30 Jan 2014 22:03:03 +0000 (23:03 +0100)]
librpc/rpc: fix dcerpc_floor_set_rhs_data() with NULL data.

For EPM_PROTOCOL_IP we can only marshal ipv4 addresses,
everything else gets '0.0.0.0' (4 zero bytes on the wire).

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agolibrpc/rpc: handle dcerpc_binding->host == NULL in dcerpc_floor_get_rhs_data()
Stefan Metzmacher [Mon, 10 Feb 2014 17:56:59 +0000 (18:56 +0100)]
librpc/rpc: handle dcerpc_binding->host == NULL in dcerpc_floor_get_rhs_data()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:torture: handle binding_struct->host == NULL in torture_parse_target()
Stefan Metzmacher [Sun, 26 Jan 2014 00:55:52 +0000 (01:55 +0100)]
s4:torture: handle binding_struct->host == NULL in torture_parse_target()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:librpc/test: an empty hostname means b->host == NULL
Stefan Metzmacher [Fri, 24 Jan 2014 08:20:50 +0000 (09:20 +0100)]
s4:librpc/test: an empty hostname means b->host == NULL

In future we'll not allow b->host == "" any more.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:rpc_server: fix talloc hierachie dcesrv_context => dcesrv_endpoint => dcesrv_if_list
Stefan Metzmacher [Thu, 6 Feb 2014 17:59:53 +0000 (18:59 +0100)]
s4:rpc_server: fix talloc hierachie dcesrv_context => dcesrv_endpoint => dcesrv_if_list

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos3:srv_epmapper: only replace ipv4 addresses in _epm_Lookup() and _epm_Map()
Stefan Metzmacher [Fri, 31 Jan 2014 20:10:41 +0000 (21:10 +0100)]
s3:srv_epmapper: only replace ipv4 addresses in _epm_Lookup() and _epm_Map()

The floor data for EPM_PROTOCOL_IP only handles a 4 byte ipv4 address.
"0.0.0.0" is used for ipv6 and hostnames.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos3:srv_epmapper: fix logic in endpoints_match()
Stefan Metzmacher [Fri, 31 Jan 2014 22:20:05 +0000 (23:20 +0100)]
s3:srv_epmapper: fix logic in endpoints_match()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:torture/rpc: fix rpc.scanner test
Stefan Metzmacher [Fri, 24 Jan 2014 10:31:25 +0000 (11:31 +0100)]
s4:torture/rpc: fix rpc.scanner test

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:torture/rpc: pass object down to test_Map_display()
Stefan Metzmacher [Thu, 30 Jan 2014 22:00:40 +0000 (23:00 +0100)]
s4:torture/rpc: pass object down to test_Map_display()

We also pass the given tower unmodified first.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:torture/rpc: print out the object guid in rpc.epmapper.epmapper.Lookup_simple
Stefan Metzmacher [Fri, 24 Jan 2014 10:00:04 +0000 (11:00 +0100)]
s4:torture/rpc: print out the object guid in rpc.epmapper.epmapper.Lookup_simple

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:torture/rpc: test all auth_types (8bit) in rpc.mgmt
Stefan Metzmacher [Fri, 24 Jan 2014 09:36:37 +0000 (10:36 +0100)]
s4:torture/rpc: test all auth_types (8bit) in rpc.mgmt

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:torture/rpc: fix rpc.mgmt test
Stefan Metzmacher [Fri, 24 Jan 2014 09:31:32 +0000 (10:31 +0100)]
s4:torture/rpc: fix rpc.mgmt test

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:torture/rpc: remove unused variable in session_key.c
Stefan Metzmacher [Tue, 4 Feb 2014 09:08:48 +0000 (10:08 +0100)]
s4:torture/rpc: remove unused variable in session_key.c

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:torture/rpc: remove unused variable in frsapi.c
Stefan Metzmacher [Tue, 4 Feb 2014 09:08:48 +0000 (10:08 +0100)]
s4:torture/rpc: remove unused variable in frsapi.c

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:torture/rpc: remove unused variable in dsgetinfo.c
Stefan Metzmacher [Tue, 4 Feb 2014 09:08:48 +0000 (10:08 +0100)]
s4:torture/rpc: remove unused variable in dsgetinfo.c

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:torture/rpc: remove unused variable in backupkey.c
Stefan Metzmacher [Tue, 4 Feb 2014 09:08:48 +0000 (10:08 +0100)]
s4:torture/rpc: remove unused variable in backupkey.c

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:torture/rpc: fix compiler warnings in spoolss.c
Stefan Metzmacher [Tue, 4 Feb 2014 08:52:49 +0000 (09:52 +0100)]
s4:torture/rpc: fix compiler warnings in spoolss.c

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:torture/drs: remove unused variables.
Stefan Metzmacher [Tue, 4 Feb 2014 09:07:59 +0000 (10:07 +0100)]
s4:torture/drs: remove unused variables.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:torture/rpc: initialize struct dcerpc_binding completely
Stefan Metzmacher [Sun, 26 Jan 2014 09:11:03 +0000 (10:11 +0100)]
s4:torture/rpc: initialize struct dcerpc_binding completely

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos3:rpcclient: initialize struct dcerpc_binding completely
Stefan Metzmacher [Sun, 26 Jan 2014 09:10:37 +0000 (10:10 +0100)]
s3:rpcclient: initialize struct dcerpc_binding completely

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos3:rpc_server: initialize struct dcerpc_binding completely
Stefan Metzmacher [Sun, 26 Jan 2014 09:09:49 +0000 (10:09 +0100)]
s3:rpc_server: initialize struct dcerpc_binding completely

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos3:dcerpc_up: avoid useless talloc_zero() calls
Stefan Metzmacher [Thu, 30 Jan 2014 08:54:24 +0000 (09:54 +0100)]
s3:dcerpc_up: avoid useless talloc_zero() calls

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos3:dcerpc_ep: make ep_register() more tolerant regarding the passes binding vector
Stefan Metzmacher [Thu, 30 Jan 2014 08:51:09 +0000 (09:51 +0100)]
s3:dcerpc_ep: make ep_register() more tolerant regarding the passes binding vector

We should take a copy and set the abstract syntax to from the given interface
before we construct the tower.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos3:dcerpc_ep: only use the explicitly passed object_guid
Stefan Metzmacher [Thu, 30 Jan 2014 08:51:09 +0000 (09:51 +0100)]
s3:dcerpc_ep: only use the explicitly passed object_guid

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos3:dcerpc_ep: only use an array of 'struct dcerpc_binding *'
Stefan Metzmacher [Fri, 7 Feb 2014 14:50:29 +0000 (15:50 +0100)]
s3:dcerpc_ep: only use an array of 'struct dcerpc_binding *'

In future we should not dereference struct dcerpc_binding
and just keep pointers.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos3:dcerpc_ep: make struct dcerpc_binding_vector private
Stefan Metzmacher [Fri, 7 Feb 2014 14:50:29 +0000 (15:50 +0100)]
s3:dcerpc_ep: make struct dcerpc_binding_vector private

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agolibrpc/rpc: let dcerpc_floor_get_rhs_data() return 'char *'
Stefan Metzmacher [Mon, 3 Feb 2014 08:06:08 +0000 (09:06 +0100)]
librpc/rpc: let dcerpc_floor_get_rhs_data() return 'char *'

We don't return any "const char *" values here, so give the caller
a chance to talloc_free() the result.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:librpc/rpc: remove prototypes which are already in librpc/rpc/rpc_common.h
Stefan Metzmacher [Mon, 3 Feb 2014 08:04:49 +0000 (09:04 +0100)]
s4:librpc/rpc: remove prototypes which are already in librpc/rpc/rpc_common.h

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:librpc/rpc: use the correct _recv function in continue_open_pipe()
Stefan Metzmacher [Tue, 4 Feb 2014 10:06:21 +0000 (11:06 +0100)]
s4:librpc/rpc: use the correct _recv function in continue_open_pipe()

We start with dcerpc_pipe_open_unix_stream_send() so we need
to call dcerpc_pipe_open_unix_stream_recv().

It was just luck that it worked before...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agolibrpc/ndr: add ndr_table_by_syntax()
Stefan Metzmacher [Fri, 24 Jan 2014 09:28:05 +0000 (10:28 +0100)]
librpc/ndr: add ndr_table_by_syntax()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos3:rpcclient: add witness command
Gregor Beck [Mon, 5 Aug 2013 09:01:34 +0000 (11:01 +0200)]
s3:rpcclient: add witness command

Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agolibrpc/idl: add witness.idl
Stefan Metzmacher [Fri, 2 Nov 2012 15:27:46 +0000 (16:27 +0100)]
librpc/idl: add witness.idl

See [MS-SWN] for the details.

Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agoselftest: let "make testenv SCREEN=1" use tmux if it is running
Gregor Beck [Thu, 12 Dec 2013 10:38:22 +0000 (11:38 +0100)]
selftest: let "make testenv SCREEN=1" use tmux if it is running

Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos3:rpc_server: check verification trailer
Gregor Beck [Fri, 10 Jan 2014 12:56:06 +0000 (13:56 +0100)]
s3:rpc_server: check verification trailer

Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos3:rpc_server: check header of each packet fragment
Gregor Beck [Thu, 9 Jan 2014 12:55:27 +0000 (13:55 +0100)]
s3:rpc_server: check header of each packet fragment

Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos3:rpc_server: only become the user if we have a valid context_id
Stefan Metzmacher [Wed, 15 Jan 2014 09:27:49 +0000 (10:27 +0100)]
s3:rpc_server: only become the user if we have a valid context_id

Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>

Signed-off-by: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos3:rpc_server: minor refactoring of process_request_pdu()
Gregor Beck [Thu, 9 Jan 2014 09:15:31 +0000 (10:15 +0100)]
s3:rpc_server: minor refactoring of process_request_pdu()

Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos3:librpc/rpc: only propose header signing if we use sign or seal
Stefan Metzmacher [Tue, 21 Jan 2014 14:18:01 +0000 (15:18 +0100)]
s3:librpc/rpc: only propose header signing if we use sign or seal

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:rpc_server: check verification trailer
Gregor Beck [Wed, 8 Jan 2014 09:35:48 +0000 (10:35 +0100)]
s4:rpc_server: check verification trailer

Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:rpc_server: check header of each packet fragment
Gregor Beck [Thu, 9 Jan 2014 08:47:25 +0000 (09:47 +0100)]
s4:rpc_server: check header of each packet fragment

Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:rpc_server: verifiy the auth_info against the per connection values
Stefan Metzmacher [Thu, 9 Jan 2014 09:59:01 +0000 (10:59 +0100)]
s4:rpc_server: verifiy the auth_info against the per connection values

Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>

Signed-off-by: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:librpc/rpc: only propose header signing if we use sign or seal
Stefan Metzmacher [Thu, 16 Jan 2014 06:49:56 +0000 (07:49 +0100)]
s4:librpc/rpc: only propose header signing if we use sign or seal

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agos4:librpc/rpc: add forward declaration for struct resolve_context
Stefan Metzmacher [Thu, 23 Jan 2014 08:48:53 +0000 (09:48 +0100)]
s4:librpc/rpc: add forward declaration for struct resolve_context

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agolibrpc/rpc: add dcerpc_sec_verification_trailer_check()
Gregor Beck [Wed, 8 Jan 2014 08:50:33 +0000 (09:50 +0100)]
librpc/rpc: add dcerpc_sec_verification_trailer_check()

Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agolibrpc/rpc: add dcerpc_sec_vt_header2_[from_ncacn_packet|equal]()
Gregor Beck [Mon, 13 Jan 2014 12:33:09 +0000 (13:33 +0100)]
librpc/rpc: add dcerpc_sec_vt_header2_[from_ncacn_packet|equal]()

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agolibrpc/ndr: add ndr_syntax_id_[from|to]_string()
Stefan Metzmacher [Tue, 4 Feb 2014 11:54:42 +0000 (12:54 +0100)]
librpc/ndr: add ndr_syntax_id_[from|to]_string()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agolibrpc/ndr: add ndr_pull_append/pop()
Stefan Metzmacher [Sat, 21 Sep 2013 00:28:33 +0000 (02:28 +0200)]
librpc/ndr: add ndr_pull_append/pop()

They can be used to parse a fragmented NDR byte stream.

ndr_pull_append() appends more data that can be processed
and ndr_pull_pop() removed already processed data.

This will be used to implement dcerpc pipes, where we can get
a verify large amount of pipe chunks, once we processed a chunk
we can forget about the related data, but we may need to keep some
bytes in order to get the alignment right.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agolibrpc/ndr: add support for a shallow copy to ndr_pull_subcontext_start/end
Stefan Metzmacher [Sat, 21 Sep 2013 19:58:05 +0000 (21:58 +0200)]
librpc/ndr: add support for a shallow copy to ndr_pull_subcontext_start/end

This will be usefull to try parsing DCERPC pipe chunks for
LIBNDR_FLAG_INCOMPLETE_BUFFER.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agolibrpc/ndr: remember INCOMPLETE_BUFFER missing bytes in relative_highest_offset
Stefan Metzmacher [Sat, 21 Sep 2013 20:30:25 +0000 (22:30 +0200)]
librpc/ndr: remember INCOMPLETE_BUFFER missing bytes in relative_highest_offset

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agolibrpc/ndr: add NDR_ERR_INCOMPLETE_BUFFER and LIBNDR_FLAG_INCOMPLETE_BUFFER
Stefan Metzmacher [Tue, 8 Mar 2011 09:14:51 +0000 (10:14 +0100)]
librpc/ndr: add NDR_ERR_INCOMPLETE_BUFFER and LIBNDR_FLAG_INCOMPLETE_BUFFER

If we pull a pipe chunk we need a way to check if we
have enough bytes to parse the complete chunk.

Setting ndr_pull->flags |= LIBNDR_FLAG_INCOMPLETE_BUFFER
would change NDR_ERR_BUFSIZE (and later maybe others)
into NDR_ERR_INCOMPLETE_BUFFER.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agolibrpc/ndr: fix headers in ndr_dcerpc.c
Gregor Beck [Fri, 17 Jan 2014 11:13:50 +0000 (12:13 +0100)]
librpc/ndr: fix headers in ndr_dcerpc.c

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agolib/ldb-samba: add more attributes with LDB_SYNTAX_SAMBA_GUID
Stefan Metzmacher [Wed, 29 Jan 2014 07:24:11 +0000 (08:24 +0100)]
lib/ldb-samba: add more attributes with LDB_SYNTAX_SAMBA_GUID

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
10 years agowinbind4: Remove unused winbind_get_idmap irpc operation
Volker Lendecke [Tue, 4 Feb 2014 10:22:25 +0000 (10:22 +0000)]
winbind4: Remove unused winbind_get_idmap irpc operation

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Feb 10 13:24:09 CET 2014 on sn-devel-104

10 years agoauth4: Remove unused wbc_context
Volker Lendecke [Tue, 4 Feb 2014 10:18:48 +0000 (10:18 +0000)]
auth4: Remove unused wbc_context

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
10 years agontvfs_unixuid: No wbc_context required
Volker Lendecke [Mon, 3 Feb 2014 20:36:25 +0000 (21:36 +0100)]
ntvfs_unixuid: No wbc_context required

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
10 years agontvfs_posix: No wbc_context required
Volker Lendecke [Mon, 3 Feb 2014 20:35:05 +0000 (21:35 +0100)]
ntvfs_posix: No wbc_context required

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
10 years agodcesrv_unixinfo: No wbc_context required
Volker Lendecke [Mon, 3 Feb 2014 20:33:21 +0000 (21:33 +0100)]
dcesrv_unixinfo: No wbc_context required

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
10 years agounixuid: Use the tevent_context from the ntvfs_context
Volker Lendecke [Sun, 2 Feb 2014 14:54:53 +0000 (15:54 +0100)]
unixuid: Use the tevent_context from the ntvfs_context

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
10 years agopvfs: Use the tevent_context from the ntvfs_context
Volker Lendecke [Sun, 2 Feb 2014 14:53:25 +0000 (15:53 +0100)]
pvfs: Use the tevent_context from the ntvfs_context

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
10 years agoauth4: Do not generate just a temporary wbc_context
Volker Lendecke [Sun, 2 Feb 2014 14:50:08 +0000 (15:50 +0100)]
auth4: Do not generate just a temporary wbc_context

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
10 years agoauth4: auth_session_info_fill_unix only needs a tevent_context
Volker Lendecke [Sun, 2 Feb 2014 14:48:03 +0000 (15:48 +0100)]
auth4: auth_session_info_fill_unix only needs a tevent_context

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
10 years agoauth4: security_token_to_unix_token only needs a tevent_context
Volker Lendecke [Sun, 2 Feb 2014 14:45:47 +0000 (15:45 +0100)]
auth4: security_token_to_unix_token only needs a tevent_context

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
10 years agolibwbclient4: Remove unused composite-based functions
Volker Lendecke [Sun, 2 Feb 2014 14:45:13 +0000 (15:45 +0100)]
libwbclient4: Remove unused composite-based functions

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
10 years agosource4: Use wbc_xids_to_sids
Volker Lendecke [Sun, 2 Feb 2014 14:35:02 +0000 (15:35 +0100)]
source4: Use wbc_xids_to_sids

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
10 years agolibwbclient4: Add wbc_xids_to_sids
Volker Lendecke [Sat, 1 Feb 2014 19:46:28 +0000 (20:46 +0100)]
libwbclient4: Add wbc_xids_to_sids

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
10 years agosource4: Use wbc_sids_to_xids
Volker Lendecke [Thu, 30 Jan 2014 20:12:07 +0000 (20:12 +0000)]
source4: Use wbc_sids_to_xids

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
10 years agolibwbclient4: Add wbc_sids_to_xids
Volker Lendecke [Thu, 30 Jan 2014 19:05:09 +0000 (19:05 +0000)]
libwbclient4: Add wbc_sids_to_xids

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
10 years agolib/param: Mark source code generators as group build_source
Andrew Bartlett [Mon, 3 Feb 2014 03:44:32 +0000 (16:44 +1300)]
lib/param: Mark source code generators as group build_source

Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Feb 10 05:56:58 CET 2014 on sn-devel-104

10 years agoparam: rename and move log level from LOADPARM_EXTRA_GLOBALS to param_functions.c
Garming Sam [Fri, 10 Jan 2014 02:06:41 +0000 (15:06 +1300)]
param: rename and move log level from LOADPARM_EXTRA_GLOBALS to param_functions.c

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
10 years agoparam: rename and move usershare template parameter from LOADPARM_EXTRA_GLOBALS to...
Garming Sam [Fri, 10 Jan 2014 01:34:43 +0000 (14:34 +1300)]
param: rename and move usershare template parameter from LOADPARM_EXTRA_GLOBALS to param_functions.c

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
10 years agodocs: insert function name "wins_dns_proxy" into dns proxy parameter
Garming Sam [Thu, 9 Jan 2014 04:26:14 +0000 (17:26 +1300)]
docs: insert function name "wins_dns_proxy" into dns proxy parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
10 years agodocs: insert function name "wins_server_list" into wins server parameter
Garming Sam [Thu, 9 Jan 2014 04:26:16 +0000 (17:26 +1300)]
docs: insert function name "wins_server_list" into wins server parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
10 years agodocs: insert function name "_disable_spoolss" into disable spoolss parameter
Garming Sam [Thu, 9 Jan 2014 04:26:13 +0000 (17:26 +1300)]
docs: insert function name "_disable_spoolss" into disable spoolss parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
10 years agodocs: insert function name "logfile" into log file parameter
Garming Sam [Thu, 9 Jan 2014 04:26:17 +0000 (17:26 +1300)]
docs: insert function name "logfile" into log file parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
10 years agodocs: insert function name "defaultservice" into default service parameter
Garming Sam [Thu, 9 Jan 2014 04:26:16 +0000 (17:26 +1300)]
docs: insert function name "defaultservice" into default service parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
10 years agodocs: insert function name "auto_services" into preload parameter
Garming Sam [Thu, 9 Jan 2014 04:26:16 +0000 (17:26 +1300)]
docs: insert function name "auto_services" into preload parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
10 years agodocs: insert function name "we_are_a_wins_server" into wins support parameter
Garming Sam [Thu, 9 Jan 2014 04:26:14 +0000 (17:26 +1300)]
docs: insert function name "we_are_a_wins_server" into wins support parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
10 years agodocs: insert function name "timestamp_logs" into debug timestamp parameter
Garming Sam [Thu, 9 Jan 2014 04:26:14 +0000 (17:26 +1300)]
docs: insert function name "timestamp_logs" into debug timestamp parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
10 years agos3: increase default fudge factor for max open files from 20 to 40
Garming Sam [Mon, 6 Jan 2014 03:51:58 +0000 (16:51 +1300)]
s3: increase default fudge factor for max open files from 20 to 40

Tests show that Samba's smbd uses 38 open files at startup.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
10 years agos4:samba-tool/testparm: add a warning when acting as an AD-DC and not using UTF-8
Garming Sam [Thu, 2 Jan 2014 22:14:13 +0000 (11:14 +1300)]
s4:samba-tool/testparm: add a warning when acting as an AD-DC and not using UTF-8

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-User(master): Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date(master): Mon Feb 10 02:26:28 CET 2014 on sn-devel-104

10 years agoparam: rename lp function and variable from "nis_home_map" to "nis_homedir"
Garming Sam [Tue, 4 Feb 2014 02:09:04 +0000 (15:09 +1300)]
param: rename lp function and variable from "nis_home_map" to "nis_homedir"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Feb  8 03:31:34 CET 2014 on sn-devel-104

10 years agoparam: rename lp function and variable from "syncalways" to "sync_always"
Garming Sam [Tue, 4 Feb 2014 02:09:12 +0000 (15:09 +1300)]
param: rename lp function and variable from "syncalways" to "sync_always"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "minprintspace" to "min_print_space"
Garming Sam [Tue, 4 Feb 2014 02:09:12 +0000 (15:09 +1300)]
param: rename lp function and variable from "minprintspace" to "min_print_space"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "maxdisksize" to "max_disk_size"
Garming Sam [Tue, 4 Feb 2014 02:09:12 +0000 (15:09 +1300)]
param: rename lp function and variable from "maxdisksize" to "max_disk_size"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "writelist" to "write_list"
Garming Sam [Tue, 4 Feb 2014 02:09:11 +0000 (15:09 +1300)]
param: rename lp function and variable from "writelist" to "write_list"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "usernamelevel" to "username_level"
Garming Sam [Tue, 4 Feb 2014 02:09:11 +0000 (15:09 +1300)]
param: rename lp function and variable from "usernamelevel" to "username_level"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "rootdir" to "root_directory"
Garming Sam [Tue, 4 Feb 2014 02:09:11 +0000 (15:09 +1300)]
param: rename lp function and variable from "rootdir" to "root_directory"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "renameuser_script" to "rename_user_script"
Garming Sam [Tue, 4 Feb 2014 02:09:11 +0000 (15:09 +1300)]
param: rename lp function and variable from "renameuser_script" to "rename_user_script"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "readlist" to "read_list"
Garming Sam [Tue, 4 Feb 2014 02:09:10 +0000 (15:09 +1300)]
param: rename lp function and variable from "readlist" to "read_list"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "onlyuser" to "only_user"
Garming Sam [Tue, 4 Feb 2014 02:09:10 +0000 (15:09 +1300)]
param: rename lp function and variable from "onlyuser" to "only_user"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "inherit_perms" to "inherit_permissions"
Garming Sam [Tue, 4 Feb 2014 02:09:10 +0000 (15:09 +1300)]
param: rename lp function and variable from "inherit_perms" to "inherit_permissions"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "encrypted_passwords" to "encrypt_passwords"
Garming Sam [Tue, 4 Feb 2014 02:09:10 +0000 (15:09 +1300)]
param: rename lp function and variable from "encrypted_passwords" to "encrypt_passwords"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "srv_minprotocol" to "server_min_protocol"
Garming Sam [Tue, 4 Feb 2014 02:09:09 +0000 (15:09 +1300)]
param: rename lp function and variable from "srv_minprotocol" to "server_min_protocol"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "srv_maxprotocol" to "server_max_protocol"
Garming Sam [Tue, 4 Feb 2014 02:09:09 +0000 (15:09 +1300)]
param: rename lp function and variable from "srv_maxprotocol" to "server_max_protocol"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "maxmux" to "max_mux"
Garming Sam [Tue, 4 Feb 2014 02:09:09 +0000 (15:09 +1300)]
param: rename lp function and variable from "maxmux" to "max_mux"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "cli_minprotocol" to "client_min_protocol"
Garming Sam [Tue, 4 Feb 2014 02:09:08 +0000 (15:09 +1300)]
param: rename lp function and variable from "cli_minprotocol" to "client_min_protocol"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "cli_maxprotocol" to "client_max_protocol"
Garming Sam [Tue, 4 Feb 2014 02:09:08 +0000 (15:09 +1300)]
param: rename lp function and variable from "cli_maxprotocol" to "client_max_protocol"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "ms_add_printer_wizard" to "show_add_prin...
Garming Sam [Tue, 4 Feb 2014 02:09:08 +0000 (15:09 +1300)]
param: rename lp function and variable from "ms_add_printer_wizard" to "show_add_printer_wizard"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agoparam: rename lp function and variable from "queueresumecommand" to "queueresume_command"
Garming Sam [Tue, 4 Feb 2014 02:09:08 +0000 (15:09 +1300)]
param: rename lp function and variable from "queueresumecommand" to "queueresume_command"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>