summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2009-11-20Cosmetic patch - fixed case of attribute name.Nadezhda Ivanova1-1/+1
2009-11-20s4:min_versions: require ldb 0.9.9Stefan Metzmacher1-1/+1
metze
2009-11-20s4:lib/ldb: change version to 0.9.9 after some critical index fixesStefan Metzmacher1-1/+1
metze
2009-11-20Implementation of LDAP_SERVER_SD_FLAGS_OID on modify requests.Nadezhda Ivanova2-21/+240
2009-11-20Some changes to allow processing of ldap controls on modify requests.Nadezhda Ivanova6-10/+106
ldap_backend used to filter out ldap controls on modify. Also, modified python binding for ldap_modify to allow writing tests for such controls.
2009-11-20s4:ntvfs/posix/pvfs_acl - Remove unused variable "token"Matthias Dieter Wallnöfer1-1/+0
2009-11-20s4-dsdb: some more attribuutes that we should only give if asked forAndrew Tridgell2-2/+14
2009-11-20s4-drs: we need to specifically ask for ntSecurityDescriptorAndrew Tridgell1-1/+1
ntSecurityDescriptor is no longer included by default
2009-11-20s4-ldb: added a warning about ldb_msg_add_dnAndrew Tridgell1-0/+2
ldb_msg_add_dn does not copy the dn linearized string
2009-11-20added new function "ldb_msg_add_dn"Crístian Deives4-9/+17
a helper function to a DN element to an ldb_msg using ldb_msg_add_string. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-11-20s4-dsdb: removed attributes that should not be displayed by defaultAndrew Tridgell1-0/+37
Some attributes (like ntSecurityDescriptor) are stored in our db, but should only be displayed if asked for. This also applied to parentGUID from old installs, which is now generated.
2009-11-20s4-drs: Removes stored parentGUID's creation and renamingFernando J V da Silva1-80/+7
parentGUID is now created on demand in operational.c Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-11-20s4-drs: Synchronous Implementation of generated parentGUIDFernando J V da Silva1-2/+34
This generated parentGUID on demand, rather than getting it from the database Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-11-20s4-drs: Utility functions to deal with GUIDFernando J V da Silva1-0/+99
dsdb_find_parentguid_by_dn() returns the parentGUID for a given DN dsdb_msg_add_guid() adds a GUID value to a given message (either objectGUID or parentGUID). Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-11-20ldb:ldb_tdb backend/indexes - Outside APIMatthias Dieter Wallnöfer3-28/+30
- The outside API contains "DN" string arguments: Bad. Since in this way we fully rely on the outside calls regarding the right DN format. Solution: Use always a "struct ldb_dn" entry. Since this one is interchangeable and we can handle it in our preferred way.
2009-11-20ldb:ldb_tdb backend/indexes - DN comparisonMatthias Dieter Wallnöfer1-4/+5
- DN comparison: The function doesn't seem that efficient. I "upgraded" it a bit to be more powerful (added a second length check and do both before the string comparison)
2009-11-20s4-dsdb: make sure mod_usn list is zeroed on each transactionAndrew Tridgell1-7/+10
2009-11-20s4-ldb: added a double-rename testAndrew Tridgell1-0/+24
This tests the fix for double rename/add and indexing
2009-11-20s4-ldb: when -v is specified, show progress of ldbadd/ldbmodifyAndrew Tridgell2-2/+8
This is useful for speed tests with large numbers of records.
2009-11-20s4-ldb: make ldb tools line bufferedAndrew Tridgell1-0/+3
this prevents output being buffered when redirected to a file. Useful for larger ldb command line operations
2009-11-20s4-ldb: fixed an issue in rename/modify indexingAndrew Tridgell1-16/+16
When we rename or modify a record, we need to update the indexes at the same time. It is important that we use the DN of the actual message that is stored in the database to do this, not the DN that was passed in by the user. If the two differ in case then the index records needs to use the 'real' record DN, as index handling is currently case sensitive.
2009-11-20s4-ldb: allow ldap.py test suite to run directly against a fileAndrew Tridgell1-1/+5
This makes it much easier to debug (as you can break in the ldb modules by running gdb on /usr/bin/python)
2009-11-19s4:ldbcli - Added encoder/decoder for relax control.Endi S. Dewata1-2/+20
2009-11-18Added control copying for message types other than ldb_search.Nadezhda Ivanova1-1/+4
When ildap created a new message to forward, it only copied controls for ldb_search requests. This caused controls for add and modify to be lost in transition and tests for them could not be implemented.
2009-11-18s4:selftest: mark samba4.smb2.lock.*.VALID-REQUEST as known failureStefan Metzmacher1-0/+1
metze
2009-11-18SMB2-LOCK: make use of torture_assert_*()Stefan Metzmacher1-12/+6
This is needed in order to mark tests as known failures. metze
2009-11-18s4:ntvfs_generic: check for valid SMB2_LOCK flagsStefan Metzmacher1-0/+8
metze
2009-11-18s4:selftest: fix logic for --option=torture:progress=noStefan Metzmacher1-1/+1
metze
2009-11-18s4:torture/test_gentest.sh: make use of the PREFIX argumentStefan Metzmacher1-5/+6
We should not use hardcode pathes! metze
2009-11-18s4:selftest: for now skip the BASE-DELAY-WRITE test completelyStefan Metzmacher1-0/+1
This test randomly fails depending on the timing (the tests are too strict with the values introduced in commit 0fca2b078ceb314e429e24e3318b50451ccf423b) and local filesystem features (timestamp resolution). metze
2009-11-18s4:selftest: avoid running the slow BASE-DELAY-WRITE test on the cifs proxy ↵Stefan Metzmacher1-0/+1
share It's enough to run it on the posix share. metze
2009-11-18s4:selftest: add "rpc.netlogon.*.GetDomainInfo"Stefan Metzmacher1-0/+1
We need to expand the test to work against w2k8 and w2k8r2... metze
2009-11-17s4/torture: Port SMBv1 Change Notify tests to SMBv2Aravind Srinivasan4-42/+1839
* Ported all tests from raw/notify.c to smb2/notify.c * Parameterized the max_buffer_size so it can be set on a per-target basis. * Fixed CHECK macros to use torture_result * Created a SMB2-NOTIFY test suite
2009-11-17s4/libcli: add a FILE_NOTIFY_CHANGE_ALL macroAravind Srinivasan1-0/+8
This macro encompasses all possible file notifications that can be raised.
2009-11-17torture/smb2: make SMB2 BRL tests pass against W2K8R2Steven Danneman3-100/+111
The BRL tests previously based their results off several bugs in the W2K8 byte range lock code. I've fixed up the tests to pass against Win7 which has fixed these bugs, and assume that the Win7 behavior is the default. I have inverted the test behavior for >63-bit lock requests. The tests previously expected NT_STATUS_OK as their default in this case. I've changed that default to expect STATUS_INVALID_LOCK_RANGE. This may requires some changing of make test to compensate. I've also removed a few test scenarios from VALID-REQUEST in preparation of replacing them with separate tests ported from RAW-LOCK.
2009-11-17s4:WINREG RPC server - remove a "talloc_free"Matthias Dieter Wallnöfer1-2/+0
I assume that this "talloc_free" isn't necessary since the DCERPC server frees the handle itself (we got always warnings about this).
2009-11-17s4:provision_users.ldif - Descriptions generally begin with a majuscleMatthias Dieter Wallnöfer1-2/+2
2009-11-17s4:SAMLDB DSDB module - Add "\n"s on debug messagesMatthias Dieter Wallnöfer1-2/+2
2009-11-17s4:SAMLDB DSDB module - Remove "\n" in LDB error messagesMatthias Dieter Wallnöfer1-25/+31
abartlet suggested me to not use anymore "\n"s in those kind of outputs. Plus, enhance a search filter to consider also "builtinDomain" objects which are basically domain objects too.
2009-11-17Fixed incorrect SID for RAS Servers.Nadezhda Ivanova2-1/+2
2009-11-17s4:dsdb/schema: let schema_supclasses() return the correct pointerStefan Metzmacher1-2/+2
str_list_unique() changes the pointer via talloc_realloc(). metze
2009-11-17s4:selftest: use "dc:local" instead of a hardcoded config fileStefan Metzmacher1-3/+3
If a tests needs access to the dc's config, it should run as "dc:local", then it can also access unix named pipes... If we pass a hardcoded config file the test fails if you use a selftest_prefix. metze
2009-11-17s4:selftest: allways start with $(ST_RM)Stefan Metzmacher1-2/+2
metze
2009-11-17s4:selftest: place summary file into selftest-prefixStefan Metzmacher1-1/+2
metze
2009-11-17s4:heimdal: import lorikeet-heimdal-200911170333 (commit ↵Andrew Bartlett9-25/+8
b532c294d974cead40a1183c71be644c6ccc2832) This fixes up connections to Windows 2003, because the previous import had a broken arcfour-hmac-md5 implementation (fixed in Heimdal 316fc6ff8ffb0cbb1ef3689685e9977c37405bc4) Andrew Bartlett
2009-11-17s4/drs(tort): Convert DSSYNC test to a test case fixtureKamen Mazdrashki2-24/+68
Now it should be much more clear why and where a test in DSSYNC test case has failed. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4/drs(tort): replace DEBUG with torture_asert/comment/failKamen Mazdrashki1-45/+49
I left dumping of decrypted attributes values 'as is' (using DEBUG and DEBUGADD) as it uses dump_data() function. dump_data() uses DEBUGADD internally, so I have no way to redirect its output to torture_context at this point. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4/drs(tort): use torture_drsuapi_assert_call() macro for error checkingKamen Mazdrashki1-11/+2
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4/drs(tort): replace 'printf' with 'torture_...' callsKamen Mazdrashki1-14/+15
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4/drs(tort): 'DsSyncBindInfo.pipe' renamed - 'pipe' is a system callKamen Mazdrashki1-11/+11
Signed-off-by: Andrew Bartlett <abartlet@samba.org>