Release Announcements --------------------- This is the latest stable release of the Samba 4.11 release series. Changes since 4.11.9 -------------------- o Jeremy Allison <jra at samba.org> * BUG 14374: Fix segfault when using SMBC_opendir_ctx() routine for share folder that contains incorrect symbols in any file name. o Ralph Boehme <slow at samba.org> * BUG 14350: vfs_shadow_copy2 doesn't fail case looking in snapdirseverywhere mode. o Alexander Bokovoy <ab at samba.org> * BUG 14413: ldb_ldap: Fix off-by-one increment in lldb_add_msg_attr. o Volker Lendecke <vl at samba.org> * BUG 14366: Malicous SMB1 server can crash libsmbclient. * BUG 14382: winbindd: Fix a use-after-free when winbind clients exit. o Gary Lockyer <gary at catalyst.net.nz> * BUG 14330: ldb: Bump version to 2.0.11, LMDB databases can grow without bounds. o Andreas Schneider <asn at samba.org> * BUG 14358: docs-xml: Fix usernames in pam_winbind manpages. * BUG 14370: Client tools are not able to read gencache anymore. ####################################### Reporting bugs & Development Discussion ####################################### Please discuss this release on the samba-technical mailing list or by joining the #samba-technical IRC channel on irc.freenode.net. If you do report problems then please try to send high quality feedback. If you don't provide vital information to help us track down the problem then you will probably be ignored. All bug reports should be filed under the "Samba 4.1 and newer" product in the project's Bugzilla database (https://bugzilla.samba.org/). ======================================================================= Our Code, Our Bugs, Our Responsibility. == The Samba Team ===================================================================== ===============Download Details =============== The uncompressed tarballs and patch files have been signed using GnuPG (ID 6F33915B6568B7EA). The source code can be downloaded from: https://download.samba.org/pub/samba/stable/ The release notes are available online at: https://www.samba.org/samba/history/samba-4.11.10.html Our Code, Our Bugs, Our Responsibility. (https://bugzilla.samba.org/) --Enjoy The Samba Team -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available URL: <http://lists.samba.org/pipermail/samba-announce/attachments/20200630/d0950ea8/signature.sig>
Peter Eriksson
2020-Jun-30 17:50 UTC
[Samba] [Announce] Samba 4.11.10 Available for Download
Compilation fails on FreeBSD due to NSS_BUFLEN_PASSWD not being defined. This simple patch ?fixes? that: --- samba-4.11.10/lib/util/util_paths.c.ORIG 2020-06-30 19:33:05.577758000 +0200 +++ samba-4.11.10/lib/util/util_paths.c 2020-06-30 19:33:29.561225000 +0200 @@ -64,6 +64,10 @@ return get_dyn_SHLIBEXT(); } +#ifndef NSS_BUFLEN_PASSWD +#define NSS_BUFLEN_PASSWD 2048 +#endif + static char *get_user_home_dir(TALLOC_CTX *mem_ctx) { struct passwd pwd = {0}; One might wanna change the code to use a dynamically allocated ?buf? and have a loop around getpwnam_r() that checks for ERANGE and retry with a bigger ?buf? though. (Same basically goes for all the get{pw,gr}xx_r() functions - not 100% important for getpw unless you have extremely long path?s or silly long full names but the getgrxx() calls might need it for groups with huge membership lists?) - Peter> On 30 Jun 2020, at 12:22, Karolin Seeger via samba <samba at lists.samba.org> wrote: > > Release Announcements > --------------------- > > This is the latest stable release of the Samba 4.11 release series. > > > Changes since 4.11.9 > -------------------- > > o Jeremy Allison <jra at samba.org> > * BUG 14374: Fix segfault when using SMBC_opendir_ctx() routine for share > folder that contains incorrect symbols in any file name. > > o Ralph Boehme <slow at samba.org> > * BUG 14350: vfs_shadow_copy2 doesn't fail case looking in snapdirseverywhere > mode. > > o Alexander Bokovoy <ab at samba.org> > * BUG 14413: ldb_ldap: Fix off-by-one increment in lldb_add_msg_attr. > > o Volker Lendecke <vl at samba.org> > * BUG 14366: Malicous SMB1 server can crash libsmbclient. > * BUG 14382: winbindd: Fix a use-after-free when winbind clients exit. > > o Gary Lockyer <gary at catalyst.net.nz> > * BUG 14330: ldb: Bump version to 2.0.11, LMDB databases can grow without > bounds. > > o Andreas Schneider <asn at samba.org> > * BUG 14358: docs-xml: Fix usernames in pam_winbind manpages. > * BUG 14370: Client tools are not able to read gencache anymore. > > > ####################################### > Reporting bugs & Development Discussion > ####################################### > > Please discuss this release on the samba-technical mailing list or by > joining the #samba-technical IRC channel on irc.freenode.net. > > If you do report problems then please try to send high quality > feedback. If you don't provide vital information to help us track down > the problem then you will probably be ignored. All bug reports should > be filed under the "Samba 4.1 and newer" product in the project's Bugzilla > database (https://bugzilla.samba.org/). > > > =====================================================================> == Our Code, Our Bugs, Our Responsibility. > == The Samba Team > =====================================================================> > > > ===============> Download Details > ===============> > The uncompressed tarballs and patch files have been signed > using GnuPG (ID 6F33915B6568B7EA). The source code can be downloaded > from: > > https://download.samba.org/pub/samba/stable/ > > The release notes are available online at: > > https://www.samba.org/samba/history/samba-4.11.10.html > > Our Code, Our Bugs, Our Responsibility. > (https://bugzilla.samba.org/) > > --Enjoy > The Samba Team > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
On Tue, 2020-06-30 at 19:50 +0200, Peter Eriksson via samba wrote:> Compilation fails on FreeBSD due to NSS_BUFLEN_PASSWD not being > defined. This simple patch ?fixes? that: > > --- samba-4.11.10/lib/util/util_paths.c.ORIG 2020-06-30 > 19:33:05.577758000 +0200 > +++ samba-4.11.10/lib/util/util_paths.c 2020-06-30 19:33:29.561225000 > +0200 > @@ -64,6 +64,10 @@ > return get_dyn_SHLIBEXT(); > } > > +#ifndef NSS_BUFLEN_PASSWD > +#define NSS_BUFLEN_PASSWD 2048 > +#endif > + > static char *get_user_home_dir(TALLOC_CTX *mem_ctx) > { > struct passwd pwd = {0}; > > > One might wanna change the code to use a dynamically allocated ?buf? > and have a loop around getpwnam_r() that checks for ERANGE and retry > with a bigger ?buf? though. > (Same basically goes for all the get{pw,gr}xx_r() functions - not > 100% important for getpw unless you have extremely long path?s or > silly long full names but the getgrxx() calls might need it for > groups with huge membership lists?)See https://bugzilla.samba.org/show_bug.cgi?id=14415 Andrew Bartlett -- Andrew Bartlett https://samba.org/~abartlet/ Authentication Developer, Samba Team https://samba.org Samba Developer, Catalyst IT https://catalyst.net.nz/services/samba