summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-07-01s4:lib/registry/local.c - support recursive key generationMatthias Dieter Wallnöfer1-40/+53
Code taken from "local_open_key".
2010-07-01s4:lib/registry/ldb.c - refactor "reg_path_to_ldb"Matthias Dieter Wallnöfer1-19/+21
This makes it easier to understand and would also support splitting in more DN components.
2010-07-01s4:lib/registry/ldb.c - use "ldb_path" rather than "ldap_path" as LDB key ↵Matthias Dieter Wallnöfer1-14/+14
varibale identifiers
2010-07-01s4:lib/registry/ldb.c - "ldb_add_key" - fix talloc handlingMatthias Dieter Wallnöfer1-8/+14
- free "msg" when possible - prevent "talloc_strdup"s where not necessary
2010-06-30s4-smbtorture: in extended setvalue winreg test, reduce max random buffer ↵Günther Deschner1-1/+1
length to 16 bytes. Guenther
2010-06-30s4-smbtorture: enable QueryMultipleValues{2} torture tests against samba3.Günther Deschner1-3/+2
Guenther
2010-06-30s4-smbtorture: add some more multiple_values_tests to RPC-WINREG.Günther Deschner1-1/+12
Guenther
2010-06-30s4:dsdb: move dsdb python tests from lib/ldb/ to dsdb/Stefan Metzmacher9-8/+8
metze
2010-06-30s4:ldb/python: make it possible to run tests standaloneStefan Metzmacher8-3/+22
metze
2010-06-30s4:auth/session.c - suppress a warning when freeing "group_string"Matthias Dieter Wallnöfer1-3/+5
2010-06-30s4:schema/schema_set.c - free LDB message diffsAnatoliy Atanasov1-0/+2
Especially the "free"s after "ldb_msg_diff" are very important since the diff message is allocated on the long-living LDB context. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-06-30s4:auth/session.c - free "group_string" when not neededAnatoliy Atanasov1-1/+1
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-06-30s4:dsdb Fix possible schema segfaults for DRS-replication based schemaAndrew Bartlett1-17/+13
The problem here is that if the schema has been modified on the source domain, there may be attributes that appear over DRS with 0 values (to indicate that any existing values on the target should be deleted). This would confuse the previous version of this macro. Andrew Bartlett
2010-06-29s4-smbtorture: remove duplicate torture_assert_sid_equal macro.Günther Deschner1-10/+1
Guenther
2010-06-29s4-smbtorture: add more sophisticated tests for winreg_QueryMultipleValues{2}.Günther Deschner1-0/+221
Guenther
2010-06-29s4:ntvfs/ipc/vfs_ipc.c - remove unused codeMatthias Dieter Wallnöfer1-4/+0
Spotted by the Solaris 10 compiler
2010-06-29s4:ntvfs/ipc/vfs_ipc.c - add casts to suppress warnings on Solaris 10Matthias Dieter Wallnöfer1-3/+3
2010-06-29s4:ntp_signd/ntp_signd.c - add casts to suppress warnings on Solaris 10Matthias Dieter Wallnöfer1-2/+2
2010-06-29s4:rpc_server/browser.c - remove unused codeMatthias Dieter Wallnöfer1-2/+0
Spotted by the Solaris 10 compiler
2010-06-29s4:smb_server/smb2/find.c - remove unused codeMatthias Dieter Wallnöfer1-3/+0
Spotted by the Solaris 10 compiler
2010-06-29s4:smb_server/blob.c - remove unused codeMatthias Dieter Wallnöfer1-8/+0
Spotted by the Solaris 10 compiler
2010-06-29s4:dsdb/new_partition.c - remove the "ldb_next_request" call which we find ↵Matthias Dieter Wallnöfer1-3/+1
also below the "if" block
2010-06-29ldb:ldb_map_outbound.c - "ldb_parse_tree_collect_attrs" - remove unneeded ↵Matthias Dieter Wallnöfer1-2/+0
return value
2010-06-29ldb:ldb_modules.c - "ldb_dso_load_symbol" - remove unneeded caste before "dlsym"Matthias Dieter Wallnöfer1-2/+1
2010-06-29s4:ldb - "ldb_dn_update_components" - fix free of invalid DN partsMatthias Dieter Wallnöfer1-4/+3
Use "LDB_FREE" for such free operations and in addition wipe also the casefolded DN out.
2010-06-29ldb:ldb_dn.c - "ldb_dn_set_extended_component" - free the linearized string ↵Matthias Dieter Wallnöfer1-2/+4
when the components change
2010-06-29s4:ldb_dn.c - make the code parts which free extended components consistentMatthias Dieter Wallnöfer1-9/+7
Cosmetic
2010-06-29ldb:ldb_dn - "ldb_dn_explode" - move the "dn->comp_num" initalisation ↵Matthias Dieter Wallnöfer1-3/+3
upwards and use "LDB_FREE" for freeing "dn->components" Mostly cosmetic - no behaviour change
2010-06-29s4-smbtorture: remove some pointless mem_equal tests in LOCAL-NDR-WINREG ↵Günther Deschner1-3/+0
testsuite. Guenther
2010-06-29s4-smbtorture: handle NT_STATUS_NOT_IMPLEMENTED in GetForestTrustInformation ↵Günther Deschner1-2/+6
test. When skipping over it, we can at least verify the credential chain. Guenther
2010-06-29s4-smbtorture: use TEST_MACHINE_NAME in test_netr_GetForestTrustInformation().Günther Deschner1-1/+1
Guenther
2010-06-29s4-smbtorture: add netr_GetForestTrustInformation test to RPC-NETLOGON.Günther Deschner2-0/+40
Guenther
2010-06-29Revert "s4/dsdb: Fixed partition_search() not to pass special DN's to LDAP ↵Matthias Dieter Wallnöfer1-8/+6
backend." This reverts commit ed4c107bc1eac8531fdd8d09f7698efcbc7ecb14. See post "Endi's Bug 7530 patches (LDAP backend)" on samba-technical.
2010-06-29Revert "s4/auth: Fixed authsam_expand_nested_groups() to find entry SID if ↵Matthias Dieter Wallnöfer1-21/+4
not available in the DN." This reverts commit fa9557fee3ca546878d99b77f1ff37f724c37024. See post "Endi's Bug 7530 patches (LDAP backend)" on samba-technical.
2010-06-29s4-smbtorture: add NDR torture test for winreg_QueryMultipleValues2.Günther Deschner1-0/+47
Guenther
2010-06-29s4-smbtorture: add RPC torture test for winreg_QueryMultipleValues2.Günther Deschner1-0/+41
Guenther
2010-06-29winreg: fix winreg_QueryMultipleValues() IDL and torture tests.Günther Deschner2-23/+23
Guenther
2010-06-29Fixed incorrect use of cn instead of lDAPDisplayNameNadezhda Ivanova1-2/+2
2010-06-29s4:secrets Ensure secrets.ldb uses the same hooks as the rest of SambaAndrew Bartlett2-46/+13
This ensures that, for example, the utf8 functions are the same, the GUID handler is the same and the NOSYNC flag is applied. Andrew Bartlett
2010-06-29s4:selftest Split out PKINIT tests from test_kinit.sh and test enc typesAndrew Bartlett1-1/+4
This allows us to run the PKINIT tests only against the main DC (for which the certificates were generated), while testing the available encryption types in each functional level. In particular, we need to assert that AES encryption is available in the 2008 functional level. Andrew Bartlett
2010-06-29s4:kdc Rework the 'allowed enc types' calculationAndrew Bartlett1-41/+35
This changes the calculation to apply the allowed enc types to all uses of the key (no point allowing a weak kinit to a key the server wanted strongly protected). It also ensures that all the non-DES keys are available on the krbtgt in particular, even as it does not have a msds-SupportedEncryptionTypes attributes. Andrew Bartlett
2010-06-29s4:auth Query LDB for msds-SupportedEncryptionTypes for the KDCAndrew Bartlett1-0/+1
The KDC needs this to determine what encryption types an entry supports Andrew Bartlett
2010-06-29s4:kerberos Add functions to convert msDS-SupportedEncryptionTypesAndrew Bartlett2-0/+60
This will allow us to interpret this attibute broadly in Samba. Andrew Bartlett
2010-06-29s4:libnet_join Fix typo in msDS-SupportedEncryptionTypesAndrew Bartlett1-1/+1
2010-06-29s4:provision Add an msDS-SupportedEncryptionTypes entry to our DCAndrew Bartlett3-2/+35
This ensures that our DC will use all the available encyption types. (The KDC reads this entry to determine what the server supports) Andrew Bartlett
2010-06-29build: only use git when found by configureAndrew Tridgell1-2/+17
this rebuilds version.h whenever the git version changes, so we always get the right version with samba -V. That adds about 15s to the build time on each git commit, which shouldn't be too onerous
2010-06-29s4/repl_meta_data: remove duplicated (and commented out) logKamen Mazdrashki1-6/+0
2010-06-29s4/ndr: Fix tuncating of constant to a 'long' typeKamen Mazdrashki1-2/+2
2010-06-28s4:lib/registry/ldb.c - add a missing braceMatthias Dieter Wallnöfer1-1/+1
Sorry didn't check that earlier.
2010-06-28s4:lib/registry/ldb.c - fix memory handling in "ldb_open_key"Matthias Dieter Wallnöfer1-1/+4