Stefan Metzmacher [Mon, 11 Oct 2010 06:03:18 +0000 (08:03 +0200)]
pidl:NDR/Client: skip sync functions if pipe elements are used
metze
Stefan Metzmacher [Mon, 11 Oct 2010 05:54:59 +0000 (07:54 +0200)]
pidl:Python: don't generate functions with pipe elements
metze
Stefan Metzmacher [Mon, 11 Oct 2010 05:53:48 +0000 (07:53 +0200)]
pidl:Samba3/ClientNDR: don't generate stubs for functions with pipe elements
metze
Stefan Metzmacher [Tue, 21 Sep 2010 00:20:14 +0000 (02:20 +0200)]
pidl/NDR: add ContainsPipe() function
metze
Stefan Metzmacher [Tue, 21 Sep 2010 06:34:31 +0000 (08:34 +0200)]
librpc/tools/ndrdump: add support for dcerpc 'pipe' elements in functions
metze
Stefan Metzmacher [Tue, 21 Sep 2010 03:18:02 +0000 (05:18 +0200)]
librpc/ndr: add ndr_push_pipe_chunk_trailer() and ndr_check_pipe_chunk_trailer()
metze
Stefan Metzmacher [Sun, 19 Sep 2010 11:56:13 +0000 (13:56 +0200)]
librpc/ndr: add ndr_interface_call_pipe
metze
Stefan Metzmacher [Tue, 8 Mar 2011 14:45:33 +0000 (15:45 +0100)]
pidl/Typelist: add is_fixed_size_scalar()
metze
Stefan Metzmacher [Tue, 8 Mar 2011 14:44:31 +0000 (15:44 +0100)]
pidl/Typelist: dnsp_name and dnsp_string are scalar references
metze
Matthias Dieter Wallnöfer [Wed, 9 Mar 2011 08:29:30 +0000 (09:29 +0100)]
s4:lib/tls/wscript - exclude known broken GNUTLS releases
This definitely fixes bug #7218.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Mar 10 11:58:27 CET 2011 on sn-devel-104
Matthias Dieter Wallnöfer [Wed, 9 Mar 2011 08:09:15 +0000 (09:09 +0100)]
lib/util/fault.c - "call_backtrace" - no need to have "backtrace_size" as size_t
The function "backtrace" returns an "int".
Matthias Dieter Wallnöfer [Sun, 6 Mar 2011 20:46:02 +0000 (21:46 +0100)]
s4:extended_dn_store LDB module - use the new request as generic memory contexts
To prevent memory leaks under valgrind.
Matthias Dieter Wallnöfer [Sat, 5 Mar 2011 13:42:40 +0000 (14:42 +0100)]
s4:repl_meta_data LDB module - always ask manually for the current partition control
Otherwise the "partition" LDB module doesn't give it back anymore.
Matthias Dieter Wallnöfer [Sat, 5 Mar 2011 13:25:59 +0000 (14:25 +0100)]
s4:partition LDB module - the current partition control should only be added if requested
That means if the informations before a request are unknown
("repl_meta_data" LDB module) then an empty control (no data) has to be sent.
Matthias Dieter Wallnöfer [Sun, 6 Mar 2011 14:56:48 +0000 (15:56 +0100)]
s4:partition LDB module - extended operations - make the initialisation check consistent
To the other operations.
Matthias Dieter Wallnöfer [Sun, 6 Mar 2011 14:56:06 +0000 (15:56 +0100)]
s4:partition LDB module - move the "data" check a bit higher
It can be performed a bit earlier.
Matthias Dieter Wallnöfer [Sun, 6 Mar 2011 14:37:51 +0000 (15:37 +0100)]
s4:partition LDB module - "partition_replicate" doesn't handle the search requests
That is done by "partition_search".
Matthias Dieter Wallnöfer [Sat, 5 Mar 2011 18:02:43 +0000 (19:02 +0100)]
s4:partition LDB module - "partition_sequence_number" - remove meaningless "if"s
These current partition controls are always added for the two EXOP operations.
Matthias Dieter Wallnöfer [Sat, 5 Mar 2011 13:52:18 +0000 (14:52 +0100)]
s4:simple_ldap_map LDB module - enhance current partition control checks
Don't stop the server if it hasn't been filled in correctly. An LDB
error should be enough.
Modified by request of tridge: errorcodes changed to ERR_PROTOCOL_ERROR
Matthias Dieter Wallnöfer [Sat, 5 Mar 2011 12:56:10 +0000 (13:56 +0100)]
s4:repl_meta_data LDB module - don't remove the partition control twice
"controls" is already the controls list which has the partition control
removed. It is generated by "ldb_controls_except_specified" in line 378.
Matthias Dieter Wallnöfer [Sat, 5 Mar 2011 19:38:14 +0000 (20:38 +0100)]
s4:repl_meta_data LDB module - remove the current partition control unless it was requested
Matthias Dieter Wallnöfer [Sat, 5 Mar 2011 16:15:55 +0000 (17:15 +0100)]
s4:new_partition LDB module - splitting up an "if" operation
- let the first "if" in place
- uninstantiated partitions are handled by the second "if" (previously
they have been handled twice)
Has been corrected by request of tridge.
Matthias Dieter Wallnöfer [Sat, 5 Mar 2011 16:24:10 +0000 (17:24 +0100)]
s4:instancetype LDB module - perform here only the "instanceType" constraint checks
The boilerplate entries (when this support has been implemented) should
be provided by the "new_partition" LDB module. These are for example the
deleted object and lost and found container.
Matthias Dieter Wallnöfer [Sat, 5 Mar 2011 16:28:13 +0000 (17:28 +0100)]
s4:instancetype LDB module - don't impede control requests
Matthias Dieter Wallnöfer [Sat, 5 Mar 2011 15:59:02 +0000 (16:59 +0100)]
s4:instancetype LDB module - use "ldb" pointer for referencing the LDB context
Matthias Dieter Wallnöfer [Sat, 5 Mar 2011 17:45:08 +0000 (18:45 +0100)]
s4:partition LDB module - fill in parent requests for inheriting the flags
Probably it doesn't matter in this cases but just for consistency.
Matthias Dieter Wallnöfer [Thu, 10 Mar 2011 08:28:30 +0000 (09:28 +0100)]
ldb:ldb_controls.c - "ldb_save_controls" - allow that "saver" can also be NULL
Suggested by Tridge
Matthias Dieter Wallnöfer [Sun, 6 Mar 2011 19:16:43 +0000 (20:16 +0100)]
ldb:ldb_controls.c - always allocate enough space
The size for an additional "struct ldb_control" shouldn't hurt and so
the excluded control can also be NULL.
Added an ending "talloc_realloc" to resize the chunk to the
effective needed size (requested by tridge).
Matthias Dieter Wallnöfer [Sun, 6 Mar 2011 14:55:45 +0000 (15:55 +0100)]
s4:partition LDB module - add some comments
Matthias Dieter Wallnöfer [Sat, 5 Mar 2011 16:15:19 +0000 (17:15 +0100)]
s4:new_partition LDB module - fix comments
Matthias Dieter Wallnöfer [Sun, 6 Mar 2011 14:51:12 +0000 (15:51 +0100)]
s4:partition_init LDB module - fix a typo
Matthias Dieter Wallnöfer [Sat, 5 Mar 2011 13:15:38 +0000 (14:15 +0100)]
s4:partition LDB module - fix typo
Matthias Dieter Wallnöfer [Sun, 6 Mar 2011 16:46:08 +0000 (17:46 +0100)]
s4:setup/provision - fix an output message
Mention that Windows 2000 function level is supported as well.
Volker Lendecke [Wed, 9 Mar 2011 09:58:47 +0000 (10:58 +0100)]
libwbclient: Add some input check
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Mar 10 11:10:30 CET 2011 on sn-devel-104
Volker Lendecke [Tue, 8 Mar 2011 17:24:08 +0000 (18:24 +0100)]
libwbclient: Remove a pointless check
Stefan Metzmacher [Wed, 2 Mar 2011 14:24:40 +0000 (15:24 +0100)]
tevent: change version to 0.9.11
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Mar 10 10:24:49 CET 2011 on sn-devel-104
Stefan Metzmacher [Wed, 2 Mar 2011 14:22:09 +0000 (15:22 +0100)]
tevent/poll: use fde->additional_flags to hold the array index
metze
Stefan Metzmacher [Wed, 2 Mar 2011 14:20:46 +0000 (15:20 +0100)]
tevent: change tevent_fd->additional_flags to uint64_t
metze
Stefan Metzmacher [Wed, 9 Mar 2011 12:39:25 +0000 (13:39 +0100)]
s4:lib/socket: use sockaddr_in6 in ipv6_tcp_accept()
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Mar 9 14:36:42 CET 2011 on sn-devel-104
Günther Deschner [Wed, 9 Mar 2011 11:26:21 +0000 (12:26 +0100)]
s3-selftest: properly move connect to seal options.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Mar 9 13:13:06 CET 2011 on sn-devel-104
Günther Deschner [Wed, 9 Mar 2011 11:14:10 +0000 (12:14 +0100)]
s3-selftest: no point in testing smb2 via ncacn_ip_tcp.
Guenther
Günther Deschner [Wed, 9 Mar 2011 11:06:08 +0000 (12:06 +0100)]
s3-selftest: remove *ncacn_ip_tcp* from knownfail list.
Guenther
Stefan Metzmacher [Wed, 9 Mar 2011 10:46:34 +0000 (11:46 +0100)]
socket_wrapper: fix handling of addr and addrlen
metze
Günther Deschner [Tue, 8 Mar 2011 17:26:56 +0000 (18:26 +0100)]
s3-rpc_server: handle DCERPC_AUTH_LEVEL_CONNECT in api_pipe_bind_req().
Guenther
Stefan Metzmacher [Wed, 9 Mar 2011 09:29:20 +0000 (10:29 +0100)]
s4:samba-tool: improve help messages for samba-tool password
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Mar 9 12:06:53 CET 2011 on sn-devel-104
Volker Lendecke [Wed, 9 Mar 2011 09:16:30 +0000 (10:16 +0100)]
libsmbclient: Fix a typo
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Mar 9 11:19:36 CET 2011 on sn-devel-104
Andreas Schneider [Tue, 8 Mar 2011 17:25:04 +0000 (18:25 +0100)]
s3-rpc_server: Remove unused _rpc_ep_register.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Mar 9 10:32:32 CET 2011 on sn-devel-104
Andreas Schneider [Tue, 8 Mar 2011 17:00:19 +0000 (18:00 +0100)]
s3-rpc_server: Use the new endpoint register functions.
Andreas Schneider [Tue, 8 Mar 2011 15:02:16 +0000 (16:02 +0100)]
s3-rpc_server: Add tevent based endpoint setup functions.
Andreas Schneider [Tue, 8 Mar 2011 15:10:07 +0000 (16:10 +0100)]
s3-rpc_server: Change irritating debug message.
Andreas Schneider [Tue, 8 Mar 2011 15:33:50 +0000 (16:33 +0100)]
s3-rpc_client: Don't ask endpoint mapper for its own port.
Andreas Schneider [Tue, 8 Mar 2011 16:47:36 +0000 (17:47 +0100)]
s3-smbd: Increase debug level von context messages.
Andreas Schneider [Tue, 8 Mar 2011 16:04:44 +0000 (17:04 +0100)]
tevent: Fixed tevent_wakeup_send code example.
Andrew Bartlett [Wed, 2 Mar 2011 08:06:15 +0000 (19:06 +1100)]
librpc/ndr use hyper for uid_t/gid_t rather than udlong
This has 8 byte alignment, which is what was specified in pidl for
these types.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Mar 9 09:03:09 CET 2011 on sn-devel-104
Volker Lendecke [Tue, 8 Mar 2011 19:59:59 +0000 (20:59 +0100)]
s3: Use talloc_tos() in idmap_nss_sids_to_unixids
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Mar 8 21:51:58 CET 2011 on sn-devel-104
Volker Lendecke [Tue, 8 Mar 2011 19:39:40 +0000 (20:39 +0100)]
s3: "dom_name" is not needed in idmap_nss_sids_to_unixids
Volker Lendecke [Tue, 8 Mar 2011 19:37:30 +0000 (20:37 +0100)]
s3: "ctx" is not needed in idmap_nss_unixids_to_sids
Günther Deschner [Tue, 8 Mar 2011 13:00:35 +0000 (14:00 +0100)]
s3-selftest: only run smbtorture4 tests when smbtorture4 is available.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar 8 14:51:18 CET 2011 on sn-devel-104
Günther Deschner [Sat, 5 Mar 2011 00:28:02 +0000 (01:28 +0100)]
s3-selftest: add pattern test of dcerpc binding options (using rpc.lsa.lookupsids).
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar 8 12:29:21 CET 2011 on sn-devel-104
Günther Deschner [Sat, 5 Mar 2011 00:26:55 +0000 (01:26 +0100)]
s3-waf: fix the build.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Günther Deschner [Sat, 5 Mar 2011 00:26:13 +0000 (01:26 +0100)]
s3-epmd: remove some unused variables.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Günther Deschner [Sat, 5 Mar 2011 00:25:28 +0000 (01:25 +0100)]
s3-epmap: fix uninitialized variable in ep_register()
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Günther Deschner [Fri, 4 Mar 2011 15:05:35 +0000 (16:05 +0100)]
s3-selftest: no need to run rpc.samba3.netlogon twice.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Mon, 7 Mar 2011 16:26:42 +0000 (17:26 +0100)]
s3-rpc_server: Added IPv6 support for epmapper.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Mon, 7 Mar 2011 12:12:47 +0000 (13:12 +0100)]
s3-rpc_server: Free unused memory.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Thu, 3 Mar 2011 14:31:04 +0000 (15:31 +0100)]
s3-winbind: Fixed the accept() for new_connection.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Thu, 3 Mar 2011 14:07:16 +0000 (15:07 +0100)]
s3-rpc_server: Fixed the accept() for ncalrpc_listener.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Thu, 3 Mar 2011 14:07:02 +0000 (15:07 +0100)]
s3-rpc_server: Fixed the accept() for tcpip_listener.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Thu, 3 Mar 2011 14:06:45 +0000 (15:06 +0100)]
s3-rpc_server: Fixed the accept() for named_pipe_listener.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Wed, 2 Mar 2011 14:28:25 +0000 (15:28 +0100)]
s3-librpc: Register NCALRPC pipes.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Wed, 2 Mar 2011 14:07:27 +0000 (15:07 +0100)]
s3-rpc_server: Create the ncalrpc endpoints.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Wed, 2 Mar 2011 09:56:46 +0000 (10:56 +0100)]
s3-rpc_server: Add server support for NCALRPC system user pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Tue, 1 Mar 2011 18:10:02 +0000 (19:10 +0100)]
s3-rpc_server: Improved the dcerpc_ncacn_accept switch.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Fri, 25 Feb 2011 12:50:37 +0000 (13:50 +0100)]
s3-rpc_server: Remove unneeded ncacn wrappers.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Fri, 25 Feb 2011 13:26:29 +0000 (14:26 +0100)]
s3-rpc_server: Fixed ncalrpc connection accept.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Fri, 25 Feb 2011 11:06:19 +0000 (12:06 +0100)]
s3-rpc_server: Only allow epm insert and delete on NCALRPC.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Thu, 3 Mar 2011 13:20:26 +0000 (14:20 +0100)]
s3-rpc_server: Introduce transport in pipe_struct.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Thu, 24 Feb 2011 11:06:54 +0000 (12:06 +0100)]
s3-rpc_server: Start the Endpoint Mapper Dameon if enabled.
Endpoint Mapper is still disabled by default!
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Thu, 24 Feb 2011 09:24:16 +0000 (10:24 +0100)]
s3-rpc_server: Created an Endpoint Mapper Daemon.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Wed, 23 Feb 2011 14:39:33 +0000 (15:39 +0100)]
s3-librpc: Register endpoints using ncalrpc.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Wed, 2 Mar 2011 14:27:12 +0000 (15:27 +0100)]
selftest: Added ncalrpc dir to config.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Tue, 1 Mar 2011 10:49:20 +0000 (11:49 +0100)]
s3-rpc_client: Added DCERPC_AUTH_TYPE_NCALRPC bind.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Wed, 23 Feb 2011 14:38:14 +0000 (15:38 +0100)]
s3-rpc_server: Added prototype to setup a ncalrpc socket.
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Wed, 23 Feb 2011 01:40:54 +0000 (20:40 -0500)]
s3-epmap: add ncalrpc listener code
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Wed, 23 Feb 2011 01:40:24 +0000 (20:40 -0500)]
sr-epmap: Minor cleanups and fixes
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Tue, 22 Feb 2011 15:48:43 +0000 (16:48 +0100)]
s3-epmap: Return the correct ip address.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Tue, 22 Feb 2011 15:48:15 +0000 (16:48 +0100)]
s3-rpc_server: Added server address to pipes struct.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Tue, 22 Feb 2011 14:14:34 +0000 (15:14 +0100)]
s3-rpc_server: Set client and server connection info.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Tue, 22 Feb 2011 12:06:54 +0000 (13:06 +0100)]
s3-rpc_server: Added tcpip listener for each rpc service.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Tue, 22 Feb 2011 11:15:09 +0000 (12:15 +0100)]
s3-librpc: Free memory we don't need.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Tue, 22 Feb 2011 10:53:35 +0000 (11:53 +0100)]
s3-librpc: Added tcpip support for dcerpc_binding_vector_create.
Signed-off-by: Günther Deschner <gd@samba.org>
Günther Deschner [Mon, 7 Mar 2011 23:15:25 +0000 (00:15 +0100)]
s3-idmap: fix the build of idmap_tdb2.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar 8 10:51:04 CET 2011 on sn-devel-104
Volker Lendecke [Mon, 7 Mar 2011 19:04:48 +0000 (20:04 +0100)]
s3: state->ev is not needed in winbindd_lookupsid
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Mar 7 20:52:53 CET 2011 on sn-devel-104
Jeremy Allison [Mon, 7 Mar 2011 12:46:20 +0000 (04:46 -0800)]
Fix the examples/VFS build.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Mar 7 15:11:25 CET 2011 on sn-devel-104
Gregor Beck [Mon, 7 Mar 2011 08:57:10 +0000 (09:57 +0100)]
s3-docs: manpage for "net idmap delete"
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Mar 7 14:26:42 CET 2011 on sn-devel-104
Gregor Beck [Mon, 7 Mar 2011 08:56:48 +0000 (09:56 +0100)]
s3-docs: manpage for "smbcontrol xx idmap"
Jeremy Allison [Mon, 7 Mar 2011 11:53:11 +0000 (03:53 -0800)]
Fix examples/VFS to use correct prototypes for is_offline() and set_offline().
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Mar 7 13:39:17 CET 2011 on sn-devel-104
Volker Lendecke [Sun, 6 Mar 2011 11:02:05 +0000 (12:02 +0100)]
s3: Remove close_fn from idmap_methods
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Mar 6 13:37:13 CET 2011 on sn-devel-104
Volker Lendecke [Sun, 6 Mar 2011 11:16:00 +0000 (12:16 +0100)]
s3-idmap-hash: Make "hashed_domains" properly talloced
Volker Lendecke [Sun, 6 Mar 2011 10:53:49 +0000 (11:53 +0100)]
s3: Replace idmap_ad_close by a destructor