Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-10 | s4:repl_meta_data LDB module - always ask manually for the current partition ↵ | Matthias Dieter Wallnöfer | 1 | -0/+46 | |
control Otherwise the "partition" LDB module doesn't give it back anymore. | |||||
2011-03-10 | s4:partition LDB module - the current partition control should only be added ↵ | Matthias Dieter Wallnöfer | 1 | -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. | |||||
2011-03-10 | s4:partition LDB module - extended operations - make the initialisation ↵ | Matthias Dieter Wallnöfer | 1 | -2/+4 | |
check consistent To the other operations. | |||||
2011-03-10 | s4:partition LDB module - move the "data" check a bit higher | Matthias Dieter Wallnöfer | 1 | -4/+5 | |
It can be performed a bit earlier. | |||||
2011-03-10 | s4:partition LDB module - "partition_replicate" doesn't handle the search ↵ | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
requests That is done by "partition_search". | |||||
2011-03-10 | s4:partition LDB module - "partition_sequence_number" - remove meaningless "if"s | Matthias Dieter Wallnöfer | 1 | -16/+12 | |
These current partition controls are always added for the two EXOP operations. | |||||
2011-03-10 | s4:simple_ldap_map LDB module - enhance current partition control checks | Matthias Dieter Wallnöfer | 1 | -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 | |||||
2011-03-10 | s4:repl_meta_data LDB module - don't remove the partition control twice | Matthias Dieter Wallnöfer | 1 | -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. | |||||
2011-03-10 | s4:repl_meta_data LDB module - remove the current partition control unless ↵ | Matthias Dieter Wallnöfer | 1 | -2/+10 | |
it was requested | |||||
2011-03-10 | s4:new_partition LDB module - splitting up an "if" operation | Matthias Dieter Wallnöfer | 1 | -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. | |||||
2011-03-10 | s4:instancetype LDB module - perform here only the "instanceType" constraint ↵ | Matthias Dieter Wallnöfer | 1 | -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. | |||||
2011-03-10 | s4:instancetype LDB module - don't impede control requests | Matthias Dieter Wallnöfer | 1 | -0/+7 | |
2011-03-10 | s4:instancetype LDB module - use "ldb" pointer for referencing the LDB context | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2011-03-10 | s4:partition LDB module - fill in parent requests for inheriting the flags | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
Probably it doesn't matter in this cases but just for consistency. | |||||
2011-03-10 | ldb:ldb_controls.c - "ldb_save_controls" - allow that "saver" can also be NULL | Matthias Dieter Wallnöfer | 1 | -8/+12 | |
Suggested by Tridge | |||||
2011-03-10 | ldb:ldb_controls.c - always allocate enough space | Matthias Dieter Wallnöfer | 1 | -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). | |||||
2011-03-10 | s4:partition LDB module - add some comments | Matthias Dieter Wallnöfer | 1 | -1/+4 | |
2011-03-10 | s4:new_partition LDB module - fix comments | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
2011-03-10 | s4:partition_init LDB module - fix a typo | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2011-03-10 | s4:partition LDB module - fix typo | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2011-03-10 | s4:setup/provision - fix an output message | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Mention that Windows 2000 function level is supported as well. | |||||
2011-03-09 | s4:lib/socket: use sockaddr_in6 in ipv6_tcp_accept() | Stefan Metzmacher | 1 | -1/+1 | |
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 | s4:samba-tool: improve help messages for samba-tool password | Stefan Metzmacher | 1 | -4/+7 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 9 12:06:53 CET 2011 on sn-devel-104 | |||||
2011-03-04 | s4:operational LDB module - fix attribute names to be right up/down-cased | Matthias Dieter Wallnöfer | 2 | -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 | |||||
2011-03-04 | s4:ldap.py - rootdse tests should search for the rootDSE not the default DN | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Reviewed by: Tridge | |||||
2011-03-04 | s4:ldap.py - add a test in order to show the operational module fixed | Matthias Dieter Wallnöfer | 1 | -0/+14 | |
Reviewed by: Tridge | |||||
2011-03-04 | s4:operational LDB module - fix display of some constructed attributes | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
"structuralObjectClass", "createTimestamp" and "modifyTimestamp" weren't displayed anymore. Reviewed by: Tridge | |||||
2011-03-04 | s4:operational LDB module - add "groupToken" as unsigned int (uint32_t) | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Reviewed by: Tridge | |||||
2011-03-04 | s4:operational LDB module - readd "structuralObjectClass" -> "objectClass" ↵ | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
mapping This has been removed accidentally by commit a093e10896a4768dba0cd793a04b7d5d1366fee2. Reviewed by: Tridge | |||||
2011-03-04 | ldb:ldb_msg.c - use LDB result constants for checking return values | Matthias Dieter Wallnöfer | 1 | -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 | |||||
2011-03-04 | s4:ldap.py - other important RDN check testcases | Matthias Dieter Wallnöfer | 1 | -0/+67 | |
Reviewed by: Tridge | |||||
2011-03-04 | s4:ldap.py - remove a debug output | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
This has only been needed for developing this testcase and has been forgotten to be removed afterwards. Reviewed by: Tridge | |||||
2011-03-04 | ldb:rdn_name LDB module - more RDN constraint checks (from AD) | Matthias Dieter Wallnöfer | 1 | -1/+40 | |
Reviewed by: Tridge | |||||
2011-03-04 | s4/ldb - remove now superflous "ldb_dn_validate" checks | Matthias Dieter Wallnöfer | 9 | -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 | |||||
2011-03-04 | s4:dsdb - we don't need to check if a DN != NULL if we call "ldb_dn_validate" | Matthias Dieter Wallnöfer | 3 | -7/+4 | |
"ldb_dn_validate" is NULL-safe and does the check implicitly. Reviewed by: Tridge | |||||
2011-03-04 | Revert "s4:objectclass LDB module - if we cannot find DN's parent then the ↵ | Matthias Dieter Wallnöfer | 1 | -3/+1 | |
DN itself is invalid" This is not needed anymore with the new DN checking. This reverts commit 5896b7299331aedd065397d2078c62d85bcf68f6. Reviewed by: Tridge | |||||
2011-03-04 | ldb:ldb_request - handle here the DN checks | Matthias Dieter Wallnöfer | 1 | -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 | |||||
2011-03-04 | s4:objectclass LDB module - fix a comment | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Reviewed by: Tridge | |||||
2011-03-04 | s4:libnet/libnet_site.c - make use of LDB return constants | Matthias Dieter Wallnöfer | 1 | -6/+6 | |
Reviewed by: Tridge | |||||
2011-03-04 | s4:waf-build fix disable-shared build for smbtorture | Christian Ambach | 1 | -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 | |||||
2011-03-04 | s4:selftest: test using the machine account of the rodc against itself | Stefan Metzmacher | 1 | -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 | |||||
2011-03-04 | s4:kdc: split the kdc_tcp_proxy() logic from the main kdc logic | Stefan Metzmacher | 3 | -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 | |||||
2011-03-04 | s4:kdc: split the kdc_udp_proxy() logic from the main kdc logic | Stefan Metzmacher | 3 | -207/+231 | |
By having kdc_udp_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_udp_call and kdc_udp_socket private to kdc.c again. metze | |||||
2011-03-04 | s4:kdc: add a kdc_proxy_unavailable_error() helper function | Stefan Metzmacher | 1 | -0/+24 | |
metze | |||||
2011-03-04 | s4:kdc: fix calculation of the rodc kvno | Stefan Metzmacher | 1 | -4/+12 | |
Bit shifting is non-trivial in C:-) This int32_t a = 0x12340000; uint32_t b = (a >> 16); results in 0x00001234, but this int32_t a = 0xEDCB0000; uint32_t b = (a >> 16); results in 0xFFFFEDCB, while we expected 0x0000EDCB. metze | |||||
2011-03-04 | HEIMDAL:kdc: correctly propagate HDB_ERR_NOT_FOUND_HERE to via ↵ | Stefan Metzmacher | 1 | -0/+5 | |
tgs_parse_request() and _kdc_tgs_rep() metze | |||||
2011-03-04 | ldb:ldb tools - remove a superflous "return" (usage internally calls "exit") | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
Reviewed by: Tridge Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Mar 4 09:39:22 CET 2011 on sn-devel-104 | |||||
2011-03-04 | ldb:ldb tools - return LDB_ERR_INVALID_DN_SYNTAX on wrong DN parameters | Matthias Dieter Wallnöfer | 5 | -5/+9 | |
Not all LDB databases have further DN checks. Reviewed by: Tridge | |||||
2011-03-04 | ldb:ldb tools - ldbtest - convert other result values to LDB codes as well | Matthias Dieter Wallnöfer | 1 | -15/+15 | |
I've forgotten this in my first patchset. Reviewed by: Tridge | |||||
2011-03-04 | s4:LDAP server - remove validation checks of input DNs | Matthias Dieter Wallnöfer | 1 | -23/+8 | |
We should rather try to let the LDB modules perform these checks otherwise different backends behaviour differently. Reviewed by: Tridge |