summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* provision: Set the security descriptor while creating partitionsAmitay Isaacs2011-11-162-12/+4
| | | | | | | | With Matthieu's patch, the setting of security descriptor on partition dn at create time works correctly. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Nov 16 08:54:25 CET 2011 on sn-devel-104
* s4-dsdb: rework the NC detection for the descriptor calculationMatthieu Patou2011-11-161-12/+31
| | | | | | | | | This checks if instanceType attribute is available, and if INSTANCE_TYPE_IS_NC_HEAD bit is set. If the bit is set, then the DN is NC root and security descriptor is not inherited from parent SD. Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* s3-s4-upgrade: do not add description if it is empty string or noneAmitay Isaacs2011-11-161-6/+12
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Nov 16 05:53:41 CET 2011 on sn-devel-104
* HEIMDAL:lib/krb5: add utf8 support to build_logon_name() for the PACStefan Metzmacher2011-11-161-18/+49
| | | | | | | | | Pair-Programmed-With: Arvid Requate <requate@univention.de> metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 16 02:00:12 CET 2011 on sn-devel-104
* HEIMDAL:lib/wind: export wind_ucs2write()Stefan Metzmacher2011-11-161-0/+1
| | | | | | Pair-Programmed-With: Arvid Requate <requate@univention.de> metze
* HEIMDAL:lib/winbd: fix wind_ucs2write with WIND_RW_LEStefan Metzmacher2011-11-161-4/+4
| | | | | | Pair-Programmed-With: Arvid Requate <requate@univention.de> metze
* HEIMDAL:lib/wind: fix wind_ucs4utf8() and wind_ucs2utf8()Stefan Metzmacher2011-11-161-5/+5
| | | | | | Pair-Programmed-With: Arvid Requate <requate@univention.de> metze
* s4:partition LDB module - fix handling regarding special DNs on searchesMatthias Dieter Wallnöfer2011-11-151-0/+5
| | | | | | | | | | Normally they should always be passed to the main backend unless something different has been specified. Reviewed-by: abartlet Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Nov 15 22:43:06 CET 2011 on sn-devel-104
* s4:torture/rpc/samr.c - use "NULL" instead of "0" when initialising pointersMatthias Dieter Wallnöfer2011-11-151-1/+1
|
* s4:join.py - fix typoMatthias Dieter Wallnöfer2011-11-151-1/+1
|
* s4:dsdb/schema_data: reject schema update unless they're allowedStefan Metzmacher2011-11-151-0/+12
| | | | | | | | | | | | "dsdb:schema update allowed = yes" is now needed in smb.conf to enable schema updates, as schema updates are a currenty a good way to prevent samba from startup again, because of errors in the schema definition. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 15 13:00:07 CET 2011 on sn-devel-104
* s4:dsdb/schema: add "dsdb:schema update allowed" option to enable schema updatesStefan Metzmacher2011-11-153-2/+17
| | | | | | | By default schema updates are not allowed anymore, as we don't have complete validation code to prevent database corruption. metze
* s4:dsdb/schema_data: reject changes to schemaInfo, msDs-Schema-Extensions, ↵Stefan Metzmacher2011-11-151-0/+28
| | | | | | | | msDS-IntId As windows we return CONSTRAINT_VIOLATION now. metze
* s4:dsdb/schema_data: make sure we reject schema changes if we're not the ↵Stefan Metzmacher2011-11-151-0/+101
| | | | | | schema master metze
* s4:dsdb/schema_data: make sure we only allow objects one level below the ↵Stefan Metzmacher2011-11-151-1/+33
| | | | | | | | | schema base The objectclass module should also check for this, but make sure we also reject it on things like provision. metze
* s4:libnet_vampire: setup base_dn on the self_made_schemaStefan Metzmacher2011-11-151-0/+5
| | | | metze
* s4:libnet_vampire: use dsdb_modify(..., DSDB_FLAG_AS_SYSTEM) to store prefixMapStefan Metzmacher2011-11-151-1/+1
| | | | metze
* s4:param/provision: pass schema_dn to provision_get_schema()Stefan Metzmacher2011-11-154-4/+15
| | | | metze
* s4:dsdb/schema: pass and remember the schema_dn in dsdb_set_schema_from_ldif()Stefan Metzmacher2011-11-152-4/+12
| | | | metze
* s4:dsdb/pydsdb: pass down schema_dn to _dsdb_set_schema_from_ldif()Stefan Metzmacher2011-11-153-6/+7
| | | | metze
* s4:python/samba/schema: pass down the schema_dn to set_from_ldif()Stefan Metzmacher2011-11-151-3/+3
| | | | metze
* s4:dsdb/samldb: use DSDB_FLAG_AS_SYSTEM in samldb_schema_info_update()Stefan Metzmacher2011-11-151-1/+3
| | | | | | We should only be able to update the schemaInfo internaly. metze
* s4:libnet: initialize forest structure in py_net_replicate_init()Stefan Metzmacher2011-11-151-0/+3
| | | | metze
* samba-tool: Don't set UF_PASSWD_NOTREQD flag on "user disable"Giampaolo Lauria2011-11-151-1/+1
| | | | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Nov 15 02:51:16 CET 2011 on sn-devel-104
* samba-tool: Remove "domain machinepassword" commandGiampaolo Lauria2011-11-151-28/+0
| | | | | | | | | | As per Andrew Bartlett's comment: "we should remove it. This was originally a script to support some interactions between samba3 and samba4, when they were in distinct build systems. We now can call between the two systems without difficulty at runtime, so this command has no value." Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* s4-smbtorture: add spoolss_OpenPrinterEx ndr test with full devmode.Günther Deschner2011-11-141-0/+183
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Nov 14 20:21:48 CET 2011 on sn-devel-104
* Fix default value for subunitrun --list.Jelmer Vernooij2011-11-141-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 14 17:27:03 CET 2011 on sn-devel-104
* s4-tests: Use plansmbtorturesuite where possible.Jelmer Vernooij2011-11-141-45/+45
|
* s4-tests: Remove unnecessary py suffix.Jelmer Vernooij2011-11-141-1/+1
|
* s4-tests: Allow listing tests run for iconv.Jelmer Vernooij2011-11-141-5/+6
|
* subunitrun: Don't load smb.conf when just listing tests.Jelmer Vernooij2011-11-141-4/+5
|
* Remove broken code - these lines use undefined symbols.Jelmer Vernooij2011-11-141-7/+2
|
* s4:selftest: samba4.urgent_replication.python needs to run as "dc:local"Stefan Metzmacher2011-11-141-1/+1
| | | | | | | | | As it uses local files on the dc. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 14 15:48:33 CET 2011 on sn-devel-104
* Move testr configuration to root.Jelmer Vernooij2011-11-131-3/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 13 23:19:27 CET 2011 on sn-devel-104
* waf: Don't link python modules against libpython2.x, consistent with other ↵Jelmer Vernooij2011-11-131-1/+1
| | | | | | Python modules. Rather, rely just on waf's pyext feature. This fixes a warning from dh_python2.
* upgrade: use logger.warning.Jelmer Vernooij2011-11-131-4/+4
|
* samba-tool: allow dbcheck to correct the originating_change_time of the ↵Matthieu Patou2011-11-131-0/+34
| | | | | | | deleted object container Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Nov 13 15:47:53 CET 2011 on sn-devel-104
* s4-dsdb: initialize correctly the value of originating_change_time for the ↵Matthieu Patou2011-11-131-2/+52
| | | | Deleted Object Container
* s4-drs: check if we have a domain level >= 2k8r2 as before the isRecycled do ↵Matthieu Patou2011-11-131-7/+24
| | | | | | | not exists and so is always False Having a false value cause the link on removed attribute to be always returned which is what we try to avoid.
* samba-tool: dbcheck avoid problems with deleted objectsMatthieu Patou2011-11-131-1/+1
| | | | | | We have to search for deleted objects as well as the previous search might have been done with the show_deleted control. If not samba-tool fails with no such DN error while fetching the object.
* s4: Simple test script to create lots of contacts to stress the LDBMatthieu Patou2011-11-111-0/+96
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Nov 11 22:02:53 CET 2011 on sn-devel-104
* s4-librpc: do not limit to the first IP when trying to do a rpc connectionMatthieu Patou2011-11-111-7/+25
| | | | | | | | The function continue_ip_resolve_name was calling resolve_name_recv which returns only the first IP for a given hostname. Instead we use resolve_name_multiple_recv which returns all the IP for a given hostname. This kind of problem can occur if a host has more than 1 IP but is listenning only on 1.
* s4-socket: allow connect_multi_next_socket to try all the IP for a given hostMatthieu Patou2011-11-111-12/+21
| | | | | | This fix an incorrect behavior which was that if a host has 2 IP but was listening on only 1 (and the second one) connect_multi_next_socket was not able to connect because it used only the first result.
* policy/tests: Fix import of TestCase.Jelmer Vernooij2011-11-111-2/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 11 01:10:49 CET 2011 on sn-devel-104
* selftesthelper: Fix argument order.Jelmer Vernooij2011-11-101-1/+1
|
* selftest: Make planoldpythontestsuite arguments consistent with ↵Jelmer Vernooij2011-11-101-1/+1
| | | | planpythontestsuite.
* selftest: Simplify calling of python tests.Jelmer Vernooij2011-11-101-14/+39
|
* selftest: Allow passing arbitrary number of additional python path values.Jelmer Vernooij2011-11-101-1/+1
|
* ldb: Re-apply pyldb fixes from Tridge and Amity, using unittest ratherJelmer Vernooij2011-11-101-1/+1
| | | | than samba.tests.
* subunitrun: Add notes about subunitrun being deprecated.Jelmer Vernooij2011-11-101-0/+12
|