Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-12 | s4:dsdb Add expected value tests for most DRS syntax conversions | Andrew Bartlett | 4 | -8/+159 | |
I've left out those for which I could not find an expected value in my default Windows 2003 server's database, and the values that rely on the current prefix map at the time. Andrew Bartlett | |||||
2009-11-12 | s4:Fix regression in dsdb_dn code - all parses of the DN would be rejected | Andrew Bartlett | 1 | -2/+6 | |
This is most likely the cause of the DRS replication failures I observed with my changes. Andrew Bartlett | |||||
2009-11-12 | s4:provision Add C binding to get at the generate schema | Andrew Bartlett | 3 | -0/+86 | |
This will allow us to do local tests against that schema | |||||
2009-11-12 | s4:provision Remove unused 'sambadn' parameter | Andrew Bartlett | 2 | -10/+4 | |
2009-11-12 | s4:dsdb/repl Split the 'convert' or 'commit' stages in the DRS import | Andrew Bartlett | 4 | -95/+125 | |
This will allow us in future to do tests on the LDB values we generate from the DRS replication. Andrew Bartlett | |||||
2009-11-12 | s4:dsdb/schema Simplify schema loading from ldb messages | Andrew Bartlett | 3 | -115/+83 | |
It turns out that we always add the class/attribute to the schema. | |||||
2009-11-12 | s4:vampire Print error message when we fail on the CLDAP ping | Andrew Bartlett | 1 | -2/+7 | |
Andrew Bartlett | |||||
2009-11-12 | s4:dsdb Cosmetic fixes found by metze in review of dsdb_dn changes | Andrew Bartlett | 3 | -30/+38 | |
These changes include reworking the code to call ldb_module_get_ctx() less often (avoid the function calls, particularly during the step into a complex function). Andrew Bartlett | |||||
2009-11-12 | s4:dsdb Ensure we allow 'odd' lengths for DN+String | Andrew Bartlett | 1 | -5/+5 | |
(Found in a code review by metze) Andrew Bartlett | |||||
2009-11-12 | s4:ldb Add Well Known GUID (WKGUID) tests to ldap.py | Andrew Bartlett | 1 | -0/+17 | |
2009-11-12 | s4:dsdb Add extensive tests for the behaviour of dsdb_dn | Andrew Bartlett | 3 | -2/+363 | |
2009-11-12 | s4:ldb Remove DN+Binary code from the core ldb_dn | Andrew Bartlett | 1 | -256/+6 | |
This is now in dsdb_dn. Removing this to a specific wrapper avoids a number of bugs where Binary DNs were being handled incorrectly. This reverts much of tridge's commit fd22e0304782e20b9bbb29464b6c745d409ff4c6 Andrew Bartlett | |||||
2009-11-12 | s4:dsdb Use new dsdb_dn code in LDB modules and Samba4 schema | Andrew Bartlett | 4 | -64/+99 | |
This converts the code from using the binary DN code in ldb_dn to using a special Samba-specfic wrapper around ldb_dn. We also use the dsdb_dn code for DN+Binary and DN+String comparisons (changed from treating them as Binary blobs) Andrew Bartlett | |||||
2009-11-12 | s4:ldb-samba Use new ldb_any_comparison helper function in ldb-samba | Andrew Bartlett | 1 | -41/+5 | |
2009-11-12 | s4:dsdb Add new dsdb_dn to handle DN+Binary and DN+String | Andrew Bartlett | 4 | -1/+343 | |
This aims to replace (and is based on) the code in ldb_dn.c. It is however much stricter in the DNs it will accept. Andrew Bartlett | |||||
2009-11-12 | s4:ldb Add a helper function for 'canonicalise' both strings base compares | Andrew Bartlett | 2 | -0/+33 | |
This will help simplify boilerplate comparison functions where we don't have a shortcut way to compare. Andrew Bartlett | |||||
2009-11-12 | lib/util Split data_blob_hex_string() into upper and lower | Andrew Bartlett | 5 | -10/+10 | |
Rather than have a repeat of the bugs we found at the plugfest where hexidecimal strings must be in upper or lower case in particular places, ensure that each caller chooses which case they want. This reverts most of the callers back to upper case, as things were before tridge's patch. The critical call in the extended DN code is of course handled in lower case. Andrew Bartlett | |||||
2009-11-11 | * install setup/display-specifiers files which are needed by provision script | TAKEDA Yasuma | 1 | -0/+2 | |
Signed-off-by: TAKEDA Yasuma <yasuma@osstech.co.jp> | |||||
2009-11-10 | s4:dcesrv_samr - Add more checks for invalid levels | Matthias Dieter Wallnöfer | 1 | -3/+27 | |
Add more checks on valid levels, mark unimplemented ones as "UNSUPPORTED" and otherwise as "INVALID_INFO_CLASS" to be safe. | |||||
2009-11-10 | Fixes for some tests not eorking against Windows or Samba. | Nadezhda Ivanova | 1 | -12/+8 | |
2009-11-10 | s4-smbtorture: strip trailing whitespace in RPC-SAMR. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2009-11-09 | s4-smbtorture: re-arrange netlogon LogonControl test. | Günther Deschner | 2 | -13/+65 | |
The LogonControl tests now are split out to a new RPC-NETLOGON-ADMIN test that tests the behaviour of that call when called by user, dc or workstation. Guenther | |||||
2009-11-09 | s4-samdb: remove the rDN size constraint of 64 | Andrew Tridgell | 2 | -4/+14 | |
This size constraint is not correct in it's current form, as windows does send us rDN values for CN with lengths longer than 64. Once we know how this constraint really works we can add it back in. | |||||
2009-11-09 | s4-hdb: go back to a separate samdb for the KDC | Andrew Tridgell | 1 | -1/+16 | |
The change to use a common system_session broke replication as the KDC forces CRED_DONT_USE_KERBEROS on session->credentials, which is shared with other parts of the system. This should be fixed once we confirm whether the ldap backend actually relies on CRED_DONT_USE_KERBEROS | |||||
2009-11-07 | s4:vfs_ipc - fix "ipc_open" for NTTRANS create requests | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2009-11-07 | torture/basic/denytest - makes the code more compatible for TRU64 (consider ↵ | Matthias Dieter Wallnöfer | 1 | -10/+14 | |
buildfarm) | |||||
2009-11-07 | s4:lib/messaging - fix up the python bindings | Matthias Dieter Wallnöfer | 2 | -7/+8 | |
This fixes up the broken "send" method of the python bindings and corrects some other parameter lists in parsing functions (this is only cosmetic). The reason for the bug was a superfluous "|"! | |||||
2009-11-07 | s4:dsdb/common/util - samdb_result_hashes - use "unsigned int" for counters | Matthias Dieter Wallnöfer | 1 | -2/+1 | |
2009-11-07 | ldb_init: use constant for result of "ldb_setup_wellknown_attributes" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-11-06 | s4:libnet_passwd - fix pointer type | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-11-06 | s4:dcerpc - fix DEBUG output warning | Matthias Dieter Wallnöfer | 1 | -3/+4 | |
2009-11-06 | s4:samdb_check_password - allow the password string to be NULL | Matthias Dieter Wallnöfer | 1 | -0/+1 | |
This deactivates the password complexity check, but not the minimum password length one, since the length is specified. This change is needed by my password module work. | |||||
2009-11-06 | s4:dcesrv_samr_ValidatePassword - naturally this was only for debugging the ↵ | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
failure | |||||
2009-11-06 | s4:dcesrv_samr_ValidatePassword - adapt call to "samdb_check_password" | Matthias Dieter Wallnöfer | 1 | -6/+3 | |
I've forgotten that PIDL converts UTF16 parameters automatically back to the UNIX charset (in most cases UTF16). So I don't have to do this here. | |||||
2009-11-06 | s4:samdb_validate_password - Adapt the function to use the UNIX charset for ↵ | Matthias Dieter Wallnöfer | 1 | -20/+7 | |
the password data blob | |||||
2009-11-06 | s4:torture/samr - Add status code on "ValidatePassword" test output | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2009-11-06 | s4:torture/samr - Activate "ValidatePassword" test per default | Matthias Dieter Wallnöfer | 1 | -5/+2 | |
2009-11-06 | s4:dcesrv_samr_ValidatePassword - I forgot to create an out buffer | Matthias Dieter Wallnöfer | 1 | -4/+6 | |
2009-11-06 | s4/drs: Refactor to be more SAMBA.Coding style compliant | Kamen Mazdrashki | 2 | -4/+3 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: Remove unused structures and functions | Kamen Mazdrashki | 2 | -93/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: remove unused num_prefixes and prefixes from dsdb_schema | Kamen Mazdrashki | 3 | -6/+4 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs(tort): _torture_drs_pfm_compare_same() should not fail tctx by itself | Kamen Mazdrashki | 1 | -19/+35 | |
The responsibility for failing torture_context sould be for the caller. This gives better control in for test case driver function. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs(tort): Test case for dsdb_create_prefix_mapping() implemented | Kamen Mazdrashki | 1 | -0/+88 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_create_prefix_mapping() refactored | Kamen Mazdrashki | 1 | -11/+9 | |
TODO: this function may be refactored further. Actually we don't need to look up for the OID supplied, but just call sdb_schema_pfm_make_attid() - it will search for the OID anyway and add it if necessary Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: prefixMap lookup by full_OID implementation | Kamen Mazdrashki | 1 | -0/+25 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs(tort): refactor - SCHEMA_INFO_DEFAULT defined on file scope | Kamen Mazdrashki | 1 | -9/+11 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_write_prefixes_from_schema_to_ldb() refactored | Kamen Mazdrashki | 1 | -39/+35 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_read_prefixes_from_ldb() refactored | Kamen Mazdrashki | 1 | -54/+13 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs(tort): prefixMap read/write in LDB test case | Kamen Mazdrashki | 1 | -0/+43 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs(tort): Create temporary LDB for testing purposes | Kamen Mazdrashki | 1 | -0/+67 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> |