summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* ldb-tdb: Add more information about full scanMatthieu Patou2010-11-261-1/+7
|
* s4:rootdse LDB module - remove unused variableMatthias Dieter Wallnöfer2010-11-261-1/+0
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Nov 26 13:58:27 CET 2010 on sn-devel-104
* s4:objectclass LDB module - simply use "msg" when requesting the messageMatthias Dieter Wallnöfer2010-11-261-2/+2
|
* s4:objectclass LDB module - move the "mem_ctx" allocation to a better placeMatthias Dieter Wallnöfer2010-11-261-7/+6
| | | | It's only needed if we've a schema around.
* s4-dsdb Reorganise and clarify the LSA objectClass check (forbidden on LDAP)Andrew Bartlett2010-11-261-15/+28
| | | | | | | | | | | | | | | This arranged the check to avoid talloc_strdup() (the schema pointers are constant, and can be relied upon), and checks the untrusted bit first (it is faster), before the ldb_attr_cmp(). The strcmp() here was valid, if unusual, because the ldapDisplayName values are already in the correct case, but strcasecmp() is more correct, as for the small extra cost, we avoid a difficult to diagnose bug later. Andrew Bartlett Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4-objectclass Use a specific local variable name, not 'value'Andrew Bartlett2010-11-261-4/+5
| | | | | | | | This makes it clearer what the local variable in use here does. Andrew Bartlett Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4-kcc: fixed valgrind errors in drs replicaInfo server sideAndrew Tridgell2010-11-261-7/+5
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Nov 26 03:52:30 CET 2010 on sn-devel-104
* s4-provision: fixed eadb automatic and manual setting in provisionAndrew Tridgell2010-11-263-21/+18
| | | | | | we should not set posix:eadb in lp in the acl native test code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision: don't try to look for an IPv6 address when not specifiedAndrew Tridgell2010-11-261-11/+0
| | | | | | | | the getaddrinfo() method of finding an IPv6 address is incorrect. We could do it via the Samba interfaces code, but until we have that it is better to not try to auto-detect IPv6 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb Remove rootDSE and anonymous checks from acl_readAndrew Bartlett2010-11-261-15/+0
| | | | | | | | | | The rootdse module handles rootDSE requests, and blocks anonymous access, so we on't need to do it again here. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Nov 26 00:36:19 CET 2010 on sn-devel-104
* s4-dsdb Add 'block anonymous' checks to the rootdse moduleAndrew Bartlett2010-11-261-0/+100
| | | | | | | This ensures that one single point checks for and blocks anonymous read access to the database over LDAP. Andrew Bartlett
* s4-dsdb Remove mem_ctx argument from dsdb_module_find_dsheuristics().Andrew Bartlett2010-11-262-4/+3
| | | | | | A function that does not return memory should not take a memory context. Andrew Bartlett
* s4-tests: Made acl tests to reconnect if dSHeuristics is being manipulatedNadezhda Ivanova2010-11-251-28/+25
| | | | | | | Also made password tests set dSHeuristics only once rather that once per test. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 25 20:48:38 CET 2010 on sn-devel-104
* s4-tests: Modified create_ou to only accept security.descriptor type for sd ↵Nadezhda Ivanova2010-11-252-45/+31
| | | | | | | | | to avoid confusion It used to work with sddl as well, but this is confusing and could lead to errors. It also caused a message about tallocing a security descriptor to appear. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 25 19:46:42 CET 2010 on sn-devel-104
* s4-dsdb: Switched to using a dictionary in create_ou for consistency.Nadezhda Ivanova2010-11-251-4/+2
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 25 14:12:52 CET 2010 on sn-devel-104
* s4-dsdb: Fixed wrong assignment of name attribute to description atribute in ↵Nadezhda Ivanova2010-11-251-1/+1
| | | | create_ou.
* s4:lsa RPC server / objectclass LDB module - fix the creation of trusted ↵Matthias Dieter Wallnöfer2010-11-252-9/+3
| | | | | | | | | | | domain objects Tridge pointed out that it is to dangerous to allow them to be created with SYSTEM permissions. The solution using the "untrusted" flag should be much more viable. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 25 13:05:56 CET 2010 on sn-devel-104
* s4-tests: Modified speedtest.py to use samba.tests.delete_forceNadezhda Ivanova2010-11-251-8/+3
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 25 01:28:19 CET 2010 on sn-devel-104
* s4-tests: Modified sec_descriptor.py to use samba.tests.delete_forceNadezhda Ivanova2010-11-251-71/+66
|
* s4-tests: Modified sam.py to use samba.tests.delete_forceNadezhda Ivanova2010-11-251-72/+67
|
* s4-tests: Modified passwords.py to use samba.tests.delete_forceNadezhda Ivanova2010-11-251-12/+7
|
* s4-tests: delete_force was unused, removed it.Nadezhda Ivanova2010-11-251-5/+0
|
* s4-tests: Modified ldap_schema.py to use samba.tests.delete_forceNadezhda Ivanova2010-11-251-8/+3
|
* s4-tests: Modified ldap.py to use samba.tests.delete_forceNadezhda Ivanova2010-11-251-93/+88
|
* s4-tests: Modified deletetest.py to use samba.tests.delete_forceNadezhda Ivanova2010-11-251-18/+14
|
* s4-tests: Modified bind.py to use samba.tests.delete_forceNadezhda Ivanova2010-11-251-7/+2
|
* s4-tests: Modified acly.py to use common delete_force instead of defining ↵Nadezhda Ivanova2010-11-251-60/+55
| | | | its own.
* s4-tests: Added a common definition of delete_force.Nadezhda Ivanova2010-11-251-0/+6
|
* s4-smbtorture: pick a better printer in RPC-SPOOLSS-ACCESS.Günther Deschner2010-11-241-1/+8
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 24 22:07:33 CET 2010 on sn-devel-104
* s4:objectclass LDB module - LSA objects - allow them if the SYSTEM control ↵Matthias Dieter Wallnöfer2010-11-242-5/+9
| | | | | | | | | is specified This fits better than the RELAX one. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 24 18:23:01 CET 2010 on sn-devel-104
* s4:objectclass LDB module - move one checks into the "objectclass derivation ↵Matthias Dieter Wallnöfer2010-11-241-11/+17
| | | | | | | | | loop" This denies objects created from possible derivated classes from the prohibited ones. Also small cosmetic improvements for another check.
* s4:objectclass LDB module - some more or less cosmetic return value macro ↵Matthias Dieter Wallnöfer2010-11-241-14/+22
| | | | | | changes Sometimes "ldb_module_oom" fits better than "ldb_operr" or "ldb_oom".
* s4-tests: Modified sec_descriptor to use samdb.newgroup instead of locally ↵Nadezhda Ivanova2010-11-241-48/+50
| | | | | | | defined method. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Nov 24 17:38:28 CET 2010 on sn-devel-104
* s4-dsdb: Extended samdb.newgroup to set the group's security descriptor.Nadezhda Ivanova2010-11-241-1/+5
|
* s4-setup correct the require BIND version for Dynamic DNSAndrew Bartlett2010-11-241-1/+1
|
* s4-devel: we don't need to override these scripts nowAndrew Tridgell2010-11-241-2/+0
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 24 01:02:43 CET 2010 on sn-devel-104
* s4-dynconfig: override more paths when running from the build directoryAndrew Tridgell2010-11-244-9/+16
| | | | | this ensures consistency between binaries and scripts when testing as a developer
* s4-kcc: disable the NDR printing of DRS getinfo requestsAndrew Tridgell2010-11-241-0/+4
|
* pyldb: Fix broken test.Jelmer Vernooij2010-11-232-1/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 23 23:20:38 CET 2010 on sn-devel-104
* s4-tests: Modified acl.py to use samdb.newgroup instead of custom methods.Nadezhda Ivanova2010-11-231-43/+15
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Nov 23 21:46:07 CET 2010 on sn-devel-104
* s4-dsdb: Changed filter to find the account of a user by samAccountNameNadezhda Ivanova2010-11-231-2/+1
| | | | | | In newuser, a filter by dn was given to setpassword to find the account whose password is to be reset. It appears however that if given filter of type (dn=CN=smth) Windows fails to return the entry, and the tests that use newuser fail against it. Changed to use samAccountName instead.
* s4-test/repl_schema: Refactor the test a little bit toKamen Mazdrashki2010-11-231-31/+59
| | | | | | | | | | | | | - Cleanup imports - make sure we have testtools and subunit imported - use dictionaries instead of LDIFs for schema modification so now callers for _make_class can easily add new attributes for created class - simplify a little bit classSchema creation - test attributeSchema replication Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Nov 23 18:44:46 CET 2010 on sn-devel-104
* s4-tests: Make all DRS python tests to start with samba4.drs.* prefixKamen Mazdrashki2010-11-231-3/+3
|
* s4-pfm_verify: Explicitly pass LoadParm() instance to system_session() functionKamen Mazdrashki2010-11-231-1/+1
| | | | | | Otherwise system_session() creates a LoadParm() instance wich resets certain params to their defaults from smb.conf ("log level" for instance)
* s4-tests: Modified sec_descriptor.py to use samdb.newuser instead of custom ↵Nadezhda Ivanova2010-11-231-47/+22
| | | | | | | methods. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Nov 23 17:58:38 CET 2010 on sn-devel-104
* s4-tests: Modified acl.py to use samdb.newuser instead of custom methods.Nadezhda Ivanova2010-11-231-86/+68
|
* s4-dsdb: Extended samdb.newuser to accept security descriptor for the object ↵Nadezhda Ivanova2010-11-231-3/+9
| | | | | | | | | | and optionally skip password reset Sometimes for testing purposes we create users without any permissions on their objects and password reset cannot be performed at that point, and is not necessary. For this purpose we can now optionally skip this step. The default is still to reset the user password. Also, a security.descriptor object can be specified during the user creation to override using the default one. defaultSecurityDescriptor is still used by default.
* s4-tests: Modified sec_descriptor.py to use SamDB.create_ou()Nadezhda Ivanova2010-11-231-35/+20
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Nov 23 14:19:34 CET 2010 on sn-devel-104
* s4-tests: Modified acl.py to use SamDB.create_ou()Nadezhda Ivanova2010-11-231-84/+70
|
* s4-dsdb: Added a python method to SamDB for creating organizationalUnitsNadezhda Ivanova2010-11-231-1/+29
|