Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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> | |||||
2009-11-06 | s4/drs: refactor dsdb_load_oid_mappings_ldb() to use ↵ | Kamen Mazdrashki | 1 | -33/+29 | |
_dsdb_prefixmap_from_ldb_val() Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: Load prefixMap from ldb_val moved in separate function | Kamen Mazdrashki | 1 | -0/+35 | |
It is to be used later in several places when we need such conversion. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs(tort): prefixMap to/from ldb_val serialization test case | Kamen Mazdrashki | 1 | -2/+61 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_schema_pfm_from_drsuapi_pfm() to accept partial drsuapi_prefixMap | Kamen Mazdrashki | 3 | -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> | |||||
2009-11-06 | s4/drs: dsdb_map_int2oid() replaced by dsdb_schema_pfm_oid_from_attid() | Kamen Mazdrashki | 4 | -32/+15 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_map_oid2int() replaced by dsdb_schema_pfm_make_attid() | Kamen Mazdrashki | 3 | -19/+19 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_verify_oid_mappings_drsuapi() replaced by ↵ | Kamen Mazdrashki | 4 | -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> | |||||
2009-11-06 | s4/drs: dsdb_get_oid_mappings_drsuapi() to use new prefixMap interface | Kamen Mazdrashki | 1 | -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> | |||||
2009-11-06 | s4/drs: dsdb_load_oid_mappings_drsuapi() -> dsdb_load_prefixmap_from_drsuapi() | Kamen Mazdrashki | 3 | -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> | |||||
2009-11-06 | s4/drs: dsdb_schema uses dsdb_schema_prefixmap definition | Kamen Mazdrashki | 1 | -0/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4: DRS-RPC tests added to RPC group of tests | Kamen Mazdrashki | 1 | -1/+4 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4: Add DRS-UNIT test suite to LOCAL group of tests to be executed | Kamen Mazdrashki | 1 | -0/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: Move schema_prefixMap allocation in separate function | Kamen Mazdrashki | 1 | -15/+29 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: schema_prefixMap to/from drsuapi_prefixMap conversion implementation | Kamen Mazdrashki | 1 | -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> | |||||
2009-11-06 | s4/drs(tort): test for schema_prefixMap to/from drsuapi_prefixMap conversion | Kamen Mazdrashki | 1 | -0/+51 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs(tort): implement prefixMap comparison function | Kamen Mazdrashki | 1 | -13/+23 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: Implement binary-oid-lookup into prefixMap | Kamen Mazdrashki | 1 | -25/+37 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: Move making of partial-binary-oid to a separate function | Kamen Mazdrashki | 1 | -20/+45 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: Fix memory leek in prefixMap | Kamen Mazdrashki | 1 | -1/+4 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/ldb: Fix double allocation for "ldb_url" | Kamen Mazdrashki | 1 | -2/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4:torture/drs: move intern/ => unit/ | Stefan Metzmacher | 2 | -1/+1 | |
metze | |||||
2009-11-06 | Revert "s3-kerberos: add smb_krb5_parse_name_flags()." | Günther Deschner | 2 | -22/+1 | |
This reverts commit 17ef153b68795fec681f9ce17c198236aba2b1c2. | |||||
2009-11-06 | s3-kerberos: support S4U2SELF impersionation through cli_krb5_get_ticket(). | Günther Deschner | 2 | -6/+22 | |
Guenther | |||||
2009-11-06 | s3-kerberos: use smb_krb5_get_credentials in ads_krb5_mk_req. | Günther Deschner | 1 | -4/+7 | |
Guenther | |||||
2009-11-06 | s3-kerberos: modify cli_krb5_get_ticket to take a new impersonate_princ_s arg. | Günther Deschner | 6 | -9/+14 | |
Guenther | |||||
2009-11-06 | s3-net: better use memory credential cache in net_ads_kerberos_pac(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-11-06 | s3-net: allow to call "net ads kerberos pac <impersonation principal> -P". | Günther Deschner | 1 | -1/+7 | |
Guenther | |||||
2009-11-06 | s3-kerberos: add impersonate_principal for kerberos_return_pac_X calls. | Günther Deschner | 3 | -1/+28 | |
Guenther | |||||
2009-11-06 | s3-kerberos: add smb_krb5_get_tkt_from_creds(). | Günther Deschner | 1 | -0/+40 | |
Guenther | |||||
2009-11-06 | s3-kerberos: fix some build warnings when building against heimdal. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2009-11-06 | s3-kerberos: add smb_krb5_get_{creds,credentials} incl. support for S4U2SELF ↵ | Günther Deschner | 3 | -2/+284 | |
impersonation. Guenther | |||||
2009-11-06 | s3-kerberos: remove duplicate prototype. | Günther Deschner | 1 | -4/+0 | |
Guenther | |||||
2009-11-06 | s3-kerberos: add smb_krb5_parse_name_flags(). | Günther Deschner | 2 | -1/+22 | |
Guenther | |||||
2009-11-06 | s3-kerberos: add configure checks for krb5_get_creds_X api. | Günther Deschner | 1 | -0/+3 | |
Guenther | |||||
2009-11-05 | Got the logic simplification worked out so we still pass | Jeremy Allison | 5 | -33/+50 | |
BASE-DELAYWRITE and also RAW-CLOSE. Jeremy. | |||||
2009-11-05 | Revert commit "0551284dc08eb93ef7b2b2227a45e5ec21d482fb" - simplify | Jeremy Allison | 4 | -12/+34 | |
the logic. This was incorrect (I'll revisit this tomorrow). Jeremy. | |||||
2009-11-05 | Remove the smbd:writetimeupdatedelay change Metze added. Metze please | Jeremy Allison | 2 | -3/+7 | |
explain why you added this. Change --maximum-runtime=900 for smbtorture4 with BASE-DELAYWRITE. Should allow it to successfully complete now. Jeremy. | |||||
2009-11-05 | Simplify the logic - remove extraneous argument and calls to ↵ | Jeremy Allison | 4 | -34/+12 | |
set_close_write_time(). We were treating a file time set on close as a sticky write time set, and I don't think it is. I will add a torture test later to RAW-CLOSE to confirm this. Jeremy. | |||||
2009-11-05 | Fix explicit set of write time on close. | Jeremy Allison | 1 | -1/+5 | |
Jeremy. | |||||
2009-11-05 | Get closer to an accurate model of Windows timestamp changes. | Jeremy Allison | 6 | -32/+56 | |
"Normal" non truncate writes always cause the timestamp to be set on close. Once a close is done on a handle this can reset the sticky write time to current time also. Updated smbtorture4 confirms this. Jeremy. | |||||
2009-11-05 | Fix up some of the timing constants for DELAYWRITE. Add some extra tests up ↵ | Jeremy Allison | 1 | -30/+114 | |
test_delayed_write_update6 to investigate what happens to a sticky write handle after a second handle close. Jeremy. |