summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* WHATSNEW: Start release notes for Samba 3.5.21.v3-5-testKarolin Seeger2012-12-181-2/+43
| | | | Karolin
* VERSION: Bump version number up to 3.5.21.Karolin Seeger2012-12-181-1/+1
| | | | Karolin
* WHATSNEW: Prepare release notes for Samba 3.5.20.Karolin Seeger2012-12-141-1/+16
| | | | Karolin
* Fix bug #9455 munmap called for an address location not mapped by samba.Jeremy Allison2012-12-121-0/+3
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* source3/libaddns: don't depend on the order in resp->answers[]Stefan Metzmacher2012-11-161-3/+12
| | | | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit eecc1d294256210ee8c2f6ab79d21b835258a6d4) The last 2 patches address bug #9402 - lib/addns doesn't work samba4 with a bind9 server.
* source3/libaddns: remove pointless check for resp->num_additionals != 1Stefan Metzmacher2012-11-161-2/+1
| | | | | | | | | | | We never use resp->additionals, so there's no reason to check. This fixes dns updates against BIND9 (used in a Samba4 domain). Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit b59c5db5f74f56c0536635a41ae51c389109ceb5)
* lib/replace: replace all *printf function if we replace snprintf (bug #9390)Stefan Metzmacher2012-11-153-17/+34
| | | | | | | | | | | | | This fixes segfaults in log level = 10 on Solaris. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Björn Jacke <bj@sernet.de> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Wed Nov 14 19:41:14 CET 2012 on sn-devel-104 (cherry picked from commit a15da3625850d97b3da1b02308c870f820007c52) The last 5 patches address bug #9390 - Solaris printf doesn't allow %s, NULL.
* libreplace: Fix symbol names for snprintf/asprintf/vasprintf.Jelmer Vernooij2012-11-151-6/+6
| | | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun May 13 05:16:28 CEST 2012 on sn-devel-104 (cherry picked from commit cf67da70c9a63c4dc63f287059321d6c36d1e19e)
* libreplace: fixed declaration of dprintf() on FreeBSD (cherry picked from ↵Andrew Tridgell2012-11-152-2/+12
| | | | commit a599319d0a389ff0c31dae8068cd7a78352aa9e7)
* libreplace: added replacements for dprintf() and vdprintf()Andrew Tridgell2012-11-152-1/+32
| | | | | | | these are very useful for writing files with formatted writes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit d6fb64c51244529388b1f79ba8220ff608e1e4de)
* libreplace: some systems don't have memmem()Andrew Tridgell2012-11-154-0/+68
| | | | | added rep_memmem() and a testsuite (cherry picked from commit fef3c910da421e890925e5e61275fc457da87f6e)
* Another fix needed for bug #9236 - ACL masks incorrectly applied when ↵Jeremy Allison2012-11-151-4/+10
| | | | | | | | | | | | | setting ACLs. Not caught by make test as it's an extreme edge case for strange incoming ACLs. I only found this as I'm making raw.acls and smb2.acls pass against 3.6.x with acl_xattr mapped onto a POSIX backend (which isn't tested in make test). An incoming inheritable ACE entry containing only one permission, WRITE_DATA maps into a POSIX owner perm of "-w-", which violates the principle that the owner of a file/directory can always read.
* docs-xml: fix use of <smbconfoption> tag (fix bug #9345)Björn Baumbach2012-11-061-5/+8
| | | | | | | | | | | | | | Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Karolin Seeger <ks@samba.org> Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Fri Nov 2 12:37:42 CET 2012 on sn-devel-104 (cherry picked from commit 3ecbe8c83a003825fc58f6dcb9e02a35aad2d86e) Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-0-test): Mon Nov 5 13:09:12 CET 2012 on sn-devel-104 (cherry picked from commit 6195cb667b1c162436bfbf5d4f499bdc776f83b4) (cherry picked from commit a6dea8e6556bd5e391cd709b86664fb7cc34433a)
* Second part of fix for bug #7781 - Samba transforms ShareName to lowercase ↵Jeremy Allison2012-11-051-0/+4
| | | | | | | (sharename) when adding new share via MMC Ensure safe_strcpy is safe when src == dest. This probably needs porting to master/3.6.x/4.0.x.
* Fix bug #7781 (Samba transforms "ShareName" to lowercase when adding new ↵Jeremy Allison2012-11-0512-70/+79
| | | | | | share via MMC) Signed-off-by: Michael Adam <obnox@samba.org>
* WHATSNEW: Start release notes for Samba 3.5.20.Karolin Seeger2012-11-051-3/+44
| | | | | | And fix a typo. Karolin
* VERSION: Bump version number up to 3.5.20.Karolin Seeger2012-11-051-1/+1
| | | | Karolin
* WHATSNEW: Prepare release notes for Samba 3.5.19.Karolin Seeger2012-11-011-1/+26
| | | | Karolin
* Revert "Fix bug #7781 (Samba transforms "ShareName" to lowercase when adding ↵Karolin Seeger2012-10-3112-79/+70
| | | | | | | | | | new share via MMC)" This reverts commit 157b88da4db727eafa682c7fc7eab11d5955f57b. This one seems to break make test on my system. Karolin
* Revert "Revert "s3-smbd: Don't segfault if user specified ports out for range.""Karolin Seeger2012-10-311-11/+12
| | | | | | | | This reverts commit fce3a18d3d5ed46f8e0d1653f862e46b5dff0e03. This patch does not seem to cause the issue. Sorry for the noise. Karolin
* Revert "s3-smbd: Don't segfault if user specified ports out for range."Karolin Seeger2012-10-181-12/+11
| | | | | | | | | This reverts commit 60b15f3b646d10e027e8288132db5b942261de8f. This commit seems to break 'make test' on my system, so reverting it for now. (Bug report has been re-opened, see https://bugzilla.samba.org/show_bug.cgi?id=9218 for details).
* s3: fix compile of krb5 locator on SolarisBjörn Jacke2012-10-181-1/+1
| | | | | | | | | the krb5 locator plugin on Solaris needs LIBREPLACE_LIBS (bug #8732) Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue May 29 09:58:42 CEST 2012 on sn-devel-104 (cherry picked from commit 3085225e72c75abf84d7740334459cd971ee4c56) (cherry picked from commit 7ca265423a36c114ac9216a780e005956967eae7)
* lib-addns: ensure that allocated buffer are pre set to 0 (bug #9259)Matthieu Patou2012-10-151-12/+12
| | | | | | | It avoid bugs when one of the buffer is supposed to contain a string that is not null terminated (ie. label->label) and that we don't force the last byte to 0. (similar to commit 03c4dceaab82ca2c60c9ce0e09fddd071f98087b)
* Fix bug #9117 - smbclient can't connect to a Windows 7 server using NTLMv2 ↵Jeremy Allison2012-10-152-1/+5
| | | | | | | (crypto code changes domain case). Simple fix for 3.5.x, tested and confirmed as working by original reporter "Blohm, Guntram (I/FP-37, extern)" <extern.guntram.blohm@audi.de>.
* s3-libsmb: Initialise ticket to ensure we do not invalid memoryAndrew Bartlett2012-10-151-0/+1
| | | | | | | | | | | | | | | | The free is however a talloc_free(), which has additional protection against freeing the wrong thing. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Mar 2 01:45:19 CET 2012 on sn-devel-104 (cherry picked from commit f1452a296429b79755235f4a480f0d5ea38ce178) Fix bug #8788 - spnego_parse_krb5_wrap() frees invalid memory. (cherry picked from commit e96f50c9bb145a6af2c023e8ff4c3e8888c5a4a6)
* autoconf: fix --with(out)-sendfile-support option handlingBjörn Jacke2012-10-101-15/+20
| | | | | this fixes bug #8344 (cherry picked from commit a1db9aada46e2e7eefc989f888d22650320533de)
* When setting a non-default ACL, don't forget to apply masks to SMB_ACL_USER ↵Jeremy Allison2012-10-051-0/+10
| | | | | | and SMB_ACL_GROUP entries. Fix bug #9236 - ACL masks incorrectly applied when setting ACLs.
* Only apply masks on non-default ACL entries when setting the ACL.Jeremy Allison2012-10-051-9/+19
|
* Use is_default_acl variable in canonicalise_acl().Jeremy Allison2012-10-051-2/+3
|
* Reformat spacing to be even.Jeremy Allison2012-10-051-6/+6
|
* html docs: Remove link to Using Samba.Karolin Seeger2012-10-041-4/+0
| | | | | | | | | | | | Thanks to Christian Perrier <bubulle@debian.org> for reporting! Fix bug #7826 - HTML docs index file still points to Using Samba. Karolin Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Thu Oct 4 13:48:00 CEST 2012 on sn-devel-104 (cherry picked from commit 1bf209dd7e5a0f0001b3d1e3798093772bbd3fd3)
* Fix bug #7781 (Samba transforms "ShareName" to lowercase when adding new ↵Jeremy Allison2012-09-2812-70/+79
| | | | | | share via MMC) Signed-off-by: Michael Adam <obnox@samba.org>
* s3-smbd: Don't segfault if user specified ports out for range.Andreas Schneider2012-09-281-11/+12
| | | | | | | | (cherry picked from commit 50d324b7e070de4672eff3fb6231923e6dca807a) Signed-off-by: Andreas Schneider <asn@samba.org> Fix bug #9218 - Samba panics if a user specifies an invalid port number.
* Fix bug #9213 - Bad ASN.1 NegTokenInit packet can cause invalid free.Jeremy Allison2012-09-281-0/+4
| | | | | | | | | | Not the correct fix for the specific issue, but a general fix to make sure this can never happen again. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Sep 26 04:07:57 CEST 2012 on sn-devel-104 (cherry picked from commit 83f60672e1b3069e6b1b90b376460da895e37df3) (cherry picked from commit d0b872ea7ca112d047b9ee2d10d1a75a2ee4aed3)
* Fix bug #9016 - Connection to outbound trusted domain goes offline.Jeremy Allison2012-09-281-6/+0
| | | | | | | | | | | | | | By the time we've gotten to init_dc_connection_network() we shouldn't be second guessing the caller by calling winbindd_can_contact_domain(). If for some reason we do need to restrict the contact list here we can add a condition to only contact the primary domain or domains listed in the tdc cache, but I don't think that's neccessary. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Jul 14 03:17:57 CEST 2012 on sn-devel-104 (cherry picked from commit 726ecf6a915ff534af4076e9d0cdebf8b5435d61) (cherry picked from commit d4faae3dbdfdd600bbf9bddb2589b8a6dc8434b6)
* quota: add supprt for gfs2Björn Jacke2012-09-271-0/+2
| | | | | | | | | | | | | | gfs2 uses the same generic quota interface as xfs and it has the same base block/quota block size ratio and seems to work nice with the xfs quota module. (People using gfs should be aware that quota reporting is lagging quite a bit on gfs. If you copy a file on a gfs volume the quota values are being updated with a delay of 30s here with kernel 3.5. This reporting can lead to data corruption if a client thinks he can write but actually he suddently can't.) (cherry picked from commit 0b57d1c07520f4995412f224945324fef29f5989) Fix bug #9172 - quota on gfs2 being reported wrong. (cherry picked from commit 16a3b6e02d1bb8345984ab6a8c81e446d8de2f54)
* WHATSNEW: Start release notes for Samba 3.5.19.Karolin Seeger2012-09-241-2/+43
| | | | Karolin
* VERSION: Bump version up to 3.5.19.Karolin Seeger2012-09-241-1/+1
| | | | Karolin
* WHWATSNEW: Prepare release notes for Samba 3.5.18.Karolin Seeger2012-09-211-2/+42
| | | | Karolin
* docs: clarify the idmap_rid manpage (bug #7788)Michael Adam2012-09-171-0/+18
| | | | | | | | | The idmap_rid module should not be used as a default backend. Also mention that the old snytax "idmap backend = rid:domain=range ..." is not supported any more. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Dec 7 19:07:57 CET 2010 on sn-devel-104
* s3:winbindd: make sure we only call static_init_idmap onceBjörn Jacke2012-09-171-4/+17
| | | | | | this is a backport of 3f14d03adbda03b821210115af4fae044a9b4a3e Fix bug #8402 - winbind log spammed with idmap messages.
* quota: fix build of sysquote_xfs onBjörn Jacke2012-09-171-0/+12
| | | | | | linux header files renamed some XFS_* defines to FS_* around kernel v2.6.36 This fixes bug #7814
* nsswitch: fix crash on null pam change pw responseLuca Lorenzetto2012-09-171-1/+1
| | | | | | | | | | | | The function _pam_winbind_change_pwd crashes due to a null value passed to the function strcasecmp and denies to login via graphical login manager. Check for a null value before doing a strcasecmp. Bug-Ubuntu: https://bugs.launchpad.net/bugs/1003296 Bug: https://bugzilla.samba.org/show_bug.cgi?id=9013 (Desktop Managers (xdm, gdm, lightdm...) crashes with SIGSEGV in _pam_winbind_change_pwd() when password is expiring) (cherry picked from commit 47f2211f137688a7c46c4a38571a9f94e59dbf6a)
* Fix bug #9147 - winbind can't fetch user or group info from AD via LDAPJeremy Allison2012-09-172-4/+18
| | | | | Don't use "isprint" in ldb_binary_encode(). This is locale specific. Restrict to ASCII only, hex encode everything else.
* s3: delete requests are not specialVolker Lendecke2012-09-121-11/+2
| | | | | | | | | | The only difference between batch and exclusive oplocks is the time of the check: Batch is checked before the share mode check, exclusive after. Signed-off-by: Jeremy Allison <jra@samba.org> Fix bug #9150 - Valid open requests can cause smbd assert due to incorrect oplock handling on delete requests.
* s3: Fix bug #9085.hargagan2012-08-281-1/+1
| | | | | NMB registration for a duplicate workstation fails with registration refuse. (cherry picked from commit 71c4227fd0a741984fb273ad1973ad1724ecb04b)
* Fix bug #9100 - winbind doesn't return "Domain Local" groups from own domain.Goldberg, Neil R2012-08-235-20/+19
| | | | Back-port of fix for 3.6.x from bug #9052.
* Fix bug #9098 - winbind does not refresh kerberos tickets.Jeremy Allison2012-08-233-1/+39
| | | | Based on work from Ian Gordon <ian.gordon@strath.ac.uk>.
* Fix bug #9104 - winbindd can mis-identify idle clients - can cause crashes ↵Herb Lewis2012-08-231-1/+2
| | | | | | | | | | and NDR parsing errors. A connection is idle when both struct winbindd_cli_state->request AND struct winbindd_cli_state->response are NULL. Otherwise we can flag as idle a connection in the state of having sent the request to the winbindd child (request != NULL) but not yet received a reply (response == NULL).
* Ensure we keep last_access up to date when processing a request.Jeremy Allison2012-08-231-0/+1
|