summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* socket_wrapper/py_socket_wrapper.c - include Python 2.4 compatiblity codeMatthias Dieter Wallnöfer2011-11-191-0/+7
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 19 14:53:43 CET 2011 on sn-devel-104
* Remove rawmemchr calls - found by Ira Cooper. These are glibc-specific ↵Jeremy Allison2011-11-181-3/+4
| | | | | | | calls, makes us completely non-portable. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Nov 18 23:50:50 CET 2011 on sn-devel-104
* s3/packaging: Fix rpm build issues on RHEL4.Karolin Seeger2011-11-181-1/+13
| | | | | | | | | | Second part of a fix for 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: Fri Nov 18 22:13:06 CET 2011 on sn-devel-104
* s3:libsmb: verify num_setup for SMBnttrans in cli_pull_trans()Stefan Metzmacher2011-11-181-0/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Nov 18 15:13:52 CET 2011 on sn-devel-104
* s3:libsmb: fix compiler warning in cli_pull_trans()Stefan Metzmacher2011-11-181-1/+3
| | | | metze
* s3:libsmb: only align unicode pipe_name (bug #8586)Stefan Metzmacher2011-11-181-7/+11
| | | | metze
* s3: Fix bug 8371Volker Lendecke2011-11-181-0/+2
| | | | | | | | | ndr_set_flag or's in the given flag (ALIGN4). At this point, ndr->flags contains NOALIGN, which will persist. In ndr_push_DATA_BLOB NOALIGN overrides everything else, so that the ALIGN4 is not respected. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Nov 18 09:33:37 CET 2011 on sn-devel-104
* s3-py-passdb: Fix handling of uninitialized gid valuesAmitay Isaacs2011-11-183-3/+3
| | | | | | | | 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-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>