summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4 dns: Test QCLASS_NONE queryKai Blin2011-11-241-0/+14
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Nov 24 14:10:45 CET 2011 on sn-devel-104
* s4 dns: Test QTYPE_ALL queryKai Blin2011-11-241-0/+25
|
* s4 dns: Check more of the returned values for the A queryKai Blin2011-11-241-0/+3
|
* s4 dns: Move dns_transaction_udp to other helper functionsKai Blin2011-11-241-13/+14
|
* s4-dns: added --no-credentials option to samba_dnsupdateAndrew Tridgell2011-11-221-3/+10
| | | | | | | | this is for a user who is doing DNS updates via key files rather than GSSAPI. This allows the update to go through without a kerberos error Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 22 06:34:59 CET 2011 on sn-devel-104
* Fix a bunch of "warning: variable ‘XXXX’ set but not used ↵Jeremy Allison2011-11-219-40/+28
| | | | | | | [-Wunused-but-set-variable]" warnings from the new gcc. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Nov 21 23:39:08 CET 2011 on sn-devel-104
* s4-smbtorture: add ndr test for nbt_netlogon_packet to avoid future regressions.Günther Deschner2011-11-201-0/+36
| | | | | | | | | | Guys, we really should make sure to always add ndr tests like this whenever we change some sensitive libndr or handmarshalling bits. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Sun Nov 20 23:10:39 CET 2011 on sn-devel-104
* s4-dsdb: Modify the repl_meta_data behavior to allow Metadata change on ↵Matthieu Patou2011-11-191-2/+8
| | | | | | | attribute interSiteTopologyGenerator even if the value didn't change Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Nov 19 16:47:53 CET 2011 on sn-devel-104
* s3-py-passdb: Fix handling of uninitialized gid valuesAmitay Isaacs2011-11-182-2/+2
| | | | | | | | Uninitialized gid value is set to -1 and return as such from python passdb api. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Nov 18 06:18:33 CET 2011 on sn-devel-104
* dsdb: Fix the password expiry calculationAmitay Isaacs2011-11-181-1/+1
| | | | | | | | As per Section 3.1.1.4.5.26 [MS-ADTS.pdf], password is expired if pwdLastSet = null, or pwdLastSet = 0, or (maxPwdAge != 0x8000000000000000 and (ST - pwdLastSet) > maxPwdAge)
* s3-passdb_test: Policy values are converted to signed integerAmitay Isaacs2011-11-181-1/+1
| | | | No need to check value for 0xffffffff (4294967295).
* s4-s3-upgrade: Add --verbose option to print extra detailsAmitay Isaacs2011-11-182-3/+6
|
* s4-auth log details about any token we fail to convert to a unix tokenAndrew Bartlett2011-11-181-0/+17
| | | | | | | Now that entries are being added into the idmap DB from Samba3, and may be UID or GID but not BOTH, failures are more likely. Andrew Bartlett
* s4-s3-upgrade: Fix idmap types ID_TYPE_UID/ID_TYPE_GID instead of UID/GIDAmitay Isaacs2011-11-181-3/+3
|
* samba-tool: Fix the domain account policy max_pwd_age calculationAmitay Isaacs2011-11-181-2/+8
| | | | | Windows sets maxPwdAge to -0x8000000000000000 when maximum password age is set to 0 days.
* s4-s3-upgrade: Fix the minimum and maximum password age calculationAmitay Isaacs2011-11-181-4/+4
| | | | | Windows sets maxPwdAge to -0x8000000000000000 when maximum password age is set to 0 days.
* s4-s3-upgrade now look for -1 as the special 'not set' valueAndrew Bartlett2011-11-181-1/+1
| | | | | | | this is possible because we know the py_passdb will always set -1 here, not passing though 0xFFFFFFFF. Andrew Bartlett
* s4 dns: Reduce test output noise by upping log level for dns_name_packet loggingKai Blin2011-11-171-3/+6
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Nov 17 20:10:05 CET 2011 on sn-devel-104
* s4 dns: Add a first test caseKai Blin2011-11-172-0/+120
|
* samba.tests.dsdb: Import TestCase from samba.tests.Jelmer Vernooij2011-11-171-4/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Nov 17 08:36:17 CET 2011 on sn-devel-104
* samba.tests: Make sure testtools is available before importing it.Jelmer Vernooij2011-11-171-0/+2
|
* s4-dsdb: Remove unsed variableAmitay Isaacs2011-11-171-2/+0
|
* s4-s3-upgrade Test getdomainsid as wellAndrew Bartlett2011-11-171-0/+2
|
* lib/param: Add tests for security= behaviour now it operates with server roleAndrew Bartlett2011-11-171-0/+41
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* s4-provision permit server role to be the ROLE_ strings from s3Andrew Bartlett2011-11-173-18/+20
| | | | | | | | Also convert between the aliases in one single place. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* param: Add tests for automatic server role guessingAndrew Bartlett2011-11-171-0/+81
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* py-param: Add python interface to get server_roleAmitay Isaacs2011-11-171-0/+15
|
* s4-s3-upgrade Add test of net getlocalsid after the upgradeAndrew Bartlett2011-11-171-0/+4
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* 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