summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4:librpc/rpc: remove unused dcerpc_ndr_request* codeStefan Metzmacher2011-03-132-204/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 13 11:19:59 CET 2011 on sn-devel-104
* s4:torture/rpc/object_uuid: use dcerpc_binding_handle_call() instead of ↵Stefan Metzmacher2011-03-131-2/+4
| | | | | | dcerpc_ndr_request() metze
* s4:rpc_server/remote: use dcerpc_binding_handle_call_*() instead of ↵Stefan Metzmacher2011-03-131-10/+14
| | | | | | dcerpc_ndr_request_*() metze
* librpc/rpc: move dcerpc_binding_handle stuff to rpc_common.hStefan Metzmacher2011-03-112-122/+5
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Mar 11 12:28:08 CET 2011 on sn-devel-104
* s4:librpc/rpc: s/struct dcerpc_connection/struct dcecli_connection/gStefan Metzmacher2011-03-116-98/+98
| | | | | | | The name 'struct dcerpc_connection' will be used in the new generic dcerpc code. It will be used for client and server. metze
* waf-selftest: allow to call "make test SUBUNIT_FORMATTER=cat".Günther Deschner2011-03-101-1/+3
| | | | Guenther
* s4:lib/tls/wscript - exclude known broken GNUTLS releasesMatthias Dieter Wallnöfer2011-03-101-2/+2
| | | | | | | 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
* s4:extended_dn_store LDB module - use the new request as generic memory contextsMatthias Dieter Wallnöfer2011-03-101-2/+2
| | | | To prevent memory leaks under valgrind.
* s4:repl_meta_data LDB module - always ask manually for the current partition ↵Matthias Dieter Wallnöfer2011-03-101-0/+46
| | | | | | control Otherwise the "partition" LDB module doesn't give it back anymore.
* s4:partition LDB module - the current partition control should only be added ↵Matthias Dieter Wallnöfer2011-03-101-6/+18
| | | | | | | 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.
* s4:partition LDB module - extended operations - make the initialisation ↵Matthias Dieter Wallnöfer2011-03-101-2/+4
| | | | | | check consistent To the other operations.
* s4:partition LDB module - move the "data" check a bit higherMatthias Dieter Wallnöfer2011-03-101-4/+5
| | | | It can be performed a bit earlier.
* s4:partition LDB module - "partition_replicate" doesn't handle the search ↵Matthias Dieter Wallnöfer2011-03-101-1/+1
| | | | | | requests That is done by "partition_search".
* s4:partition LDB module - "partition_sequence_number" - remove meaningless "if"sMatthias Dieter Wallnöfer2011-03-101-16/+12
| | | | These current partition controls are always added for the two EXOP operations.
* s4:simple_ldap_map LDB module - enhance current partition control checksMatthias Dieter Wallnöfer2011-03-101-3/+7
| | | | | | | 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
* s4:repl_meta_data LDB module - don't remove the partition control twiceMatthias Dieter Wallnöfer2011-03-101-2/+1
| | | | | "controls" is already the controls list which has the partition control removed. It is generated by "ldb_controls_except_specified" in line 378.
* s4:repl_meta_data LDB module - remove the current partition control unless ↵Matthias Dieter Wallnöfer2011-03-101-2/+10
| | | | it was requested
* s4:new_partition LDB module - splitting up an "if" operationMatthias Dieter Wallnöfer2011-03-101-3/+3
| | | | | | | | - 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.
* s4:instancetype LDB module - perform here only the "instanceType" constraint ↵Matthias Dieter Wallnöfer2011-03-101-78/+16
| | | | | | | | 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.
* s4:instancetype LDB module - don't impede control requestsMatthias Dieter Wallnöfer2011-03-101-0/+7
|
* s4:instancetype LDB module - use "ldb" pointer for referencing the LDB contextMatthias Dieter Wallnöfer2011-03-101-1/+1
|
* s4:partition LDB module - fill in parent requests for inheriting the flagsMatthias Dieter Wallnöfer2011-03-101-3/+3
| | | | Probably it doesn't matter in this cases but just for consistency.
* ldb:ldb_controls.c - "ldb_save_controls" - allow that "saver" can also be NULLMatthias Dieter Wallnöfer2011-03-101-8/+12
| | | | Suggested by Tridge
* ldb:ldb_controls.c - always allocate enough spaceMatthias Dieter Wallnöfer2011-03-101-13/+27
| | | | | | | | 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).
* s4:partition LDB module - add some commentsMatthias Dieter Wallnöfer2011-03-101-1/+4
|
* s4:new_partition LDB module - fix commentsMatthias Dieter Wallnöfer2011-03-101-3/+3
|
* s4:partition_init LDB module - fix a typoMatthias Dieter Wallnöfer2011-03-101-1/+1
|
* s4:partition LDB module - fix typoMatthias Dieter Wallnöfer2011-03-101-1/+1
|
* s4:setup/provision - fix an output messageMatthias Dieter Wallnöfer2011-03-101-1/+1
| | | | Mention that Windows 2000 function level is supported as well.
* s4:lib/socket: use sockaddr_in6 in ipv6_tcp_accept()Stefan Metzmacher2011-03-091-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 9 14:36:42 CET 2011 on sn-devel-104
* s4:samba-tool: improve help messages for samba-tool passwordStefan Metzmacher2011-03-091-4/+7
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 9 12:06:53 CET 2011 on sn-devel-104
* s4:operational LDB module - fix attribute names to be right up/down-casedMatthias Dieter Wallnöfer2011-03-042-10/+10
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Mar 4 23:56:07 CET 2011 on sn-devel-104
* s4:ldap.py - rootdse tests should search for the rootDSE not the default DNMatthias Dieter Wallnöfer2011-03-041-1/+1
| | | | Reviewed by: Tridge
* s4:ldap.py - add a test in order to show the operational module fixedMatthias Dieter Wallnöfer2011-03-041-0/+14
| | | | Reviewed by: Tridge
* s4:operational LDB module - fix display of some constructed attributesMatthias Dieter Wallnöfer2011-03-041-2/+2
| | | | | | | "structuralObjectClass", "createTimestamp" and "modifyTimestamp" weren't displayed anymore. Reviewed by: Tridge
* s4:operational LDB module - add "groupToken" as unsigned int (uint32_t)Matthias Dieter Wallnöfer2011-03-041-1/+1
| | | | Reviewed by: Tridge
* s4:operational LDB module - readd "structuralObjectClass" -> "objectClass" ↵Matthias Dieter Wallnöfer2011-03-041-1/+1
| | | | | | | | | mapping This has been removed accidentally by commit a093e10896a4768dba0cd793a04b7d5d1366fee2. Reviewed by: Tridge
* ldb:ldb_msg.c - use LDB result constants for checking return valuesMatthias Dieter Wallnöfer2011-03-041-2/+5
| | | | | | | Reviewed by: Tridge Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Mar 4 22:51:57 CET 2011 on sn-devel-104
* s4:ldap.py - other important RDN check testcasesMatthias Dieter Wallnöfer2011-03-041-0/+67
| | | | Reviewed by: Tridge
* s4:ldap.py - remove a debug outputMatthias Dieter Wallnöfer2011-03-041-1/+0
| | | | | | | This has only been needed for developing this testcase and has been forgotten to be removed afterwards. Reviewed by: Tridge
* ldb:rdn_name LDB module - more RDN constraint checks (from AD)Matthias Dieter Wallnöfer2011-03-041-1/+40
| | | | Reviewed by: Tridge
* s4/ldb - remove now superflous "ldb_dn_validate" checksMatthias Dieter Wallnöfer2011-03-049-18/+14
| | | | | | | If we immediately afterwards perform an LDB base operation then we don't need an explicit "ldb_dn_validate" check anymore (only OOM makes sense). Reviewed by: Tridge
* s4:dsdb - we don't need to check if a DN != NULL if we call "ldb_dn_validate"Matthias Dieter Wallnöfer2011-03-043-7/+4
| | | | | | "ldb_dn_validate" is NULL-safe and does the check implicitly. Reviewed by: Tridge
* Revert "s4:objectclass LDB module - if we cannot find DN's parent then the ↵Matthias Dieter Wallnöfer2011-03-041-3/+1
| | | | | | | | | | DN itself is invalid" This is not needed anymore with the new DN checking. This reverts commit 5896b7299331aedd065397d2078c62d85bcf68f6. Reviewed by: Tridge
* ldb:ldb_request - handle here the DN checksMatthias Dieter Wallnöfer2011-03-041-1/+22
| | | | | | | | | This is a much better solution than we had before - so all important DN checks are enforced for each type of LDB database (and not limited to DSDB). Many "ldb_dn_validate" checks will now become obsolete. Reviewed by: Tridge
* s4:objectclass LDB module - fix a commentMatthias Dieter Wallnöfer2011-03-041-1/+1
| | | | Reviewed by: Tridge
* s4:libnet/libnet_site.c - make use of LDB return constantsMatthias Dieter Wallnöfer2011-03-041-6/+6
| | | | Reviewed by: Tridge
* s4:waf-build fix disable-shared build for smbtortureChristian Ambach2011-03-041-1/+1
| | | | | | | | building smbtorture4 with configure --disable-shared failed with an error that ldb.h could not be found Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Reviewed by: Tridge
* s4:selftest: test using the machine account of the rodc against itselfStefan Metzmacher2011-03-041-0/+1
| | | | | | | | | This should test the non proxy rodc kdc path. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Mar 4 22:06:10 CET 2011 on sn-devel-104
* s4:kdc: split the kdc_tcp_proxy() logic from the main kdc logicStefan Metzmacher2011-03-043-252/+303
| | | | | | | | | | | By having kdc_tcp_proxy_send/recv(), which just asks any writeable dc for a reponse blob, we simplify the interaction between client-local and local-writeable sockets. This allows us to make kdc_socket, kdc_process_fn_t, kdc_tcp_call and kdc_tcp_socket private to kdc.c again. metze