summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-11-24s4-dynconfig: override more paths when running from the build directoryAndrew Tridgell4-9/+16
this ensures consistency between binaries and scripts when testing as a developer
2010-11-24s4-kcc: disable the NDR printing of DRS getinfo requestsAndrew Tridgell1-0/+4
2010-11-23pyldb: Fix broken test.Jelmer Vernooij2-1/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 23 23:20:38 CET 2010 on sn-devel-104
2010-11-23s4-tests: Modified acl.py to use samdb.newgroup instead of custom methods.Nadezhda Ivanova1-43/+15
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Nov 23 21:46:07 CET 2010 on sn-devel-104
2010-11-23s4-dsdb: Changed filter to find the account of a user by samAccountNameNadezhda Ivanova1-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.
2010-11-23s4-test/repl_schema: Refactor the test a little bit toKamen Mazdrashki1-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
2010-11-23s4-tests: Make all DRS python tests to start with samba4.drs.* prefixKamen Mazdrashki1-3/+3
2010-11-23s4-pfm_verify: Explicitly pass LoadParm() instance to system_session() functionKamen Mazdrashki1-1/+1
Otherwise system_session() creates a LoadParm() instance wich resets certain params to their defaults from smb.conf ("log level" for instance)
2010-11-23s4-tests: Modified sec_descriptor.py to use samdb.newuser instead of custom ↵Nadezhda Ivanova1-47/+22
methods. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Nov 23 17:58:38 CET 2010 on sn-devel-104
2010-11-23s4-tests: Modified acl.py to use samdb.newuser instead of custom methods.Nadezhda Ivanova1-86/+68
2010-11-23s4-dsdb: Extended samdb.newuser to accept security descriptor for the object ↵Nadezhda Ivanova1-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.
2010-11-23s4-tests: Modified sec_descriptor.py to use SamDB.create_ou()Nadezhda Ivanova1-35/+20
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Nov 23 14:19:34 CET 2010 on sn-devel-104
2010-11-23s4-tests: Modified acl.py to use SamDB.create_ou()Nadezhda Ivanova1-84/+70
2010-11-23s4-dsdb: Added a python method to SamDB for creating organizationalUnitsNadezhda Ivanova1-1/+29
2010-11-23s4-ldb: added an environment varibale LDB_WARN_UNINDEXEDAndrew Tridgell6-10/+16
when LDB_WARN_UNINDEXED is set, we produce warnings about unindexed searches. This makes it easier to find performance problems caused by unindexed searches.
2010-11-23s4-tests: Ldap tests now use the get_dsheuristics and set_dsheuristics from ↵Nadezhda Ivanova1-25/+6
SamDB. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Nov 23 11:08:37 CET 2010 on sn-devel-104
2010-11-23s4-tests: Password tests now use the get_dsheuristics and set_dsheuristics ↵Nadezhda Ivanova1-44/+9
from SamDB.
2010-11-23s4-tests: Acl tests now use the get_dsheuristics and set_dsheuristics from ↵Nadezhda Ivanova1-23/+7
SamDB.
2010-11-23s4-dsdb: Added python helpers for getting and seting dSHeuristics to SamDBNadezhda Ivanova1-0/+24
2010-11-22service_ldap, service_smb: Lowercase output file names.Jelmer Vernooij2-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 22 20:28:14 CET 2010 on sn-devel-104
2010-11-22s4-tests: Adapted passwords.py to use set_minPwdAge from SamDB.Nadezhda Ivanova1-11/+3
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Mon Nov 22 18:39:06 CET 2010 on sn-devel-104
2010-11-22s4-tests: Adapted acl.py to use set_minPwdAge from SamDB.Nadezhda Ivanova1-10/+3
2010-11-22s4-dsdb: Added a helper to python SamDB for retrieving and setting minPwdAge.Nadezhda Ivanova1-0/+15
2010-11-22s4-test/repl_schema: Remote global ldb connectionsKamen Mazdrashki1-25/+7
Although unlikely, Jelmer pointed out that using persistent SamDB connections between test may interfere with tests behaviour (and is not xUnit compliant anyway) Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Nov 22 15:24:03 CET 2010 on sn-devel-104
2010-11-22s4-tests: Wrap connect_samdb() into a connect_samdb_ex() helperKamen Mazdrashki1-0/+18
Thus caller will be able to connect to SamDB and fetch RootDSE info in a single step
2010-11-22s4-samba.tests: Explicitly pass LoadParm() instance to system_session() functionKamen Mazdrashki1-1/+1
Otherwise system_session() creates a LoadParm() instance wich resets certain params to their defaults from smb.conf ("log level" for instance)
2010-11-22s4-pfm_verify: fix usage stringKamen Mazdrashki1-1/+1
Thanks Tridge!
2010-11-22Avoid the use of PyAPI_DATA, which is for internal Python API's.Arnaud Faucher6-19/+14
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 22 00:52:56 CET 2010 on sn-devel-104
2010-11-21selftest: When running on the buildfarm, pipe everything throughJelmer Vernooij1-0/+2
filter-subunit for the exit code. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 21 23:56:23 CET 2010 on sn-devel-104
2010-11-21selftest: fix tap2subunit detection on system with tap2subunit but not ↵Matthieu Patou1-1/+6
correct subunit libs Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Nov 21 16:21:54 CET 2010 on sn-devel-104
2010-11-21s4:provision_rootdse_add.ldif - add all possible LDAP policy values but ↵Matthias Dieter Wallnöfer1-0/+12
outcommented for the moment It would be nice if someone could activate them as needed. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 21 14:41:53 CET 2010 on sn-devel-104
2010-11-21s4-ldb: fixed the build with a space in the ldb modules directory nameAndrew Tridgell1-1/+1
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Nov 21 13:57:14 CET 2010 on sn-devel-104
2010-11-21heimdal: fixed the waf build with a space in the directory nameAndrew Tridgell2-26/+26
2010-11-21s4-rpc: make rpc connect less verboseAndrew Tridgell1-1/+1
2010-11-20s4:repl_meta_data LDB module - fix a counter typeMatthias Dieter Wallnöfer1-2/+4
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 20 22:32:06 CET 2010 on sn-devel-104
2010-11-20s4:repl_meta_data LDB module - move the "objectGUID" checks a bit higherMatthias Dieter Wallnöfer1-29/+29
- they don't need the allocated "ac" context - some small code cleanups
2010-11-20s4:objectclass_attrs LDB module - add more delete protected attributesMatthias Dieter Wallnöfer2-86/+50
And enhance the testsuite
2010-11-20s4:samldb LDB module - objectclass trigger - reorder template attributesMatthias Dieter Wallnöfer1-9/+10
2010-11-20pyrpc: Build the samba.dcerpc.srvsvc module.Ricardo Jorge1-0/+5
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Nov 20 19:52:36 CET 2010 on sn-devel-104
2010-11-20heimdal: Don't depend on compile_asn1 and et_compile when using system versions.Arnaud Faucher1-3/+5
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Nov 20 16:43:47 CET 2010 on sn-devel-104
2010-11-20s4:acl LDB module - it's more correct to count the password attributes using ↵Matthias Dieter Wallnöfer1-3/+6
"unsigned int" Since these are derived from a LDB result. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 20 11:29:07 CET 2010 on sn-devel-104
2010-11-20ldb:rdn_name LDB module - add more RDN name constraintsMatthias Dieter Wallnöfer2-5/+69
And some small cleanups Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 20 00:06:35 CET 2010 on sn-devel-104
2010-11-19ldb:ldb_rename on ldap backends - handle the case when the RDN value is emptyMatthias Dieter Wallnöfer2-2/+2
Otherwise we get "<RDN name>=(null),..."
2010-11-19s4:netlogon/LogonGetDomainInfo - handle a NULL "dns_hostname"Matthias Dieter Wallnöfer2-27/+57
- Performs the short computer name check against the sam account name. - Enhances the LogonGetDomainInfo testsuite which checks the NULL "dns_hostname" behaviour Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Nov 19 12:50:33 CET 2010 on sn-devel-104
2010-11-19s4:torture/ldb/ldb.c - add a small test for a DN with an escaped commaMatthias Dieter Wallnöfer1-0/+6
2010-11-19s4:dsdb tests - use even more already defined pyldb functions to retrieve NCsMatthias Dieter Wallnöfer5-39/+8
2010-11-19wintest: moved to top levelAndrew Tridgell3-970/+0
the plan is to expand wintest to test a lot more of Samba against windows, including testing the Samba3 file server, winbind, nmbd etc
2010-11-18s4-wintest: reliability and usability improvementsAndrew Tridgell3-116/+166
- allow for missing VMs - improved VM names - added join of w2k3 to Samba domain - cope with w2k3 dcpromo output - wait for port 139 not 23, to avoid windows telnet server bug Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 18 23:56:11 CET 2010 on sn-devel-104
2010-11-18s4-rodc: enable the DRS_GET_ALL_GROUP_MEMBERSHIP flag for RODC replicationAndrew Tridgell2-1/+3
see the description of this flag in [MS-DRSR]
2010-11-18s4-join: initially disable the machine accountAndrew Tridgell1-1/+8
enable after a password is set