Wed Mar 13 18:30:39 2019 UTC ()
samba4: updated to 4.9.5

Changes since 4.9.4:
* audit_logging: Remove debug log header and JSON Authentication:
  prefix.
* Fix upgrade from 4.7 (or earlier) to 4.9.
* s3: lib: nmbname: Ensure we limit the NetBIOS name correctly.
  CID: 1433607.
* smbd: uid: Don't crash if 'force group' is added to an existing
  share connection.
* s3: VFS: vfs_fruit. Fix the NetAtalk deny mode compatibility
  code.
* s3: SMB1 POSIX mkdir does case insensitive name lookup.
* s3:utils/smbget fix recursive download with empty source
  directories.
* samba-tool drs showrepl: Do not crash if no dnsHostName found.
* s3:libsmb: cli_smb2_list() can sometimes fail initially on a
  connection.
* join: Throw CommandError instead of Exception for simple errors.
* ldb: Avoid inefficient one-level searches.
* s3: libsmb: use smb2cli_conn_max_trans_size() in
  cli_smb2_list().
* tldap: Avoid use after free errors.
* Fix idmap xid2sid cache churn.
* access_check_max_allowed() doesn't process "Owner Rights" ACEs.
* s3-smbd: Avoid assuming fsp is always intact after close_file
  call.
* s3-vfs-fruit: Add close call.
* s3-smbd: Use fruit:model string for mDNS registration.
* s3-vfs: add glusterfs_fuse vfs module.
* printing: Check lp_load_printers() prior to pcap cache update.
* vfs_ceph: vfs_ceph strict_allocate_ftruncate calls (local FS)
  ftruncate and fallocate.
* lib/audit_logging: Actually create talloc.
* netcmd/user: python[3]-gpgme unsupported and replaced by
  python[3]-gpg.
* dns: Changing onelevel search for wildcard to subtree.
* samba-tool: Don't print backtrace on simple DNS errors.
* sambaundoguididx: Use the right escaped oder unescaped sam ldb
  files.
* ctdb: Print locks latency in machinereadable stats.
* messages_dgm: Messaging gets stuck when pids are recycled.
* audit_logging: auth_json_audit required auth_json.
* man pages: Document prefork process model.
* CVE-2019-3824 ldb: Release ldb 1.4.6.
* s3:auth: ignore create_builtin_guests() failing without a valid
  idmap configuration.
* s3:auth_winbind: Ignore a missing winbindd as NT4 PDC/BDC
  without trusts.
* s3:auth_winbind: return NT_STATUS_NO_LOGON_SERVERS if winbindd
  is not available.
* s4:server: Add support for 'smbcontrol samba shutdown' and
  'smbcontrol <pid> debug/debuglevel'.
* Python: Ensure ldb.Dn can doesn't rencoded str with py2.
* vfs_glusterfs: Adapt to changes in libgfapi signatures.
* s3-vfs: Use ENOATTR in errno comparison for getxattr.
* notifyd: Fix SIGBUS on sparc.
* waf: Check for libnscd.
* s3:vfs: Correctly check if OFD locks should be enabled or not.
* lib/util: Count a trailing line that doesn't end in a newline.
* Recovery lock bug fixes.
* s3: net: Do not set NET_FLAGS_ANONYMOUS with -k.
* s3:libsmb: Honor disable_netbios option in smbsock_connect_send.
* vfs_fileid: Fix get_connectpath_ino.
* vfs_fileid: Fix fsname_norootdir algorithm.


(adam)
diff -r0 -r1.1 pkgsrc/net/samba4/patches/patch-buildtools_wafsamba_samba__conftests.py

File Added: pkgsrc/net/samba4/patches/patch-buildtools_wafsamba_samba__conftests.py
$NetBSD: patch-buildtools_wafsamba_samba__conftests.py,v 1.1 2019/03/13 18:30:39 adam Exp $

Ensure defines are strings to avoid assertion failure, some
returned values are unicode.

--- buildtools/wafsamba/samba_conftests.py.orig	2018-07-12 08:23:36.000000000 +0000
+++ buildtools/wafsamba/samba_conftests.py
@@ -96,9 +96,9 @@ def CHECK_LARGEFILE(conf, define='HAVE_L
                 if flag[:2] == "-D":
                     flag_split = flag[2:].split('=')
                     if len(flag_split) == 1:
-                        conf.DEFINE(flag_split[0], '1')
+                        conf.DEFINE(str(flag_split[0]), '1')
                     else:
-                        conf.DEFINE(flag_split[0], flag_split[1])
+                        conf.DEFINE(str(flag_split[0]), str(flag_split[1]))
 
     if conf.CHECK_CODE('return !(sizeof(off_t) >= 8)',
                        define,