summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-10-21install libdnsserver_common.so.0Ivo De Decker1-0/+1
2014-10-21sort samba-libs.installIvo De Decker1-2/+2
2014-10-20update my email addressIvo De Decker1-1/+1
2014-10-20start changelog for 2:4.1.13+dfsg-1Ivo De Decker1-0/+6
2014-10-20Merge tag 'upstream/4.1.13+dfsg'Ivo De Decker225-1291/+3695
Upstream version 4.1.13+dfsg
2014-10-20Imported Upstream version 4.1.13+dfsgupstream/4.1.13+dfsgIvo De Decker225-1291/+3695
2014-10-20filter chm files from upstream tarballIvo De Decker1-1/+7
Avoid lintian error source-contains-prebuilt-ms-help-file
2014-10-20VERSION: Disable git snapshots for the 4.1.13 release.Karolin Seeger1-1/+1
Signed-off-by: Karolin Seeger <kseeger@samba.org>
2014-10-20WHATSNEW: Add release notes for Samba 4.1.13.Karolin Seeger1-3/+88
Signed-off-by: Karolin Seeger <kseeger@samba.org>
2014-10-19s3: nmbd: Ensure the main nmbd process doesn't create zombies.Jeremy Allison1-0/+3
Use the same mechanism as setup for smbd and winbindd. Fixes bug #10830 - nmbd can leave unreaped zombies. https://bugzilla.samba.org/show_bug.cgi?id=10830 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net> Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-1-test): Sun Oct 19 23:19:38 CEST 2014 on sn-devel-104
2014-10-19pthreadpool: Slightly serialize jobsJeremy Allison1-3/+3
Using the new msg_source program with 1.500 instances against a single msg_sink I found the msg_source process to spawn two worker threads for synchronously sending the data towards the receiving socket. This should not happen: Per destination node we only create one queue. We strictly only add pthreadpool jobs one after the other, so a single helper thread should be perfectly sufficient. It turned out that under heavy overload the main sending thread was scheduled before the thread that just had finished its send() job. So the helper thread was not able to increment the pool->num_idle variable indicating that we don't have to create a new thread when the new job is added. This patch moves the signalling write under the mutex. This means that indicating readiness via the pipe and the pool->num_idle variable happen both under the same mutex lock and thus are atomic. No superfluous threads anymore. Back port of commit 1c4284c7395f23cefa61a407db74cf5067aee2aa that went into master. https://bugzilla.samba.org/show_bug.cgi?id=10779 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2014-10-19s3: lib: Signal handling - ensure smbrun and change password code save and ↵Jeremy Allison2-12/+15
restore existing SIGCHLD handlers. Bug #10831 - SIGCLD Signal handler not correctly reinstalled on old library code use - smbrun etc. https://bugzilla.samba.org/show_bug.cgi?id=10831 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
2014-10-19lib: util: Signal handling - change CatchChild() and CatchChildLeaveStatus() ↵Jeremy Allison2-6/+6
to return the previous handler. Bug #10831 - SIGCLD Signal handler not correctly reinstalled on old library code use - smbrun etc. https://bugzilla.samba.org/show_bug.cgi?id=10831 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
2014-10-09s3: smb2cli: query info return length check was reversed.Jeremy Allison1-1/+1
Make it identical to the check in libcli/smb/smb2cli_ioctl.c https://bugzilla.samba.org/show_bug.cgi?id=10848 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: "Stefan (metze) Metzmacher" <metze@samba.org> Reviewed-by: David Disseldorp <ddiss@suse.de> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Oct 2 04:42:26 CEST 2014 on sn-devel-104 (cherry picked from commit 6c05cd3e895831be7d9a68a51de2048d04c188a0) Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-1-test): Thu Oct 9 23:43:36 CEST 2014 on sn-devel-104
2014-10-09s3-libads: Add all machine account principals to the keytab.Andreas Schneider1-22/+52
This adds all SPNs defined in the DC for the computer account to the keytab using 'net ads keytab create -P'. BUG: https://bugzilla.samba.org/show_bug.cgi?id=9985 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> (cherry picked from commit 5d58b92f8fcbc509f4fe2bd3617bcaeada1806b6)
2014-10-09registry: Don't leave dangling transactionsVolker Lendecke1-1/+1
When a createkey fails due to access denied, we need to do a transaction_cancel. Otherwise the lock on the db will stay around. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Bug: https://bugzilla.samba.org/show_bug.cgi?id=10860
2014-10-09s3-winbindd: Do not use domain SID from LookupSids for Sids2UnixIDs callChristof Schmitt1-3/+30
Create a new lsa_RefDomainList and populate it with the domain SID from the original query. That avoids the problem that for migrated objects, LookupSids returns the SID of the new domain, and combining that with the RID from the input results in an invalid SID. A better fix would be querying the RID of the user in the new domain, but the approach here at least avoids id mappings entries for invalid SIDs. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Mon Sep 29 13:15:18 CEST 2014 on sn-devel-104 (cherry picked from commit 9c9216410faf707edc4ba05f2b715d45f7f51ca4) Bug: https://bugzilla.samba.org/show_bug.cgi?id=10838 Invalid id mappings for users/groups migrated from another domain
2014-10-09s3: Move init_lsa_ref_domain_list to libChristof Schmitt5-48/+98
This will be used in the next patch in winbind. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> (cherry picked from commit 16594e7fc0a46249a48d0d0635de0c1050ecd340)
2014-10-09idmap_rfc2307: Fix a crash after connection problem to DCChristof Schmitt1-0/+1
When the connection to the DC has a problem, the code behind ads_do_search_retry closes the current connection and opens a new one. The new connection has a new struct LDAP to represent the connection. In this case, the LDAP pointer in the idmap_rfc2307_context becomes invalid. Fix this problem by updating the local pointer after calling ads_do_search_retry. Signed-off-by: Christof Schmitt <cs@samba.org> Bug: https://bugzilla.samba.org/show_bug.cgi?id=10837 winbind crash in idmap_rfc2307 module
2014-10-09s3-libnet: Make sure we do not overwrite precreated SPNs.Günther Deschner1-3/+36
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9984 Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Fri Sep 26 08:22:45 CEST 2014 on sn-devel-104 (cherry picked from commit 0aacbe78bb40d76b65087c2a197c92b0101e625e)
2014-10-09s3-libnet: Add libnet_join_get_machine_spns().Andreas Schneider1-0/+20
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9984 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> (cherry picked from commit 7e0b8fcce5572c88d50993a1dbd90f65638ba90f)
2014-10-09s3-libads: Add function to search for an element in an array.Andreas Schneider2-0/+33
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9984 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> (cherry picked from commit e1ee4c8bc7018db7787dd9a0be6d3aa40a477ee2)
2014-10-09s3-libads: Add a function to retrieve the SPNs of a computer account.Andreas Schneider2-0/+66
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9984 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> (cherry picked from commit 4eaa4ccbdf279f1ff6d8218b36d92aeea0114cd8)
2014-10-06releasing package samba version 2:4.1.11+dfsg-2debian/4.1.11+dfsg-2Jelmer Vernooij1-1/+1
Change-Id: Id2a9895ca598a42c047d3b9cb5ec07f34207ee53
2014-10-06Exclude pre-built zlib file.Jelmer Vernooij1-0/+1
Change-Id: I44048b82072db59c26026e28185847044bda9982
2014-10-05Update Dutch translation. Thanks Frans Spiesschaert. Closes: #763650Jelmer Vernooij2-95/+27
Change-Id: I7da05066a142895c938d8a008e021d84b1164941
2014-10-05Use Excluded-Files in debian/copyright for DFSG-nonfree files.Jelmer Vernooij3-21/+4
Change-Id: I46846ad847f192e0da31a5da578d7cb105d9903d
2014-10-05Use HTTP in watch file, as ftp.samba.org is not working reliably for me.Jelmer Vernooij2-1/+3
Change-Id: I1db0caad01e34ac433c90bb341a21370c068ebaa
2014-09-30s3-libads: Improve service principle guessing.Andreas Schneider1-58/+66
If the name passed to the net command with the -S options is the long hostname of the domaincontroller and not the 15 char NetBIOS name we should construct a FQDN with the realm to get a Kerberos ticket. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10829 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> (cherry picked from commit 83c62bd3f5945bbe295cbfbd153736d4c709b3a6) Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-1-test): Tue Sep 30 22:52:34 CEST 2014 on sn-devel-104
2014-09-29smbd: We now survive smb2.oplock.stream1Volker Lendecke1-1/+0
Signed-off-by: Volker Lendecke <vl@samba.org> Bug: https://bugzilla.samba.org/show_bug.cgi?id=10797 Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-1-test): Mon Sep 29 23:16:34 CEST 2014 on sn-devel-104
2014-09-29s3: smbd: streams - Ensure share mode validation ignores internal opens ↵Volker Lendecke1-1/+6
(op_mid == 0). Fixes bug 10797 - smbd panic at find_oplock_types https://bugzilla.samba.org/show_bug.cgi?id=10797 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2014-09-27nsswitch: Skip groups we were not able to map.Andreas Schneider1-0/+5
If we have configured the idmap_ad backend it is possible that the user is in a group without a gid set. This will result in (uid_t)-1 as the gid. We return this invalid gid to NSS which is wrong. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10824 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Fri Sep 19 17:57:14 CEST 2014 on sn-devel-104 (cherry picked from commit 7f59711f076e98ece099f6b38ff6da8c80fa6d5e) Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-1-test): Sat Sep 27 23:12:49 CEST 2014 on sn-devel-104
2014-09-27s3: smbd - open logic fix.Jeremy Allison1-0/+11
As we atomically create using O_CREAT|O_EXCL, then if new_file_created is true, then file_existed *MUST* have been false (even if the file was previously detected as being there. We use the variable file_existed again in logic below this statement, so we must set file_existed = false, if new_file_created returns are true from open_file(). Based on a fix from Michael Adam. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10809 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Sep 11 22:29:22 CEST 2014 on sn-devel-104 (cherry picked from commit 518247bf80372eb003cb67036b9d9e7fe8aac303)
2014-09-27s3:smbd:open_file: use a more natural check.Michael Adam1-1/+3
As suggested by Jeremy Allison <jra@samba.org>. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 9da09b52e8cc0453e694d85fc2bd82994138e20b) BUG: https://bugzilla.samba.org/show_bug.cgi?id=10809
2014-09-27s3:smbd: fix a race in open codeMichael Adam1-17/+42
The race is when a file vanishes between existence check and acl check. In this case, open_file_ncreate() returns OBJECT_NAME_NOT_FOUND even if the create was called with disposition OPEN_IF. But in this case, the file should be created. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 8ae8c63da19459fd4f1166e11406da2c919b7ed0) BUG: https://bugzilla.samba.org/show_bug.cgi?id=10809
2014-09-27s3: winbindd: Old NT Domain code sets struct winbind_domain->alt_name to be ↵Jeremy Allison2-3/+8
NULL. Ensure this is safe with modern AD-DCs. There are places in the code where we're not checking that alt_name is NULL and then calling into the DC lookup code with a NULL name request. This can happen in offline mode. Fixes bug #10717 - Winbind crash on losing VPN connection https://bugzilla.samba.org/show_bug.cgi?id=10717 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Sep 15 23:29:00 CEST 2014 on sn-devel-104 (cherry picked from commit 92da0b243c18546275c4736507188eba425a0732)
2014-09-27s3-winbindd: Use correct realm for trusted domains in idmap childChristof Schmitt1-2/+9
When authenticating users in a trusted domain, the idmap_ad module always connects to a local DC instead of one in the trusted domain. Fix this by passing the correct realm to connect to. Also Comment parameters passed to ads_cached_connection_connect Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit c203c722e7e22f9146f2ecf6f42452c0e82042e4) Bug: https://bugzilla.samba.org/show_bug.cgi?id=10826 Using SFU id mapping fails for users from a trusted domain
2014-09-27libcli: Fix a segfault calling smbXcli_req_set_pending() on NULL.Andreas Schneider1-1/+0
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10817 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Sep 23 04:23:05 CEST 2014 on sn-devel-104 (cherry picked from commit f92086f4a347dcc8fa948aa2614a2c12f1115e5a) Signed-off-by: Andreas Schneider <asn@samba.org>
2014-09-27media_harmony: Fix a crash bugVolker Lendecke1-2/+2
Now that the dust has settled, fix a crash bug that was hidden behind the warnings... Bug: https://bugzilla.samba.org/show_bug.cgi?id=10813 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Simo Sorce <idra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Sep 12 02:45:40 CEST 2014 on sn-devel-104
2014-09-26docs: mention incompatibility between kernel oplocks and streams_xattrBjörn Jacke1-0/+4
See BUG https://bugzilla.samba.org/show_bug.cgi?id=7537 for details. Signed-off-by: Bjoern Jacke <bj@sernet.de> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Sep 12 18:29:37 CEST 2014 on sn-devel-104 (cherry picked from commit 27b2ddcddea5c32a84016b5c6843eb37d2798adf) Bug: https://bugzilla.samba.org/show_bug.cgi?id=10814 Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-1-test): Fri Sep 26 23:11:03 CEST 2014 on sn-devel-104
2014-09-26nmbd: Send waiting status to systemd.Andreas Schneider1-2/+5
This tells the Administrator what's going on and we should log that IPv6 is not supported. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10816 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Sep 17 13:16:43 CEST 2014 on sn-devel-104 (cherry picked from commit 2df601bff0d949e66c79366b8248b9d950c0b430)
2014-09-26lib: Add daemon_status() to util library.Andreas Schneider2-0/+17
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10816 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> (cherry picked from commit 9f5f5fa8ebf845c53b7a92557d7aec56ed820320)
2014-09-08selftest: Fix selftest where pid is used uninitialized.Andreas Schneider1-1/+6
On my system this gets evaluated to 0 so in the end we detect samba to be running cause $childpid is set to 0. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10793 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Sep 4 17:09:17 CEST 2014 on sn-devel-104 (cherry picked from commit 6d2f56dbaf84203b351f33179cc3feaf557e0683) Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-1-test): Mon Sep 8 23:19:29 CEST 2014 on sn-devel-104
2014-09-08Merge tag 'samba-4.1.12' into v4-1-testStefan Metzmacher0-0/+0
samba: tag release samba-4.1.12
2014-09-08Merge tag 'samba-4.1.11' into v4-1-testKarolin Seeger0-0/+0
samba: tag release samba-4.1.11 This commit is actually the samba-4.1.12 release! It was just forgotten to merge the samba-4.1.11 tag (security release) into v4-1-test. This commit is required to bring the git history between v4-1-test and v4-1-stable in sync again. Signed-off-by: Karolin Seeger <kseeger@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2014-09-08VERSION: Bump version up to 4.1.13...Karolin Seeger1-2/+2
and re-enable git snapshots. Signed-off-by: Karolin Seeger <kseeger@samba.org>
2014-09-08WHATSNEW: Add release notes for Samba 4.1.12.Karolin Seeger1-3/+134
Signed-off-by: Karolin Seeger <kseeger@samba.org>
2014-09-08s3: smbd: vfs_dirsort module.Jeremy Allison1-1/+1
Fix an off-by-one check that would cause seekdir to seek off the end of the cached array. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ronnie Sahlberg <ronniesahlberg.gmail.com> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Sep 3 19:59:54 CEST 2014 on sn-devel-104 Bug: https://bugzilla.samba.org/show_bug.cgi?id=10794 vfs_dirsort has an off-by-one error that can cause uninitialized memory read Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-1-test): Mon Sep 8 10:00:32 CEST 2014 on sn-devel-104
2014-09-08s4-rpc: dnsserver: handle updates of tombstoned dnsNode objectsStefan Metzmacher1-2/+15
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10749 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit 2c342e488dcd3cef465a1b376bb22bf495f6832b)
2014-09-08s4-rpc: dnsserver: Do not search for deleted DNS entriesAmitay Isaacs1-7/+11
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10749 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 6f2862e76608862bb4142a86f36c8506114bf6c7)