Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-11 | s4/test-libnet: Fix compile-time warning | Kamen Mazdrashki | 1 | -1/+1 | |
2010-06-11 | Adjusted ACL tests to use encripted connection. | Nadezhda Ivanova | 1 | -120/+69 | |
This way we get rid of the conditional if.Samba checks, because users are successfully created and enabled. | |||||
2010-06-11 | s4:rootdse LDB module - use LDB result constants | Matthias Dieter Wallnöfer | 1 | -4/+5 | |
2010-06-11 | s4:passwords.py - set the "dSHeuristics" | Matthias Dieter Wallnöfer | 1 | -0/+33 | |
As per Nadia's request and abartlet's suggestion the test now also sets the "dSHeuristics" attribute properly to be able to perform the tests also against Windows without further configuration. The code has the neat feature that it undoes the change and resets the behaviour as it was before. | |||||
2010-06-11 | s4:passwords.py - use "self" before "enable_account" to make really sure ↵ | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
which LDB connection should be used | |||||
2010-06-11 | s4:ldap.py - check how the directory server behaves when the ↵ | Matthias Dieter Wallnöfer | 1 | -2/+12 | |
'distinguishedName' attribute wasn't set correctly (On add operations the server does completely ignore it and uses the "header" DN) | |||||
2010-06-11 | s4:ldap.py - check if the "name" of an entry was really ignored | Matthias Dieter Wallnöfer | 1 | -2/+7 | |
2010-06-11 | ldb:ldb_sqlite3 backend - remove a warning which has already been resolved | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
2010-06-11 | ldb:ldb_sqlite3 backend - remove checks which are now done elsewhere | Matthias Dieter Wallnöfer | 1 | -29/+0 | |
(In SAMBA LDB modules) | |||||
2010-06-11 | Add missing stub functions. | Jelmer Vernooij | 1 | -0/+9 | |
2010-06-11 | s4-python: Fix formatting. | Jelmer Vernooij | 7 | -133/+176 | |
2010-06-11 | s4-smbtorture: rework internals of RPC-SPOOLSS-ACCESS testsuite. | Günther Deschner | 1 | -71/+181 | |
Guenther | |||||
2010-06-11 | s4/test: use test_libnet_context_init() function to create libnet_context | Kamen Mazdrashki | 2 | -24/+23 | |
This way we ensure that LIBNET call will be issued against the DC we are testing against | |||||
2010-06-11 | s4/test: fix SEGFAULT in test_group_create when rid is NULL | Kamen Mazdrashki | 1 | -1/+4 | |
Caller of this function may not need group RID and in such case it passes NULL for rid parameter | |||||
2010-06-11 | s4/test-libnet: Helper func to initialize libnet_context | Kamen Mazdrashki | 1 | -0/+54 | |
and create rpc connections to SAMR and LSA pipes. This function should be used in cases where we need 'deterministic' connection to the DC we are testing against. The problem is that most of the test follow the pattern: 1. Connect to server supplied on command line 2. Create user/group through connection in 1. 3. Use 'fresh' libnet_context to query/alter the object in step 2. In singe-DC environment this work well. But in multiple-DC environment libnet may connect to another DC (step 3), not the one we use in step 1 and 2. This leads to false error - object created in step 2 is not found on DC we are querying in step 3. | |||||
2010-06-11 | s4/test: Call test_user_cleanup with original RDN for the user | Kamen Mazdrashki | 1 | -1/+1 | |
'name' var is changed during the test execution and should contain samAccountName for the user, while test_user_cleanup() expects account RDN to be passed | |||||
2010-06-11 | s4/test: Fix incorrect NTSTATUS comparison | Kamen Mazdrashki | 1 | -2/+2 | |
In case group already exists, we should get NT_STATUS_GROUP_EXISTS. | |||||
2010-06-11 | s4/test: remove create/delete group implementation in API-CREATEGROUP test | Kamen Mazdrashki | 1 | -110/+3 | |
We already have common implementation for create/delete group in libnet/utils.c | |||||
2010-06-11 | s4/test: Remove duplicated test_opendomain() functionality | Kamen Mazdrashki | 1 | -54/+1 | |
We already have a nice common test_domain_open() function in libnet/util.c | |||||
2010-06-11 | s4/test: libnet_user tests should use common test_user_cleanup | Kamen Mazdrashki | 1 | -129/+5 | |
implementation instead of not-so-informative test_cleanup() | |||||
2010-06-11 | s4/test: Refactor test_user_cleanup to be more robust | Kamen Mazdrashki | 1 | -12/+84 | |
We always call this function with user's account RDN while samr_LookupNames() searches for samAccountName. | |||||
2010-06-11 | s4/test: remove duplicated comment | Kamen Mazdrashki | 1 | -3/+0 | |
2010-06-10 | s4:ldap.py - add testcase which demonstrates the reset of the "primaryGroupID" | Matthias Dieter Wallnöfer | 1 | -0/+7 | |
2010-06-10 | s4:samldb LDB module - fix up the case when the old and new "primaryGroupID" ↵ | Matthias Dieter Wallnöfer | 1 | -7/+7 | |
are the same | |||||
2010-06-10 | s4:samldb LDB module - don't create multiple "ac" module contexts on modify ↵ | Matthias Dieter Wallnöfer | 1 | -12/+6 | |
operations Since we do now run sequentially through all checks we don't need multiple "ac" contexts anymore. | |||||
2010-06-10 | s4:dcesrv_samr_Add/DeleteAliasMember - provide better NTSTATUS return codes ↵ | Matthias Dieter Wallnöfer | 1 | -6/+19 | |
when something didn't work | |||||
2010-06-10 | s4:dcesrv_samr_GetAliasMembership - fix type of counter variables | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
2010-06-10 | s4:dcesrv_samr_DeleteAliasMember - add more braces to fit better the coding ↵ | Matthias Dieter Wallnöfer | 1 | -4/+6 | |
styles | |||||
2010-06-10 | s4:dcesrv_samr_AddAliasMembership - Merge the two error blocks into one | Matthias Dieter Wallnöfer | 1 | -6/+3 | |
2010-06-10 | s4:dcesrv_samr_Add/DelGroupMember - remove the account type check | Matthias Dieter Wallnöfer | 1 | -11/+10 | |
MS-SAMR 3.1.5.8 speaks from accounts which are not necessarely only users. | |||||
2010-06-10 | s4:dcesrv_samr_AddGroupMember - also the error code ↵ | Matthias Dieter Wallnöfer | 1 | -0/+1 | |
"LDB_ERR_ATTRIBUTE_OR_VALUE_EXISTS" is allowed This is returned when the group is the primary group of the specified entry. | |||||
2010-06-10 | s4:samba_dsdb LDB module - move the "objectclass_attrs" module back | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
I think it should be lower in order to control also the "instanceType" module. | |||||
2010-06-10 | s4:ldap.py - add a test to demonstrate the 'instanceType' behaviour | Matthias Dieter Wallnöfer | 1 | -0/+39 | |
2010-06-10 | s4:instancetype LDB module - prevent all types of "instanceType" manipulation | Matthias Dieter Wallnöfer | 1 | -0/+16 | |
Also on Windows Server you aren't able to change it. | |||||
2010-06-07 | ldb:pyldb.c - we cannot use "ldb_dn_compare" if both message DNs are NULL in ↵ | Matthias Dieter Wallnöfer | 1 | -3/+5 | |
"py_ldb_msg_compare" Discovered by the testcase. | |||||
2010-06-07 | s4 python: add more unit tests to verify the compare tests | Matthieu Patou | 1 | -0/+19 | |
2010-06-07 | s4:objectclass_attrs LDB module - move the single-valued attribute check ↵ | Matthias Dieter Wallnöfer | 2 | -45/+13 | |
into this module It seems to me more consistent (and also to keep the same behaviour on all backends). Also the DRS hack should therefore not be needed anymore since the "repl_meta_data" module launches requests behind "objectclass_attrs". | |||||
2010-06-07 | s4:rdn_name LDB module - move the "distinguishedName" write prevent check here | Matthias Dieter Wallnöfer | 2 | -7/+6 | |
In my eyes it fits better here than in the TDB backend code. | |||||
2010-06-07 | s4:samba_dsdb LDB module - fix typos | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2010-06-07 | s4:samba_dsdb LDB module - enhance/fix module rule comments | Matthias Dieter Wallnöfer | 1 | -3/+5 | |
2010-06-07 | s4:ldap.py - add some "objectclass" behaviour tests | Matthias Dieter Wallnöfer | 1 | -0/+190 | |
2010-06-07 | s4:objectclass LDB module - rework the code which handles the objectclasses ↵ | Matthias Dieter Wallnöfer | 1 | -149/+191 | |
modification Before it has been very incomplete. We try now to match the Windows Server behaviour as close as possible. | |||||
2010-06-07 | s4:ldap.py - enhance the attributes testcase to demonstrate how the ↵ | Matthias Dieter Wallnöfer | 1 | -2/+75 | |
attributes are checked against the schema and the specified objectclasses This demonstrates the bew "objectclass_attrs" LDB module behaviour. | |||||
2010-06-07 | s4:acl LDB module - LDB attribute names should be compared using ↵ | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
"ldb_attr_cmp" or "strcasecmp" | |||||
2010-06-07 | s4:acl LDB module - adaption for "objectclass_attrs" module | Matthias Dieter Wallnöfer | 1 | -5/+15 | |
Since the attribute schema checking code moved back we need to give here the "LDB_ERR_NO_SUCH_ATTRIBUTE" error. | |||||
2010-06-07 | s4:objectclass LDB module - remove "fix_check_attributes" | Matthias Dieter Wallnöfer | 1 | -62/+0 | |
Also this task is now performed by the "objectclass_attrs" LDB module. | |||||
2010-06-07 | s4:samldb LDB module - adjust the module to set always a ↵ | Matthias Dieter Wallnöfer | 1 | -35/+45 | |
"defaultObjectCategory" on objectclass add operations This is needed to make the "objectclass_attrs" LDB module happy. The search check and case adjustment are done as it was using a second modify operation. | |||||
2010-06-07 | s4:remove the "validate_update" LDB module - the task is now handled by the ↵ | Matthias Dieter Wallnöfer | 4 | -141/+0 | |
far more complete "objectclass_attrs" LDB module | |||||
2010-06-07 | s4:dsdb - introduce a new "objectclass_attrs" LDB module which performs the ↵ | Matthias Dieter Wallnöfer | 3 | -0/+401 | |
objectclass attributes checking Until now we had no real consistent mechanism which allowed us to check if attributes belong to the specified objectclasses. | |||||
2010-06-07 | s4:objectclass LDB module - instanciate the schema variable centrally on the ↵ | Matthias Dieter Wallnöfer | 1 | -28/+28 | |
"ac" context creation This unifies the position when the schema is read and prevents multiple instanciations (eg on a modification operation). |