summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-182-2/+2
| | | | | | | this is possible because we know the py_passdb will always set -1 here, not passing though 0xFFFFFFFF. Andrew Bartlett
* s3/packaging: Fix rpm build issues on RHEL.Karolin Seeger2011-11-171-24/+5
| | | | | | | | | | Fix bug #7705 (RHEL samba.spec broken - and fix). Based on patches of Jason Haar and Daniël van Eeden. Thanks a lot! Karolin Autobuild-User: Karolin Seeger <kseeger@samba.org> Autobuild-Date: Thu Nov 17 23:05:28 CET 2011 on sn-devel-104
* 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
|
* s4 dns: Turn on internal DNS server during testingKai Blin2011-11-171-1/+1
|
* socket_wrapper: Added python interface to socket_wrapperAmitay Isaacs2011-11-173-0/+938
| | | | | | | | | | | The socket_wrapper does not support setting blocking flag or timeouts on the sockets. To use socket module in python, use from samba import socket Signed-off-by: Kai Blin <kai@samba.org>
* 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
|
* Improve configure.in so it can be used outside the Samba source tree.Richard Sharpe2011-11-171-2/+3
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Thu Nov 17 07:00:38 CET 2011 on sn-devel-104
* ldb: Add handy macros for reporting error inside ldb moduleAmitay Isaacs2011-11-171-0/+2
| | | | | | | Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Thu Nov 17 05:24:46 CET 2011 on sn-devel-104
* s4-dsdb: Remove unsed variableAmitay Isaacs2011-11-171-2/+0
|
* s3-smbldap: move ldap_open_with_timeout out of smb_ldap.h to ads where it lives.Günther Deschner2011-11-173-10/+8
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Nov 17 03:47:53 CET 2011 on sn-devel-104
* s3-smbldap: remove duplicate LDAP_OPT_SUCCESS define.Günther Deschner2011-11-171-3/+0
| | | | Guenther
* s3-winbindd: no need to globally include ldap headers in winbindd.Günther Deschner2011-11-172-2/+1
| | | | Guenther
* s3-smbldap: include talloc.h and tevent.h in smbldap.hGünther Deschner2011-11-171-0/+3
| | | | Guenther
* s3-param: loadparm has no dependency to smbldap.Günther Deschner2011-11-171-1/+0
| | | | Guenther
* s3-smbldap: improve smbldap.h readability and rearrange some defines.Günther Deschner2011-11-172-59/+53
| | | | Guenther
* s3-smbldap: remove duplicate prototype.Günther Deschner2011-11-172-6/+1
| | | | Guenther
* s3-nmbd Remove AD netlogon response from s3 nmbd serverAndrew Bartlett2011-11-171-92/+15
| | | | | | | | | | | | | | | I do not want users with misconfigurations to have nmbd respond with this partially correct packet. For example, it hardcodes the site as Default-First-Site-Name. If nmbd wishes to return this information, it would need to query the AD database using the same APIs that the source4/ nbt server does. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Nov 17 02:10:54 CET 2011 on sn-devel-104
* s4-s3-upgrade Test getdomainsid as wellAndrew Bartlett2011-11-171-0/+2
|
* s3-net Do not look for a local SID when we are a DCAndrew Bartlett2011-11-171-7/+8
| | | | | | | If we are actually a DC, then the only SID we have is the domain SID, and looking for it under the local name fails if we are a Samba4 AD DC. Andrew Bartlett
* lib/param simplify server role values specified in smb.confAndrew Bartlett2011-11-171-5/+1
| | | | | | | | | The pdc/bdc split is only in smb.conf for Samba3 DCs, and so is too confusing to document in this paramter. It will be clearer to sort out "domain master" into a "pdc emulator" paramter to conver this distinction. Andrew Bartlett
* docs: Add documentation for server roleAndrew Bartlett2011-11-172-1/+75
|
* libds: Make server role values explicit for easier debuggingAndrew Bartlett2011-11-171-1/+6
|
* param: use lp_is_security_and_server_role_valid()Andrew Bartlett2011-11-171-5/+11
| | | | | | | This also permits a few more valid combinations, due to the layer at which this is being used. Andrew Bartlett
* param: Check if server role and security parameters are conflictingAmitay Isaacs2011-11-172-0/+40
|
* 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>
* param: Connect lp_security to the lib/param code to allow testsAndrew Bartlett2011-11-173-0/+12
| | | | 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
|
* param: Move enum values into a common (included) .c fileAndrew Bartlett2011-11-173-164/+114
| | | | | | | | | This #include hack is required as it is not possible to declare a compile-time sized array in a header file. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* param: move server role helpers into loadparm.hAndrew Bartlett2011-11-175-34/+5
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* s4-s3-upgrade Add test of net getlocalsid after the upgradeAndrew Bartlett2011-11-171-0/+4
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* param: calculate server role from security, and security from server roleAndrew Bartlett2011-11-1711-39/+132
| | | | | | | | | | | | | This allows smb.conf files from either the samba3 or samba4 tradition to come to the same value of server role, using the information in the smb.conf file. This is important so that tools like 'net getlocalsid' work against a Samba4 AD installation (yes, users have tried this). Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* s3-param remove lp_domain_logons(), always use IS_DCAndrew Bartlett2011-11-176-6/+4
| | | | | | | | This makes the code internally consistant. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* param: make server role list common and include auto (for the new default)Andrew Bartlett2011-11-172-4/+17
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* roles: Add ROLE_AUTO to indicate that the server role is calculatedAmitay Isaacs2011-11-171-1/+4
|
* s3-param: Add "server role" as global parameterAmitay Isaacs2011-11-173-10/+31
| | | | | This will help extracting server role processing code in common library.
* param: Add "domain logons" and "domain master" parametersAmitay Isaacs2011-11-172-0/+22
| | | | | This makes parsing of config files with s3 loadparm code and s4 loadparm code consistent.
* s3-libsmb/passchange.c: remove some cli_nt_error() callsBjörn Baumbach2011-11-161-2/+0
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 16 20:36:11 CET 2011 on sn-devel-104
* s3-winbindd/winbindd_cm.c: remove cli_nt_error()Björn Baumbach2011-11-161-8/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb/clidfs.c: remove cli_nt_error()Björn Baumbach2011-11-161-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:winbindd_cm: remove unused ads_statusStefan Metzmacher2011-11-161-3/+0
| | | | metze
* s3-torture: remove all cli_nt_error() calls in tortureBjörn Baumbach2011-11-161-12/+11
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture: replace cli_errstr() with nt_errstr()Björn Baumbach2011-11-161-6/+10
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: introduce option to disable dos error mappingBjörn Baumbach2011-11-163-1/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>