1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

71678 Commits

Author SHA1 Message Date
Stefan Metzmacher
eaa7ecdda7 pidl/NDR: add ContainsPipe() function
metze
2011-03-10 14:31:16 +01:00
Stefan Metzmacher
7d451838b9 librpc/tools/ndrdump: add support for dcerpc 'pipe' elements in functions
metze
2011-03-10 14:31:15 +01:00
Stefan Metzmacher
2a47ed8106 librpc/ndr: add ndr_push_pipe_chunk_trailer() and ndr_check_pipe_chunk_trailer()
metze
2011-03-10 14:31:15 +01:00
Stefan Metzmacher
eceea8641e librpc/ndr: add ndr_interface_call_pipe
metze
2011-03-10 14:31:14 +01:00
Stefan Metzmacher
6e4e3f57e4 pidl/Typelist: add is_fixed_size_scalar()
metze
2011-03-10 14:31:14 +01:00
Stefan Metzmacher
6ef40f3199 pidl/Typelist: dnsp_name and dnsp_string are scalar references
metze
2011-03-10 14:31:13 +01:00
Matthias Dieter Wallnöfer
22fcb8e494 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
2011-03-10 11:58:27 +01:00
Matthias Dieter Wallnöfer
f5ce61ea57 lib/util/fault.c - "call_backtrace" - no need to have "backtrace_size" as size_t
The function "backtrace" returns an "int".
2011-03-10 11:12:05 +01:00
Matthias Dieter Wallnöfer
e00893d839 s4:extended_dn_store LDB module - use the new request as generic memory contexts
To prevent memory leaks under valgrind.
2011-03-10 11:12:05 +01:00
Matthias Dieter Wallnöfer
0cec6107d8 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.
2011-03-10 11:12:05 +01:00
Matthias Dieter Wallnöfer
68fbfa2237 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.
2011-03-10 11:12:05 +01:00
Matthias Dieter Wallnöfer
78b46c533a s4:partition LDB module - extended operations - make the initialisation check consistent
To the other operations.
2011-03-10 11:12:05 +01:00
Matthias Dieter Wallnöfer
e52c900b63 s4:partition LDB module - move the "data" check a bit higher
It can be performed a bit earlier.
2011-03-10 11:12:05 +01:00
Matthias Dieter Wallnöfer
4e6b8e0a18 s4:partition LDB module - "partition_replicate" doesn't handle the search requests
That is done by "partition_search".
2011-03-10 11:12:05 +01:00
Matthias Dieter Wallnöfer
210cab9bf0 s4:partition LDB module - "partition_sequence_number" - remove meaningless "if"s
These current partition controls are always added for the two EXOP operations.
2011-03-10 11:12:05 +01:00
Matthias Dieter Wallnöfer
96600e5df1 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
2011-03-10 11:12:05 +01:00
Matthias Dieter Wallnöfer
e669295a37 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.
2011-03-10 11:12:05 +01:00
Matthias Dieter Wallnöfer
e754f0c5c6 s4:repl_meta_data LDB module - remove the current partition control unless it was requested 2011-03-10 11:12:05 +01:00
Matthias Dieter Wallnöfer
42da193c37 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.
2011-03-10 11:12:05 +01:00
Matthias Dieter Wallnöfer
83517d2e59 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.
2011-03-10 11:12:04 +01:00
Matthias Dieter Wallnöfer
8ce131431c s4:instancetype LDB module - don't impede control requests 2011-03-10 11:12:04 +01:00
Matthias Dieter Wallnöfer
f68d54269c s4:instancetype LDB module - use "ldb" pointer for referencing the LDB context 2011-03-10 11:12:04 +01:00
Matthias Dieter Wallnöfer
8872a62266 s4:partition LDB module - fill in parent requests for inheriting the flags
Probably it doesn't matter in this cases but just for consistency.
2011-03-10 11:12:04 +01:00
Matthias Dieter Wallnöfer
b7ecc33ef9 ldb:ldb_controls.c - "ldb_save_controls" - allow that "saver" can also be NULL
Suggested by Tridge
2011-03-10 11:12:04 +01:00
Matthias Dieter Wallnöfer
78c9eb1a06 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).
2011-03-10 11:12:04 +01:00
Matthias Dieter Wallnöfer
851396a627 s4:partition LDB module - add some comments 2011-03-10 11:12:04 +01:00
Matthias Dieter Wallnöfer
79c65cc99b s4:new_partition LDB module - fix comments 2011-03-10 11:12:04 +01:00
Matthias Dieter Wallnöfer
d2acd72994 s4:partition_init LDB module - fix a typo 2011-03-10 11:12:04 +01:00
Matthias Dieter Wallnöfer
82067b1a61 s4:partition LDB module - fix typo 2011-03-10 11:12:04 +01:00
Matthias Dieter Wallnöfer
7aa0219be8 s4:setup/provision - fix an output message
Mention that Windows 2000 function level is supported as well.
2011-03-10 11:12:04 +01:00
Volker Lendecke
cdb9e4b8fe 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
2011-03-10 11:10:30 +01:00
Volker Lendecke
c22151ea3a libwbclient: Remove a pointless check 2011-03-10 10:25:19 +01:00
Stefan Metzmacher
494d497b99 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
tevent-0.9.11
2011-03-10 10:24:49 +01:00
Stefan Metzmacher
b7d5ddfa61 tevent/poll: use fde->additional_flags to hold the array index
metze
2011-03-10 09:37:02 +01:00
Stefan Metzmacher
20284f2a84 tevent: change tevent_fd->additional_flags to uint64_t
metze
2011-03-10 09:37:02 +01:00
Stefan Metzmacher
494aed59a5 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
2011-03-09 14:36:42 +01:00
Günther Deschner
12f2170a2b 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
2011-03-09 13:13:06 +01:00
Günther Deschner
286530b3fe s3-selftest: no point in testing smb2 via ncacn_ip_tcp.
Guenther
2011-03-09 12:27:26 +01:00
Günther Deschner
05b447b26f s3-selftest: remove *ncacn_ip_tcp* from knownfail list.
Guenther
2011-03-09 12:27:26 +01:00
Stefan Metzmacher
a29999392a socket_wrapper: fix handling of addr and addrlen
metze
2011-03-09 12:27:25 +01:00
Günther Deschner
f0d59bb3cf s3-rpc_server: handle DCERPC_AUTH_LEVEL_CONNECT in api_pipe_bind_req().
Guenther
2011-03-09 12:27:25 +01:00
Stefan Metzmacher
5a59dcc26c 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
2011-03-09 12:06:53 +01:00
Volker Lendecke
dec9d03e25 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
2011-03-09 11:19:35 +01:00
Andreas Schneider
fb3e4d2be5 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
2011-03-09 10:32:32 +01:00
Andreas Schneider
8df4f4fd41 s3-rpc_server: Use the new endpoint register functions. 2011-03-09 09:28:42 +01:00
Andreas Schneider
71f613e9d5 s3-rpc_server: Add tevent based endpoint setup functions. 2011-03-09 09:28:42 +01:00
Andreas Schneider
133ed1cc64 s3-rpc_server: Change irritating debug message. 2011-03-09 09:28:42 +01:00
Andreas Schneider
038042363a s3-rpc_client: Don't ask endpoint mapper for its own port. 2011-03-09 09:28:42 +01:00
Andreas Schneider
b181cd8465 s3-smbd: Increase debug level von context messages. 2011-03-09 09:28:42 +01:00
Andreas Schneider
d4867ef838 tevent: Fixed tevent_wakeup_send code example. 2011-03-09 09:28:27 +01:00