summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove the setting of the inherited ACL on new files/directories. This isJeremy Allison2011-11-223-224/+0
| | | | | now done correctly in the main codepath. The vfs_acl_XXXX modules are now thin shims that simply store/retrieve ACLs as they should be.
* Move setting the inherited ACL into the main open code path. Next willJeremy Allison2011-11-221-1/+110
| | | | remove it from the ACL modules.
* Move the "set SD" code into provided SD and "inherit acls" branches.Jeremy Allison2011-11-221-29/+32
|
* Only add the SD if it's not a new stream file.Jeremy Allison2011-11-221-1/+1
|
* Move the add security descriptor code to *after* all the other meta-data isJeremy Allison2011-11-221-35/+35
| | | | updated. We may be adding an SD that restricts our own access.
* s3: Fix wb_next_pwent_fill_doneVolker Lendecke2011-11-221-1/+0
| | | | | | | Within a callback routine it is not possible to call tevent_req_post Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 22 19:17:30 CET 2011 on sn-devel-104
* s3 libaddns: Prevent a crash when dns_create_update failsKai Blin2011-11-221-1/+1
| | | | | | | | | | | | When dns_create_update() fails, it does not initialize *req, and then TALLOC_FREE(req) in the error handling crashes if we're lucky. Instead of going into the generic error handling, treat the failure in dns_create_update() like dns_create_update_request() and just pass on the error. Thanks to Harry Mason for reporting this issue. Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Tue Nov 22 14:29:07 CET 2011 on sn-devel-104
* 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-2113-49/+32
| | | | | | | [-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
* s3:winbindd_cm: close sockfd on error in cm_prepare_connection()Stefan Metzmacher2011-11-211-0/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 21 19:58:58 CET 2011 on sn-devel-104
* s3:libsmb: close fd on error in cli_connect_nb()Stefan Metzmacher2011-11-211-0/+2
| | | | metze
* librpc: install drsuapi and drsblobs headers.Günther Deschner2011-11-211-2/+6
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Nov 21 17:24:28 CET 2011 on sn-devel-104
* s3-waf: remove version from libpdb.so for now.Günther Deschner2011-11-211-2/+0
| | | | Guenther
* 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
* s3:smb2_negprot: add support for SMB2_22Stefan Metzmacher2011-11-201-0/+15
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Nov 20 16:46:45 CET 2011 on sn-devel-104
* lib/param: add "SMB2_22" to enum_protocolStefan Metzmacher2011-11-201-0/+1
| | | | metze
* 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
* 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