Displaying 3 results from an estimated 3 matches for "get_dyn_shlibext".
2020 Jun 30
2
[Announce] Samba 4.11.10 Available for Download
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:
2020 Jun 30
2
[Announce] Samba 4.11.10 Available for Download
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:
2020 Jun 30
0
[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...