summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-ldb: implement LDB_FLAG_INTERNAL_DISABLE_SINGLE_VALUE_CHECKAndrew Tridgell2010-11-042-13/+12
| | | | | | | this disables the single value checking for one attribute. It is much more specific than a general RELAX control, and also more efficient. I think we should try to have more precise overrides like this, rather than using RELAX as a general purpose override
* s4-ldb: don't load modules from the same directory twiceAndrew Tridgell2010-11-041-4/+4
| | | | | | | this prevents samba dying if you do a 'make install' while it is running. Otherwise the make install changes the inode numbers of the modules in the modules directory, causing them to reload, which causes multiple modules of the same name to try and load
* s4-ldb: honor controls on search in ldbeditAndrew Tridgell2010-11-043-1/+81
|
* Move the checking of single valued attributes back into the tdb backend.Andrew Tridgell2010-11-042-12/+44
| | | | | | | | | | | | | The backend is the only place that can do this properly. It makes no sense to do it anywhere else. As a result of it moving out of the backend we ended up with some bugs causing multiple values in single valued attributes (eg. isDeleted), which can really damage the inregrity of the database. For the override of single valued values needed for deleted linked attributes we should use attribute flags. This reverts commit 1949864417f3d10fb8996df7db259649eb777271.
* s4-test: fixed quoting in deletetest.pyAndrew Tridgell2010-11-041-1/+1
|
* s4-auth: unconditionally set previous_evAndrew Tridgell2010-11-041-3/+1
| | | | | | we need the caller to know when the previous_ev was NULL Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Speed test with user objectsZahari Zahariev2010-11-041-0/+191
| | | | | | | | | | | This is a modest speed test that aims to show performance difference between Samba4 vs MS Active Directory. It should be used with Samba-style credentials and no arguments like every other python unittest. Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-User: Anatoliy Atanasov <anatoliy@samba.org> Autobuild-Date: Thu Nov 4 00:11:20 UTC 2010 on sn-devel-104
* build: a more portable way of finding waf in makefilesAndrew Tridgell2010-11-031-3/+1
| | | | | | | this avoids using the non-portable shell command in makefiles Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 22:44:59 UTC 2010 on sn-devel-104
* selftest/tests.py: Fix typos.Jelmer Vernooij2010-11-031-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Nov 3 19:55:55 UTC 2010 on sn-devel-104
* provision: Look for in source setup data first, in case an older versionJelmer Vernooij2010-11-031-16/+28
| | | | of samba 4 is installed in the system.
* samba: Make in_source_tree() public.Jelmer Vernooij2010-11-031-3/+3
|
* urgent_replication: Fix formattingJelmer Vernooij2010-11-031-33/+33
|
* possibleinferiors: Report subunit.Jelmer Vernooij2010-11-031-4/+8
|
* possibleinferiors: Fix formatting.Jelmer Vernooij2010-11-031-15/+14
|
* s4:dsdb/samldb: avoid nested unindexed searches in samldb_member_check()Stefan Metzmacher2010-11-031-14/+31
| | | | | | With 20000 objects in the database it's no fun to add members... metze
* s4:dsdb/tests/python/sam.py: test with member: <SID=...>Stefan Metzmacher2010-11-031-0/+16
| | | | metze
* s4:descriptor LDB module - a bit cleanupMatthias Dieter Wallnöfer2010-11-031-13/+34
| | | | | | | | | - add more OOM checks where needed - remove message of an error which cannot happen anymore (since now the structural objectclass is always checked by the objectclass LDB module) Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 3 18:30:52 UTC 2010 on sn-devel-104
* s4:sam.py - assign valid values when performing the special-attributes ↵Matthias Dieter Wallnöfer2010-11-031-3/+3
| | | | | | | | | constraint checks The problem is that s4 per construction does the checks in a different order. It first checks for validity (pre-operation trigger in samldb LDB module) and then for the schema (post-operation trigger in objectclass_attrs LDB module). constraints (post-operation trigger
* s4:samldb LDB module - improve the "get_single_valued_attr" call and move it ↵Matthias Dieter Wallnöfer2010-11-032-84/+36
| | | | | | into "ldb_modules/util.c" It will be used by other LDB modules as well.
* s4:objectclass_attrs LDB module - introduce the hardcoded delete-protected ↵Matthias Dieter Wallnöfer2010-11-031-1/+19
| | | | | | attributes list This is a hardcoded list in AD of attributes, which can never be deleted.
* pydsdb: Import testtools before subunit for those that don't haveJelmer Vernooij2010-11-039-32/+19
| | | | | | | | | testtools installed. Also, cleanup some imports. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Nov 3 17:47:55 UTC 2010 on sn-devel-104
* s4:objectclass LDB module - the structural objectclass has always to be ↵Matthias Dieter Wallnöfer2010-11-032-0/+25
| | | | | | | specified Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 3 16:20:55 UTC 2010 on sn-devel-104
* s4:objectclass_attrs LDB module - refactor the "dSHeuristics" checkerMatthias Dieter Wallnöfer2010-11-031-12/+9
| | | | | The checks are done when there are more than 0 values. The other checks should be performed by the other parts of the module.
* s4:objectclass_attrs LDB module - simplify the invoke of the "dSHeuristics" ↵Matthias Dieter Wallnöfer2010-11-031-3/+4
| | | | | | checker It's always invoked on add and modify operations.
* s4-tests: Tests for the dSHeuristics attribute value restrictionsNadezhda Ivanova2010-11-031-0/+41
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Nov 3 13:58:42 UTC 2010 on sn-devel-104
* s4-dsdb: Implemented value restrictions for the dSHeuristics attributeNadezhda Ivanova2010-11-031-1/+27
|
* s4-server: cleanup allocation of process modelsAndrew Tridgell2010-11-032-10/+6
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 10:40:52 UTC 2010 on sn-devel-104
* s4-ldb: fixed sorting of module namesAndrew Tridgell2010-11-031-1/+6
| | | | | | this should also fix a valgrind error on freebsd thanks to Matthieu for spotting this
* s4:objectguid LDB module - remove "objectguid_find_attribute"Matthias Dieter Wallnöfer2010-11-031-17/+1
| | | | | | | | | | It's exactly the same as "ldb_msg_find_element". In addition remove a comment which points out a "fixme" for a semi-async call since we started to permit them again. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 3 09:29:46 UTC 2010 on sn-devel-104
* s4:RPC server - always set the response pad data in base of the request oneMatthias Dieter Wallnöfer2010-11-031-0/+2
| | | | Otherwise it could remain uninitialised - should fix bug #7769.
* s4:RPC server - cosmetic fixes - indentation, commentsMatthias Dieter Wallnöfer2010-11-033-7/+9
|
* s4:waf - fix the build on Gentoo platformsPhilip M. White2010-11-034-7/+15
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4-test: if using a system version of ldb, override the ldb modules pathAndrew Tridgell2010-11-031-0/+5
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 04:13:22 UTC 2010 on sn-devel-104
* s4-ldb: make ldbtest depend on ldbAndrew Tridgell2010-11-031-1/+1
|
* waf: added reconfigure targets to our librariesAndrew Tridgell2010-11-031-0/+5
| | | | | This allows you to do "make reconfigure" to re-run configure only if needed
* s4-build: use -Wl,--as-needed if supportedAndrew Tridgell2010-11-031-0/+6
| | | | | | | | this makes our runtime load times smaller, and also means we find bugs that this may cause on gentoo. gentoo uses this by default Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 00:35:56 UTC 2010 on sn-devel-104
* s4-ldb: give the user a hint as to what may be wrongAndrew Tridgell2010-11-021-2/+2
| | | | | | | | when a backend or module can't be found, give a hint about the LDB_MODULES_PATH environment variable Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 2 21:28:22 UTC 2010 on sn-devel-104
* s4-dsdb: removed the use of ldb_private.h from s4Andrew Tridgell2010-11-0310-125/+59
| | | | this will allow s4 to use a system version of ldb
* s4-ldb: expose some more ldb module functionsAndrew Tridgell2010-11-037-22/+383
| | | | | this exposes enough functions for s4 to not need ldb_private.h any more.
* s4-selftest Run RPC-PAC against all the DC environments.Andrew Bartlett2010-11-021-1/+3
| | | | | | | | | | This is important, as it will validate that the PAC handling is correct with the different encryption types. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 2 11:45:50 UTC 2010 on sn-devel-104
* s4-process_model Fix valgrind-found use of un-initialised variableAndrew Bartlett2010-11-021-0/+1
| | | | | | | The relloc didn't zero the structure for the new process modal, and so m->initialised wasn't initialised. Andrew Bartlett
* s4-torture Add tests for DES-only accounts PAC behaviour/validation.Andrew Bartlett2010-11-023-3/+83
| | | | | | | | Previously we didn't support DES-only in a Samba4 domain. This is important for some legacy systems that have not yet migrated from this weak crypto. Andrew Bartlett
* heimdal Add handling for PAC signatures over all encryption typesAndrew Bartlett2010-11-022-24/+89
| | | | | | | | There are exceptions from the expected behaviour of 'checksum type matches key type' that we must deal with here, or else we can't serve DES-only servers. Andrew Bartlett
* s4-torture Remove torture/locktest2.c (no longer compiled and unused)Andrew Bartlett2010-11-011-578/+0
| | | | | | | This is a left-over of a speculative approach to lock testing that didn't go anywhere. Andrew Bartlett
* s4-ldb: removed ldb_includes.hAndrew Tridgell2010-11-0119-29/+54
| | | | | | | it causes problems with the openchange build as it is not installed Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 1 21:49:47 UTC 2010 on sn-devel-104
* s4:samldb LDB module - the "sAMAccountName" cannot be substituted by nothingMatthias Dieter Wallnöfer2010-11-012-2/+29
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Nov 1 14:36:24 UTC 2010 on sn-devel-104
* s4:sam.py - additional testing for "servicePrincipalName" updatesMatthias Dieter Wallnöfer2010-11-011-12/+207
|
* s4:samldb LDB module - support now the full "servicePrincipalName" update ↵Matthias Dieter Wallnöfer2010-11-011-30/+96
| | | | | | trigger With "dNSHostName" and/or "sAMAccountName" updates
* s4:samldb LDB module - "sAMAccountName" checkerMatthias Dieter Wallnöfer2010-11-011-2/+2
| | | | | We need a "talloc_steal" for the retrieved "sAMAccountName" since the memory is afterwards freed using the "talloc_free" call.
* s4-ldb: use ldb_set_modules_dir() to load additional ldb modulesAndrew Tridgell2010-11-012-8/+12
| | | | | | | | this allows ldb_wrap to enable s4 modules in a standalone ldb install without any additional installation Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 1 13:47:33 UTC 2010 on sn-devel-104