summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* s4/drs(tort): prefixMap to/from ldb_val serialization test caseKamen Mazdrashki2009-11-061-2/+61
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: dsdb_schema_pfm_from_drsuapi_pfm() to accept partial drsuapi_prefixMapKamen Mazdrashki2009-11-063-23/+57
| | | | | | | | | | "partial drsuapi_prefixMap" is a prefix map without last entry being special - i.e. map that does not contains schema_info entry. Test for dsdb_schema_pfm_from_drsuapi_pfm() were also extended to cover both 'full' and 'partial' map conversion. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: dsdb_map_int2oid() replaced by dsdb_schema_pfm_oid_from_attid()Kamen Mazdrashki2009-11-064-32/+15
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: dsdb_map_oid2int() replaced by dsdb_schema_pfm_make_attid()Kamen Mazdrashki2009-11-063-19/+19
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: dsdb_verify_oid_mappings_drsuapi() replaced by ↵Kamen Mazdrashki2009-11-064-74/+3
| | | | | | | | | | | | dsdb_schema_pfm_contains_drsuapi_pfm() dsdb_schema_pfm_contains_drsuapi_pfm() is part of reimplemented prefixMap interface. This name was choosen to clearly show, that this a week verification in case we want to determine if remote schema is changed. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: dsdb_get_oid_mappings_drsuapi() to use new prefixMap interfaceKamen Mazdrashki2009-11-061-34/+3
| | | | | | | | | | | dsdb_get_oid_mappings_drsuapi() just need to call dsdb_drsuapi_pfm_from_schema_pfm() to get filled-in DRSUAPI prefixMap. Perhaps it won't be bad to rename this function to have more expressive name in the future Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: dsdb_load_oid_mappings_drsuapi() -> dsdb_load_prefixmap_from_drsuapi()Kamen Mazdrashki2009-11-063-54/+15
| | | | | | | | Also, dsdb_load_oid_mappings_drsuapi() was reimplemented to use dsdb_schema_pfm_from_drsuapi_pfm() function to load drsuapi_prefixMap into schema->prefixmap Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: dsdb_schema uses dsdb_schema_prefixmap definitionKamen Mazdrashki2009-11-061-0/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4: DRS-RPC tests added to RPC group of testsKamen Mazdrashki2009-11-061-1/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4: Add DRS-UNIT test suite to LOCAL group of tests to be executedKamen Mazdrashki2009-11-061-0/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: Move schema_prefixMap allocation in separate functionKamen Mazdrashki2009-11-061-15/+29
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: schema_prefixMap to/from drsuapi_prefixMap conversion implementationKamen Mazdrashki2009-11-061-1/+228
| | | | | | | | | | | Along with this, dsdb_schema_pfm_contains_drsuapi_pfm() function is implemented to replace previous implementation for dsdb_verify_oid_mappings_drsuapi(). Name of the function clearly implies how week this verification is, as currently it is used to indicate "Schema modified on remote" condition. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs(tort): test for schema_prefixMap to/from drsuapi_prefixMap conversionKamen Mazdrashki2009-11-061-0/+51
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs(tort): implement prefixMap comparison functionKamen Mazdrashki2009-11-061-13/+23
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: Implement binary-oid-lookup into prefixMapKamen Mazdrashki2009-11-061-25/+37
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: Move making of partial-binary-oid to a separate functionKamen Mazdrashki2009-11-061-20/+45
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: Fix memory leek in prefixMapKamen Mazdrashki2009-11-061-1/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/ldb: Fix double allocation for "ldb_url"Kamen Mazdrashki2009-11-061-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture/drs: move intern/ => unit/Stefan Metzmacher2009-11-062-1/+1
| | | | metze
* Fix up some of the timing constants for DELAYWRITE. Add some extra tests up ↵Jeremy Allison2009-11-051-30/+114
| | | | | | | test_delayed_write_update6 to investigate what happens to a sticky write handle after a second handle close. Jeremy.
* Python tests for the acl module.Zahari Zahariev2009-11-052-0/+1105
| | | | | | Signed-off-by: Nadezhda Ivanova <nadezhda.ivanova@postpath.com> Author: Zahari Zahariev <zahari.zahariev@postpath.com>
* Version 1.0 of the directory service acls module.Nadezhda Ivanova2009-11-056-1013/+419
| | | | | | | At this point, support for checks on LDAP add, delete, rename and modify. Old kludge_acl is still there to handle the searches. This module is synchronous as the async version was impossible to debug, will be converted to async after some user testing.
* s4:torture/rpc/samr - Add a comment for "ValidatePassword" testMatthias Dieter Wallnöfer2009-11-051-0/+2
|
* s4:dcesrv_samr - Implement "dcesrv_samr_ValidatePassword" using my new check ↵Matthias Dieter Wallnöfer2009-11-051-7/+49
| | | | | | | password call This implements a very basic method for password validation using my new "samdb_check_password" call.
* s4:dsdb/common/util - Add a new utility function "samdb_check_password"Matthias Dieter Wallnöfer2009-11-051-9/+45
| | | | | This function performs basic password checks and will be used by the "samrValidatePassword" call and the "password_hash" module.
* s4:samdb_set_password/samdb_set_password_sid - Better comments and cosmeticsMatthias Dieter Wallnöfer2009-11-051-28/+34
|
* s4:samdb python bindings - add a wrapper for "dsdb_make_schema_global"Matthias Dieter Wallnöfer2009-11-051-0/+17
|
* s4:samdb python bindings - make the python wrap connect more like the C oneMatthias Dieter Wallnöfer2009-11-051-3/+10
| | | | Add call for setting the create permissions.
* s4:samdb python bindings - Reorder some function bodies to match the order ↵Matthias Dieter Wallnöfer2009-11-051-25/+24
| | | | in "ldb_wrap_connect"
* s4:kdc: remove unused struct kpasswd_socketStefan Metzmacher2009-11-051-10/+0
| | | | metze
* Added security descriptor for the domain NC to provisioning.Nadezhda Ivanova2009-11-042-1/+61
| | | | | Necessary for correct descriptor inheritance. Based on the default state of a single DC. Will be modified later when we support multiple DCs.
* s4:provisioning - Fixed minor bugs in provisioning tool and partition module.Endi S. Dewata2009-11-042-3/+4
|
* s4-smbtorture: skip three info levels while testing s3 with RPC-LSA.Günther Deschner2009-11-031-3/+14
| | | | | | These are only supported by s3 when running pdb_ads atm. Guenther
* s4-smbtorture: skip QueryInfoPolicy2 while running RPC-LSA against s3.Günther Deschner2009-11-031-0/+4
| | | | | | This is only supported by s3 when running pdb_ads atm. Guenther
* s4-smbtorture: skip QueryDomainInformationPolicy test against s3 in RPC-LSA.Günther Deschner2009-11-031-0/+4
| | | | Guenther