summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:provision Add C binding to get at the generate schemaAndrew Bartlett2009-11-123-0/+86
| | | | This will allow us to do local tests against that schema
* s4:provision Remove unused 'sambadn' parameterAndrew Bartlett2009-11-122-10/+4
|
* s4:dsdb/repl Split the 'convert' or 'commit' stages in the DRS importAndrew Bartlett2009-11-124-95/+125
| | | | | | | This will allow us in future to do tests on the LDB values we generate from the DRS replication. Andrew Bartlett
* s4:dsdb/schema Simplify schema loading from ldb messagesAndrew Bartlett2009-11-123-115/+83
| | | | It turns out that we always add the class/attribute to the schema.
* s4:vampire Print error message when we fail on the CLDAP pingAndrew Bartlett2009-11-121-2/+7
| | | | Andrew Bartlett
* s4:dsdb Cosmetic fixes found by metze in review of dsdb_dn changesAndrew Bartlett2009-11-123-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
* s4:dsdb Ensure we allow 'odd' lengths for DN+StringAndrew Bartlett2009-11-121-5/+5
| | | | | | (Found in a code review by metze) Andrew Bartlett
* s4:ldb Add Well Known GUID (WKGUID) tests to ldap.pyAndrew Bartlett2009-11-121-0/+17
|
* s4:dsdb Add extensive tests for the behaviour of dsdb_dnAndrew Bartlett2009-11-123-2/+363
|
* s4:ldb Remove DN+Binary code from the core ldb_dnAndrew Bartlett2009-11-121-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
* s4:dsdb Use new dsdb_dn code in LDB modules and Samba4 schemaAndrew Bartlett2009-11-124-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
* s4:ldb-samba Use new ldb_any_comparison helper function in ldb-sambaAndrew Bartlett2009-11-121-41/+5
|
* s4:dsdb Add new dsdb_dn to handle DN+Binary and DN+StringAndrew Bartlett2009-11-124-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
* s4:ldb Add a helper function for 'canonicalise' both strings base comparesAndrew Bartlett2009-11-122-0/+33
| | | | | | | This will help simplify boilerplate comparison functions where we don't have a shortcut way to compare. Andrew Bartlett
* lib/util Split data_blob_hex_string() into upper and lowerAndrew Bartlett2009-11-125-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
* * install setup/display-specifiers files which are needed by provision scriptTAKEDA Yasuma2009-11-111-0/+2
| | | | Signed-off-by: TAKEDA Yasuma <yasuma@osstech.co.jp>
* s4:dcesrv_samr - Add more checks for invalid levelsMatthias Dieter Wallnöfer2009-11-101-3/+27
| | | | | Add more checks on valid levels, mark unimplemented ones as "UNSUPPORTED" and otherwise as "INVALID_INFO_CLASS" to be safe.
* Fixes for some tests not eorking against Windows or Samba.Nadezhda Ivanova2009-11-101-12/+8
|
* s4-smbtorture: strip trailing whitespace in RPC-SAMR.Günther Deschner2009-11-101-2/+2
| | | | Guenther
* s4-smbtorture: re-arrange netlogon LogonControl test.Günther Deschner2009-11-092-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
* s4-samdb: remove the rDN size constraint of 64Andrew Tridgell2009-11-092-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.
* s4-hdb: go back to a separate samdb for the KDCAndrew Tridgell2009-11-091-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
* s4:vfs_ipc - fix "ipc_open" for NTTRANS create requestsMatthias Dieter Wallnöfer2009-11-071-2/+2
|
* torture/basic/denytest - makes the code more compatible for TRU64 (consider ↵Matthias Dieter Wallnöfer2009-11-071-10/+14
| | | | buildfarm)
* s4:lib/messaging - fix up the python bindingsMatthias Dieter Wallnöfer2009-11-072-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 "|"!
* s4:dsdb/common/util - samdb_result_hashes - use "unsigned int" for countersMatthias Dieter Wallnöfer2009-11-071-2/+1
|
* ldb_init: use constant for result of "ldb_setup_wellknown_attributes"Matthias Dieter Wallnöfer2009-11-071-1/+1
|
* s4:libnet_passwd - fix pointer typeMatthias Dieter Wallnöfer2009-11-061-1/+1
|
* s4:dcerpc - fix DEBUG output warningMatthias Dieter Wallnöfer2009-11-061-3/+4
|
* s4:samdb_check_password - allow the password string to be NULLMatthias Dieter Wallnöfer2009-11-061-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.
* s4:dcesrv_samr_ValidatePassword - naturally this was only for debugging the ↵Matthias Dieter Wallnöfer2009-11-061-1/+0
| | | | failure
* s4:dcesrv_samr_ValidatePassword - adapt call to "samdb_check_password"Matthias Dieter Wallnöfer2009-11-061-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.
* s4:samdb_validate_password - Adapt the function to use the UNIX charset for ↵Matthias Dieter Wallnöfer2009-11-061-20/+7
| | | | the password data blob
* s4:torture/samr - Add status code on "ValidatePassword" test outputMatthias Dieter Wallnöfer2009-11-061-2/+2
|
* s4:torture/samr - Activate "ValidatePassword" test per defaultMatthias Dieter Wallnöfer2009-11-061-5/+2
|
* s4:dcesrv_samr_ValidatePassword - I forgot to create an out bufferMatthias Dieter Wallnöfer2009-11-061-4/+6
|
* s4/drs: Refactor to be more SAMBA.Coding style compliantKamen Mazdrashki2009-11-062-4/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: Remove unused structures and functionsKamen Mazdrashki2009-11-062-93/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: remove unused num_prefixes and prefixes from dsdb_schemaKamen Mazdrashki2009-11-063-6/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs(tort): _torture_drs_pfm_compare_same() should not fail tctx by itselfKamen Mazdrashki2009-11-061-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>
* s4/drs(tort): Test case for dsdb_create_prefix_mapping() implementedKamen Mazdrashki2009-11-061-0/+88
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: dsdb_create_prefix_mapping() refactoredKamen Mazdrashki2009-11-061-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>
* s4/drs: prefixMap lookup by full_OID implementationKamen Mazdrashki2009-11-061-0/+25
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs(tort): refactor - SCHEMA_INFO_DEFAULT defined on file scopeKamen Mazdrashki2009-11-061-9/+11
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: dsdb_write_prefixes_from_schema_to_ldb() refactoredKamen Mazdrashki2009-11-061-39/+35
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: dsdb_read_prefixes_from_ldb() refactoredKamen Mazdrashki2009-11-061-54/+13
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs(tort): prefixMap read/write in LDB test caseKamen Mazdrashki2009-11-061-0/+43
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs(tort): Create temporary LDB for testing purposesKamen Mazdrashki2009-11-061-0/+67
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: refactor dsdb_load_oid_mappings_ldb() to use ↵Kamen Mazdrashki2009-11-061-33/+29
| | | | | | _dsdb_prefixmap_from_ldb_val() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: Load prefixMap from ldb_val moved in separate functionKamen Mazdrashki2009-11-061-0/+35
| | | | | | It is to be used later in several places when we need such conversion. Signed-off-by: Stefan Metzmacher <metze@samba.org>