Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-01 | s4:instancetype LDB module - add checks requested by MS-ADTS 3.1.1.5.2.2 | Matthias Dieter Wallnöfer | 1 | -6/+20 | |
We've to test for the WRITE flag if we are performing an NC add. And if it isn't an NC add then only the WRITE or no flag is allowed. | |||||
2010-08-01 | s4:objectclass LDB module - consider the "instanceType" when adding NCs | Matthias Dieter Wallnöfer | 1 | -10/+18 | |
This is requested by MS-ADTS 3.1.1.5.2.2 (NC add operation). | |||||
2010-08-01 | s4:descriptor LDB module - remove the "forest DN" check | Matthias Dieter Wallnöfer | 1 | -4/+3 | |
Also here we have to work with the default base DN. After some reading I've discovered that this isn't really true. The forest partition does exist on one or more DCs and is there the same as the default base DN (which is already checked by the module). And if we have other DCs which contain child domains then they never contain data of the forest domain beside the schema and the configuration partition (which are checked anyway) since a DC can always contain only one domain! Link: http://www.informit.com/articles/article.aspx?p=26896&seqNum=5 | |||||
2010-08-01 | s4:acl LDB module - remove the "forest DN" check | Matthias Dieter Wallnöfer | 1 | -6/+3 | |
After some reading I've discovered that this isn't really true. The forest partition does exist on one or more DCs and is there the same as the default base DN (which is already checked by the module). And if we have other DCs which contain child domains then they never contain data of the forest domain beside the schema and the configuration partition (which are checked anyway) since a DC can always contain only one domain! Link: http://www.informit.com/articles/article.aspx?p=26896&seqNum=5 | |||||
2010-08-01 | s4:acl LDB module - remove unused call "is_root_base_dn" | Matthias Dieter Wallnöfer | 1 | -8/+0 | |
2010-08-01 | s4:urgent_replication.py test - adapt the test for the harder delete ↵ | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
restrictions Otherwise we are not able to delete the "test crossRef" object which points to the default NC anymore. | |||||
2010-08-01 | s4:ldap.py - perform tests on the additional delete constraint checks | Matthias Dieter Wallnöfer | 1 | -4/+38 | |
2010-08-01 | s4:objectclass LDB module - implement additional delete constraint checks | Matthias Dieter Wallnöfer | 1 | -3/+47 | |
MS-ADTS 3.1.1.5.5.3 | |||||
2010-08-01 | s4:ldap.py - add a test for "CN=System" object rename behaviour | Matthias Dieter Wallnöfer | 1 | -0/+8 | |
2010-08-01 | s4:subtree_rename LDB module - rename "check_system_flags" into ↵ | Matthias Dieter Wallnöfer | 1 | -9/+43 | |
"check_constraints" and perform more checks Always considering MS-ADTS 3.1.1.5.4.1.2. | |||||
2010-08-01 | s4:subtree_rename LDB module - introduce out of memory checks | Matthias Dieter Wallnöfer | 1 | -0/+4 | |
2010-08-01 | s4:dsdb/samdb/ldb_modules/util.c - remove unused variables | Matthias Dieter Wallnöfer | 1 | -2/+0 | |
2010-08-01 | s4:torture/rpc/winreg: fix "strict aliasing" compiler warnings | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2010-08-01 | s4:torture/rpc/winreg: fix the build with non gcc compilers (e.g. on solaris) | Stefan Metzmacher | 1 | -4/+3 | |
metze | |||||
2010-08-01 | s4:ldap.py - performs some "systemFlags" testing | Matthias Dieter Wallnöfer | 1 | -0/+56 | |
2010-08-01 | s4:subtree_rename LDB module - introduce the "systemFlags" protection rules | Matthias Dieter Wallnöfer | 1 | -2/+122 | |
This is done in a dedicated call "check_system_flags". | |||||
2010-07-31 | s4:dsdb/pydsdb.c - import "systemFlags" into Python | Matthias Dieter Wallnöfer | 1 | -0/+26 | |
Needed by ldap.py tests | |||||
2010-07-31 | s4:subtree_rename LDB module - "subren_ctx_init" - fix the "out of memory" ↵ | Matthias Dieter Wallnöfer | 1 | -3/+2 | |
return | |||||
2010-07-31 | s4:torture/winreg.c - fix warnings of Solaris 10 cc through the appropriate ↵ | Matthias Dieter Wallnöfer | 1 | -4/+4 | |
casts | |||||
2010-07-31 | s4:torture/winreg.c - remove unreachable code | Matthias Dieter Wallnöfer | 1 | -2/+0 | |
2010-07-31 | s4:torture/winreg.c - add a FIXME comment on a codepart which isn't standard ↵ | Matthias Dieter Wallnöfer | 1 | -0/+1 | |
C-compatible It seems to be GCC specific since it doesn't compile on Solaris 10 cc: http://build.samba.org/?function=View+Build;host=sunX;tree=samba_4_0_waf;compiler=cc | |||||
2010-07-31 | s4:dcesrv_netr_LogonGetDomainInfo - improve the client OS informations update | Matthias Dieter Wallnöfer | 1 | -19/+8 | |
As ekacnet pointed out on the mailing list we don't need to do a delete if we (re)set the values afterwards - only if we don't set any new ones. | |||||
2010-07-31 | s4:blackbox/newuser: use test specific user names | Stefan Metzmacher | 1 | -10/+10 | |
As this test doesn't delete the user accounts at the end, we should use test specific user names. That lowers the chance of conflicts with other tests. metze | |||||
2010-07-31 | s4:selftest: skip samba4.blackbox.ktpass for now as it's not portable | Stefan Metzmacher | 1 | -0/+3 | |
ktutil might not be installed or from MIT. We should build a samba4ktutil and use that instead, until then we need to skip this test. metze | |||||
2010-07-31 | s4:librpc/rpc: use the correct ndr flags in dcerpc_ndr_validate_in() | Stefan Metzmacher | 1 | -0/+16 | |
metze | |||||
2010-07-30 | s4-smbtorture: remove ifdefed symlink test, this is already skipped internally | Günther Deschner | 1 | -2/+0 | |
in the s3 case. Guenther | |||||
2010-07-30 | Revert "s4-torture: Disable setting REG_BINARY printer data with size 0." | Günther Deschner | 1 | -4/+0 | |
This reverts commit 104c419345a42a9a02ae25df482f449dc41a6380. | |||||
2010-07-29 | s4-test: Expand DSSYNC test to be executed against all partitions | Kamen Mazdrashki | 1 | -17/+49 | |
It is still possible to supply specific partition to test with on command line using --option="dssync:partition={PARTITION_DN}" | |||||
2010-07-29 | s4-test-dssync: Issue warning in case we have diffrences in link attributes | Kamen Mazdrashki | 1 | -4/+33 | |
In case differences in messages are: 1. Attributes with different values, i.e. 'replace' 2. Those attributes are back-link attributes then we just warn about those differences. It turns out windows doesn't send all values for back-link attributes in replicated_object but in linked_attributes. I consider this as workaround for the problem. A better solution might be to merge linked_attribute values into replacted_objects before comparing those with LDB result (although this will work for Win2k8 and latter) | |||||
2010-07-29 | s4-test: Simplify test_GetInfo() - we have what we need through LDB connection | Kamen Mazdrashki | 1 | -79/+12 | |
we have already opened. Added 'config_dn' and 'schema_dn' members which are to be used later for extending the test_FetchData() to be executed against every partition in case partition is not specified explicitly. DsSyncText.site_name was removed also as it is not used anymore | |||||
2010-07-29 | s4-ldb: use TALLOC_CTX type instead of 'void' | Kamen Mazdrashki | 9 | -49/+49 | |
2010-07-27 | s4-torture: Enable tests with keynames including a slash. | Andreas Schneider | 1 | -12/+2 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-27 | Revert "s4-smbtorture: skip driverName and printerName DsSpooler tests for now." | Andreas Schneider | 1 | -2/+2 | |
This reverts commit 23eb2888d94b34822e4c49b1d62f4bd3fac43fcf. Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-27 | s4-torture: Disable setting REG_BINARY printer data with size 0. | Andreas Schneider | 1 | -0/+4 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-19 | waf-idl: put the gen_ndr/README file for source3 back | Andrew Tridgell | 1 | -0/+3 | |
This was removed by 100d37fc4624690423f6a932709b3f9046d05c64, probably accidentially. | |||||
2010-07-19 | s4: Remove trailing whitespaces | Kamen Mazdrashki | 2 | -13/+13 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | ldb: Mark _DEPRECATED_ ldb_msg_diff() and ldb_msg_canonicalize() functions | Kamen Mazdrashki | 1 | -2/+28 | |
They are not quite safe to use (requires caller to steal resulting message in own context) and may lead to holding memory for too long. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-dsdb: use ldb_msg_normalize() in ldb_msg_difference() | Kamen Mazdrashki | 1 | -6/+8 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-test: Use ldb_msg_normalize() in sqlite3 backend | Kamen Mazdrashki | 1 | -4/+13 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-test: Use ldb_msg_normalize() in torture/rpc/dssync.c test | Kamen Mazdrashki | 1 | -2/+4 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-dsdb: use ldb_msg_normalize() in ldbadd-process_file() | Kamen Mazdrashki | 1 | -1/+9 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-dsdb: use ldb_msg_normalize() in source4/lib/ldb/common/ldb.c | Kamen Mazdrashki | 1 | -5/+7 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-dsdb: use ldb_msg_normalize() in source4/dsdb/schema/schema_set.c | Kamen Mazdrashki | 1 | -5/+4 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-ldb: Add ldb_msg_normalize() to accept a memory context from client | Kamen Mazdrashki | 2 | -12/+46 | |
Previos implementation from ldb_msg_canonicalize() was moved into this function and now ldb_msg_canonicalize() is based on ldb_msg_normalize() Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add() | Kamen Mazdrashki | 1 | -4/+10 | |
Previous implementation was 'leaking' attribute name string, that is allocated by ldb_msg_add_empty() Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add_empty() | Kamen Mazdrashki | 1 | -22/+17 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-ldb: Add separate function to add empty element into ldb_msg | Kamen Mazdrashki | 1 | -0/+30 | |
It just adds another element, nothing more. Caller is responsible to fill-in the added element and determine how to handle data allocation contexts. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-ldb: Write more explanatory comment for ldb_msg_add() | Kamen Mazdrashki | 1 | -3/+8 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-pyldb: Use ldb_msg_difference() in py_ldb_msg_diff() | Kamen Mazdrashki | 1 | -2/+10 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-test: Use ldb_msg_difference() in torture/rpc/dssync.c test | Kamen Mazdrashki | 1 | -3/+6 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> |