summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimur <timur@FreeBSD.org>2016-05-07 00:38:27 +0000
committertimur <timur@FreeBSD.org>2016-05-07 00:38:27 +0000
commita99ec8cd5c83f2b6347722c0d71442379cbf97ce (patch)
treee4b5bd82cee1dd9813f4c2dd7b11bd0c52c4814f
parent8b1007478d92d9cb372986cbc5696ccad9539833 (diff)
downloadFreeBSD-ports-a99ec8cd5c83f2b6347722c0d71442379cbf97ce.zip
FreeBSD-ports-a99ec8cd5c83f2b6347722c0d71442379cbf97ce.tar.gz
Add latest release of Samba 4.4. Port is NOT fully tested, don't use in the production(yet). Make backups before deploying.
-rw-r--r--net/Makefile1
-rw-r--r--net/samba44/Makefile514
-rw-r--r--net/samba44/distinfo2
-rw-r--r--net/samba44/files/README.FreeBSD.in99
-rw-r--r--net/samba44/files/man/gentest.1133
-rw-r--r--net/samba44/files/man/locktest.1137
-rw-r--r--net/samba44/files/man/masktest.1113
-rw-r--r--net/samba44/files/man/ndrdump.183
-rw-r--r--net/samba44/files/man/nmblookup4.1157
-rw-r--r--net/samba44/files/man/ntlm_auth4.1233
-rw-r--r--net/samba44/files/man/oLschema2ldif.174
-rw-r--r--net/samba44/files/man/regdiff.187
-rw-r--r--net/samba44/files/man/regpatch.181
-rw-r--r--net/samba44/files/man/regshell.1177
-rw-r--r--net/samba44/files/man/regtree.189
-rw-r--r--net/samba44/files/man/smbtorture.1367
-rw-r--r--net/samba44/files/patch-buildtools__scripts__abi_gen.sh17
-rw-r--r--net/samba44/files/patch-buildtools__wafsamba__samba_install.py11
-rw-r--r--net/samba44/files/patch-buildtools__wafsamba__samba_pidl.py11
-rw-r--r--net/samba44/files/patch-buildtools__wafsamba__wafsamba.py11
-rw-r--r--net/samba44/files/patch-docs-xml__wscript_build10
-rw-r--r--net/samba44/files/patch-dynconfig__wscript32
-rw-r--r--net/samba44/files/patch-lib__crypto__wscript_configure13
-rw-r--r--net/samba44/files/patch-nsswitch__wscript_build17
-rw-r--r--net/samba44/files/patch-source3__client__dnsbrowse.c11
-rw-r--r--net/samba44/files/patch-source3__smbd__quotas.c19
-rw-r--r--net/samba44/files/patch-source3__utils__net.c18
-rw-r--r--net/samba44/files/patch-source3__utils__net_time.c19
-rw-r--r--net/samba44/files/patch-source3__wscript38
-rw-r--r--net/samba44/files/patch-source3__wscript_build27
-rw-r--r--net/samba44/files/patch-source3_client_smbspool_krb5_wrapper.c11
-rw-r--r--net/samba44/files/patch-source4__dns_server__dns_crypto.c77
-rw-r--r--net/samba44/files/patch-source4__lib__http__http.c69
-rw-r--r--net/samba44/files/patch-third_party__waf__wafadmin__Logs.py21
-rw-r--r--net/samba44/files/patch-wscript18
-rw-r--r--net/samba44/files/patch-wscript_build10
-rw-r--r--net/samba44/files/pkg-message.in22
-rw-r--r--net/samba44/files/samba_server.in202
-rw-r--r--net/samba44/pkg-descr8
-rw-r--r--net/samba44/pkg-plist845
40 files changed, 3884 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 1769d94..e5f25d3 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1186,6 +1186,7 @@
SUBDIR += samba41
SUBDIR += samba42
SUBDIR += samba43
+ SUBDIR += samba44
SUBDIR += samplicator
SUBDIR += sbd
SUBDIR += scamper
diff --git a/net/samba44/Makefile b/net/samba44/Makefile
new file mode 100644
index 0000000..d5576ca
--- /dev/null
+++ b/net/samba44/Makefile
@@ -0,0 +1,514 @@
+# Created by: timur@FreeBSD.org
+# $FreeBSD$
+
+PORTNAME?= ${SAMBA4_BASENAME}44
+PORTVERSION?= ${SAMBA4_VERSION}
+CATEGORIES?= net
+MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc
+DISTNAME= ${SAMBA4_DISTNAME}
+
+MAINTAINER?= timur@FreeBSD.org
+COMMENT?= Free SMB/CIFS and AD/DC server and client for Unix
+
+LICENSE= GPLv3
+
+CONFLICTS?= *samba3[2-6]-3.* samba4-4.0.* samba41-4.1.* samba42-4.2.* samba43-4.3.*
+
+#EXTRA_PATCHES= ${PATCHDIR}/extra-patch-security:-p1
+
+SAMBA4_BASENAME= samba
+SAMBA4_PORTNAME= ${SAMBA4_BASENAME}4
+SAMBA4_VERSION= 4.4.3
+SAMBA4_DISTNAME= ${SAMBA4_BASENAME}-${SAMBA4_VERSION:S|.p|pre|:S|.r|rc|:S|.t|tp|:S|.a|alpha|}
+
+WRKSRC?= ${WRKDIR}/${DISTNAME}
+
+.if !defined(SAMBA4_SUBPORT)
+CPE_VENDOR= samba
+CPE_PRODUCT= samba
+# Directories
+VARDIR= ${DESTDIR}/var
+SAMBA4_RUNDIR= ${VARDIR}/run/${SAMBA4_PORTNAME}
+SAMBA4_LOGDIR= ${VARDIR}/log/${SAMBA4_PORTNAME}
+SAMBA4_LOCKDIR= ${VARDIR}/db/${SAMBA4_PORTNAME}
+SAMBA4_PRIVATEDIR= ${SAMBA4_LOCKDIR}/private
+SAMBA4_PAMDIR= ${PREFIX}/lib
+SAMBA4_LIBDIR= ${PREFIX}/lib/${SAMBA4_PORTNAME}
+SAMBA4_MODULEDIR= ${PREFIX}/lib/shared-modules
+SAMBA4_INCLUDEDIR= ${PREFIX}/include/${SAMBA4_PORTNAME}
+SAMBA4_CONFDIR= ${PREFIX}/etc
+SAMBA4_CONFIG= smb4.conf
+
+CONFIGURE_ARGS+= --mandir="${MANPREFIX}/man" \
+ --sysconfdir="${SAMBA4_CONFDIR}" \
+ --includedir="${SAMBA4_INCLUDEDIR}" \
+ --datadir="${DATADIR}" \
+ --libdir="${SAMBA4_LIBDIR}" \
+ --with-privatelibdir="${SAMBA4_LIBDIR}/private" \
+ --with-pammodulesdir="${SAMBA4_PAMDIR}" \
+ --with-modulesdir="${SAMBA4_MODULEDIR}" \
+ --with-pkgconfigdir="${PKGCONFIGDIR}" \
+ --localstatedir="${VARDIR}" \
+ --with-piddir="${SAMBA4_RUNDIR}" \
+ --with-sockets-dir="${SAMBA4_RUNDIR}" \
+ --with-privileged-socket-dir="${SAMBA4_RUNDIR}" \
+ --with-lockdir="${SAMBA4_LOCKDIR}" \
+ --with-statedir="${SAMBA4_LOCKDIR}" \
+ --with-cachedir="${SAMBA4_LOCKDIR}" \
+ --with-privatedir="${SAMBA4_PRIVATEDIR}" \
+ --with-logfilebase="${SAMBA4_LOGDIR}"
+# Flags
+CONFIGURE_ENV+= PTHREAD_LDFLAGS="-lpthread"
+
+USES= cpe compiler waf pkgconfig perl5 python:2 \
+ readline iconv shebangfix
+USE_PERL5= build
+USE_LDCONFIG= ${SAMBA4_LIBDIR}
+WAF_CMD= buildtools/bin/waf
+CONFIGURE_LOG= bin/config.log
+
+PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig
+PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;}
+# XXX: Unconditional dependencies which can't be switched off(if present
+# in the system)
+# popt
+LIB_DEPENDS+= libpopt.so:devel/popt
+# inotify
+LIB_DEPENDS+= libinotify.so:devel/libinotify
+# GNUTLS
+LIB_DEPENDS+= libgnutls.so:security/gnutls
+# NFS4 ACL glue
+LIB_DEPENDS+= libsunacl.so:sysutils/libsunacl
+# Libarchive
+BUILD_DEPENDS+= libarchive>=3.1.2:archivers/libarchive
+RUN_DEPENDS+= libarchive>=3.1.2:archivers/libarchive
+# External Samba dependencies
+# IDL compiler
+BUILD_DEPENDS+= p5-Parse-Pidl>=4.3.1:devel/p5-Parse-Pidl
+# External Python modules
+BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.9.4:dns/py-dnspython
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.9.4:dns/py-dnspython
+PLIST_SUB+= PY_DNSPYTHON="@comment "
+# talloc
+BUILD_DEPENDS+= talloc>=2.1.6:devel/talloc
+RUN_DEPENDS+= talloc>=2.1.6:devel/talloc
+SAMBA4_BUNDLED_LIBS+= !talloc
+# tevent
+BUILD_DEPENDS+= tevent>=0.9.28:devel/tevent
+RUN_DEPENDS+= tevent>=0.9.28:devel/tevent
+SAMBA4_BUNDLED_LIBS+= !tevent
+# tdb
+BUILD_DEPENDS+= tdb>=1.3.8:databases/tdb
+RUN_DEPENDS+= tdb>=1.3.8:databases/tdb
+SAMBA4_BUNDLED_LIBS+= !tdb
+# ldb
+BUILD_DEPENDS+= ldb>=1.1.26:databases/ldb
+RUN_DEPENDS+= ldb>=1.1.26:databases/ldb
+SAMBA4_BUNDLED_LIBS+= !ldb
+# Don't use external libcom_err
+SAMBA4_BUNDLED_LIBS+= com_err
+##############################################################################
+# Options
+OPTIONS_DEFINE= ACL_SUPPORT AD_DC ADS CUPS DEBUG \
+ DNSUPDATE DOCS FAM LDAP \
+ PTHREADPOOL QUOTAS SYSLOG UTMP
+
+OPTIONS_DEFAULT:= ACL_SUPPORT AD_DC ADS DEBUG \
+ DNSUPDATE DOCS FAM LDAP \
+ PTHREADPOOL QUOTAS SYSLOG UTMP
+
+ACL_SUPPORT_DESC= File system ACL support
+AD_DC_DESC= Active Directory Domain Controller support
+ADS_DESC= Active Directory client support
+DNSUPDATE_DESC= Dynamic DNS update (require ADS)
+EXP_MODULES_DESC= Experimental modules
+FAM_DESC= File Alteration Monitor support
+DEBUG_DESC= With debug information in the binaries
+LDAP_DESC= LDAP client support
+PAM_SMBPASS_DESC= PAM authentication via passdb backends
+PTHREADPOOL_DESC= Pthread pool
+QUOTAS_DESC= Disk quota support
+UTMP_DESC= UTMP accounting support
+##############################################################################
+OPTIONS_DEFINE+= DEVELOPER MANPAGES EXP_MODULES
+
+DEVELOPER_DESC= With development support
+MANPAGES_DESC= Build manpages from DOCBOOK templates
+
+OPTIONS_RADIO= DNS ZEROCONF
+OPTIONS_RADIO_DNS= NSUPDATE BIND99 BIND910
+OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER
+
+BIND99_DESC= Use bind99 as AD DC DNS server frontend
+BIND910_DESC= Use bind910 as AD DC DNS server frontend
+NSUPDATE_DESC= Use samba NSUPDATE utility for AD DC
+
+.include <bsd.port.options.mk>
+
+CONFIGURE_ARGS+= \
+ --with-pam \
+ --with-iconv \
+ --with-winbind \
+ --disable-rpath \
+ --without-gettext \
+ --with-sendfile-support \
+ --builtin-libraries=smbclient \
+ ${ICONV_CONFIGURE_BASE}
+
+# for libexecinfo: (so that __builtin_frame_address() finds the top of the stack)
+.if ${ARCH} == "amd64"
+CFLAGS+= -fno-omit-frame-pointer
+.endif
+
+.if ${PORT_OPTIONS:MBIND99}
+RUN_DEPENDS+= bind99>=9.9.0.0:dns/bind99
+SUB_LIST+= NSUPDATE="@comment "
+.elif ${PORT_OPTIONS:MBIND910}
+RUN_DEPENDS+= bind910>=9.10.0.0:dns/bind910
+SUB_LIST+= NSUPDATE="@comment "
+.elif ${PORT_OPTIONS:MNSUPDATE}
+RUN_DEPENDS+= samba-nsupdate:dns/samba-nsupdate
+SUB_LIST+= NSUPDATE=""
+.else
+SUB_LIST+= NSUPDATE="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MDEBUG}
+WITH_DEBUG= yes
+CONFIGURE_ARGS+= --verbose
+MAKE_ARGS+= --verbose
+CONFIGURE_ARGS+= --enable-debug
+.endif
+
+# https://bugzilla.samba.org/show_bug.cgi?id=8969
+.if ${PORT_OPTIONS:MDEVELOPER}
+#GDB_CMD?= gdb79
+# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194046
+# XXX: Still may break, if the link isn't installed - blame devel/gdb maintainer then.
+GDB_CMD?= ${LOCALBASE}/bin/gdb
+BUILD_DEPENDS+= ${GDB_CMD}:devel/gdb
+RUN_DEPENDS+= ${GDB_CMD}:devel/gdb
+SAMBA4_MODULES+= auth_skel perfcount_test pdb_test vfs_shadow_copy_test vfs_skel_opaque vfs_skel_transparent vfs_fake_acls
+CONFIGURE_ARGS+= --enable-developer --enable-selftest --abi-check-disable
+PLIST_SUB+= DEVELOPER=""
+.else
+GDB_CMD= true
+PLIST_SUB+= DEVELOPER="@comment "
+.endif
+##############################################################################
+# XXX: That will blow up your installation
+# https://bugzilla.samba.org/show_bug.cgi?id=9302
+.if defined(CRAZY)
+WANT_EXP_MODULES= auth_samba4 auth_script auth_skel auth_unix auth_wbc \
+ gpext_registry gpext_scripts gpext_security idmap_ad \
+ idmap_autorid idmap_hash idmap_ldap idmap_passdb \
+ idmap_rid idmap_tdb idmap_tdb2 idmap_nss nss_info_template \
+ pdb_ldap pdb_samba_dsdb pdb_smbpasswd pdb_tdbsam \
+ pdb_test pdb_wbc_sam perfcount_test vfs_acl_tdb \
+ vfs_acl_xattr vfs_aio_fork \
+ vfs_aio_pthread vfs_audit vfs_cacheprime vfs_cap \
+ vfs_catia vfs_commit vfs_crossrename vfs_default_quota \
+ vfs_dfs_samba4 vfs_dirsort vfs_expand_msdfs vfs_extd_audit \
+ vfs_fake_acls vfs_fake_perms vfs_full_audit vfs_media_harmony \
+ vfs_netatalk vfs_posix_eadb vfs_preopen vfs_readahead \
+ vfs_readonly vfs_recycle vfs_scannedonly vfs_shadow_copy \
+ vfs_shadow_copy2 vfs_shadow_copy_test vfs_skel_opaque \
+ vfs_skel_transparent vfs_smb_traffic_analyzer vfs_streams_depot \
+ vfs_streams_xattr vfs_syncops vfs_time_audit \
+ vfs_xattr_tdb vfs_zfsacl
+.endif
+
+.if ${PORT_OPTIONS:MEXP_MODULES}
+. if !defined(WANT_EXP_MODULES) || empty(WANT_EXP_MODULES)
+WANT_EXP_MODULES= vfs_cacheprime gpext_scripts gpext_security gpext_registry
+. endif
+.endif
+
+.if ${PORT_OPTIONS:MACL_SUPPORT}
+LIB_DEPENDS+= libsunacl.so:sysutils/libsunacl
+WANT_EXP_MODULES+= vfs_zfsacl
+SAMBA4_MODULES+= vfs_zfsacl
+CONFIGURE_ARGS+= --with-acl-support
+.else
+CONFIGURE_ARGS+= --without-acl-support
+.endif
+
+.if ! ${PORT_OPTIONS:MAD_DC}
+CONFIGURE_ARGS+= --without-ad-dc
+PLIST_SUB+= AD_DC="@comment "
+SUB_LIST+= AD_DC="@comment "
+.else
+PLIST_SUB+= AD_DC=""
+SUB_LIST+= AD_DC=""
+.endif
+
+.if ${PORT_OPTIONS:MADS}
+SAMBA4_WANT_ADS= yes
+SAMBA4_WANT_LDAP= yes
+# List of extra modules taken from RHEL build
+# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197320
+SAMBA4_MODULES+= idmap_rid idmap_ad idmap_hash idmap_adex idmap_tdb2
+.endif
+
+.if ${PORT_OPTIONS:MAVAHI}
+LIB_DEPENDS+= libavahi-client.so:net/avahi-app
+CONFIGURE_ARGS+= --enable-avahi
+.else
+CONFIGURE_ARGS+= --disable-avahi
+.endif
+
+.if ${PORT_OPTIONS:MMDNSRESPONDER}
+LIB_DEPENDS+= libdns_sd.so:net/mDNSResponder
+CONFIGURE_ARGS+= --enable-dnssd
+.else
+CONFIGURE_ARGS+= --disable-dnssd
+.endif
+
+.if ${PORT_OPTIONS:MCUPS}
+LIB_DEPENDS+= libcups.so:print/cups
+CONFIGURE_ARGS+= --enable-cups --enable-iprint
+PLIST_SUB+= CUPS=""
+.else
+CONFIGURE_ARGS+= --disable-cups --disable-iprint
+PLIST_SUB+= CUPS="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MDNSUPDATE}
+SAMBA_WANT_ADS= yes
+CONFIGURE_ARGS+= --with-dnsupdate
+PLIST_SUB+= DNSUPDATE=""
+.else
+CONFIGURE_ARGS+= --without-dnsupdate
+PLIST_SUB+= DNSUPDATE="@comment "
+.endif
+
+# https://bugzilla.samba.org/show_bug.cgi?id=9545
+.if ${PORT_OPTIONS:MFAM}
+USES+= fam
+CONFIGURE_ARGS+= --with-fam
+.else
+CONFIGURE_ARGS+= --without-fam
+.endif
+
+.if ${PORT_OPTIONS:MLDAP}
+SAMBA4_WANT_LDAP= yes
+.endif
+
+.if ${PORT_OPTIONS:MPTHREADPOOL}
+CONFIGURE_ARGS+= --enable-pthreadpool
+SAMBA4_MODULES+= vfs_aio_pthread
+.else
+CONFIGURE_ARGS+= --disable-pthreadpool
+.endif
+
+.if ${PORT_OPTIONS:MQUOTAS}
+CONFIGURE_ARGS+= --with-quotas
+.else
+CONFIGURE_ARGS+= --without-quotas
+.endif
+
+.if ${PORT_OPTIONS:MSYSLOG}
+CONFIGURE_ARGS+= --with-syslog
+.else
+CONFIGURE_ARGS+= --without-syslog
+.endif
+
+.if ${PORT_OPTIONS:MUTMP}
+CONFIGURE_ARGS+= --with-utmp
+.else
+CONFIGURE_ARGS+= --without-utmp
+.endif
+
+.if defined(SAMBA4_WANT_ADS)
+CONFIGURE_ARGS+= --with-ads
+.else
+CONFIGURE_ARGS+= --without-ads
+.endif
+
+.if defined(SAMBA4_WANT_LDAP)
+USE_OPENLDAP= yes
+#WANT_OPENLDAP_SASL= yes
+CONFIGURE_ARGS+= --with-ldap
+PLIST_SUB+= LDAP=""
+.else
+CONFIGURE_ARGS+= --without-ldap
+PLIST_SUB+= LDAP="@comment "
+.endif
+
+.if ! ${PORT_OPTIONS:MMANPAGES}
+CONFIGURE_ENV+= XSLTPROC="true"
+.else
+BUILD_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \
+ xsltproc:textproc/libxslt
+.endif
+
+.if defined(SAMBA4_BUNDLED_LIBS) && !empty(SAMBA4_BUNDLED_LIBS)
+CONFIGURE_ARGS+= --bundled-libraries="${SAMBA4_BUNDLED_LIBS:Q:C|(\\\\ )+|,|g:S|\\||g}"
+.endif
+
+.if defined(WANT_EXP_MODULES) && !empty(WANT_EXP_MODULES)
+SAMBA4_MODULES+= ${WANT_EXP_MODULES}
+.endif
+
+.if defined(SAMBA4_MODULES) && !empty(SAMBA4_MODULES)
+CONFIGURE_ARGS+= --with-shared-modules="${SAMBA4_MODULES:Q:C|(\\\\ )+|,|g:S|\\||g}"
+.endif
+# XXX: Dirty
+.for module in auth_samba4 auth_skel auth_unix auth_wbc gpext_registry gpext_scripts \
+ gpext_security idmap_ad idmap_ldap idmap_nss idmap_passdb idmap_tdb \
+ nss_info_template pdb_ldap pdb_samba_dsdb pdb_smbpasswd pdb_tdbsam \
+ pdb_test pdb_wbc_sam perfcount_test vfs_aio_pthread \
+ vfs_cacheprime vfs_dfs_samba4 vfs_fake_acls \
+ vfs_shadow_copy_test vfs_skel_opaque vfs_skel_transparent
+. if !empty(SAMBA4_MODULES) && ${SAMBA4_MODULES:M${module}}
+PLIST_SUB+= MODULE_${module:tu}=""
+. else
+PLIST_SUB+= MODULE_${module:tu}="@comment "
+. endif
+.endfor
+##############################################################################
+# !SAMBA4_SUBPORT
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if !defined(SAMBA4_SUBPORT)
+
+SAMBA4_SUB= SAMBA4_LOGDIR="${SAMBA4_LOGDIR}" \
+ SAMBA4_RUNDIR="${SAMBA4_RUNDIR}" \
+ SAMBA4_LOCKDIR="${SAMBA4_LOCKDIR}" \
+ SAMBA4_MODULEDIR="${SAMBA4_MODULEDIR}" \
+ SAMBA4_PRIVATEDIR="${SAMBA4_PRIVATEDIR}" \
+ SAMBA4_CONFDIR="${SAMBA4_CONFDIR}" \
+ SAMBA4_CONFIG="${SAMBA4_CONFIG}"
+
+PLIST_SUB+= ${SAMBA4_SUB}
+SUB_LIST+= ${SAMBA4_SUB}
+
+USE_RC_SUBR= samba_server
+SUB_FILES= pkg-message README.FreeBSD
+# Make sure that the right version of Python is used by the tools
+# https://bugzilla.samba.org/show_bug.cgi?id=7305
+SHEBANG_FILES= ${PATCH_WRKSRC}/source4/scripting/bin/*
+# No fancy color error messages
+.if ${COMPILER_TYPE} == "clang"
+CFLAGS+= -fno-color-diagnostics
+.endif
+CONFIGURE_ENV+= NOCOLOR=yes WAF_LOG_FORMAT='%(c1)s%(zone)s%(c2)s %(message)s'
+MAKE_ENV+= NOCOLOR=yes WAF_LOG_FORMAT='%(c1)s%(zone)s%(c2)s %(message)s'
+
+SAMBA_MAN1+= dbwrap_tool.1 findsmb.1 gentest.1 locktest.1 \
+ log2pcap.1 masktest.1 ndrdump.1 nmblookup.1 \
+ nmblookup4.1 ntlm_auth.1 oLschema2ldif.1 \
+ profiles.1 regdiff.1 regpatch.1 regshell.1 \
+ regtree.1 rpcclient.1 sharesec.1 smbcacls.1 \
+ smbclient.1 smbcontrol.1 smbcquotas.1 smbget.1 \
+ smbstatus.1 smbtar.1 smbtorture.1 smbtree.1 \
+ testparm.1 vfstest.1 wbinfo.1
+
+SAMBA_MAN5+= lmhosts.5 smbgetrc.5 smbpasswd.5 pam_winbind.conf.5 \
+ smb.conf.5
+
+SAMBA_MAN7+= samba.7 winbind_krb5_locator.7
+
+SAMBA_MAN8+= cifsdd.8 eventlogadm.8 idmap_ad.8 idmap_autorid.8 idmap_hash.8 \
+ idmap_ldap.8 idmap_nss.8 idmap_rfc2307.8 idmap_rid.8 \
+ idmap_tdb.8 idmap_tdb2.8 net.8 nmbd.8 pam_winbind.8 pdbedit.8 \
+ samba-regedit.8 samba-tool.8 samba.8 smbd.8 smbpasswd.8 \
+ smbspool_krb5_wrapper.8 smbspool.8 smbta-util.8 vfs_acl_tdb.8 vfs_acl_xattr.8 \
+ vfs_aio_fork.8 vfs_aio_linux.8 vfs_aio_pthread.8 \
+ vfs_audit.8 vfs_cacheprime.8 vfs_cap.8 vfs_catia.8 vfs_ceph.8 \
+ vfs_commit.8 vfs_crossrename.8 vfs_default_quota.8 \
+ vfs_dirsort.8 vfs_extd_audit.8 vfs_fake_perms.8 vfs_fileid.8 \
+ vfs_fruit.8 vfs_full_audit.8 vfs_glusterfs.8 vfs_gpfs.8 vfs_media_harmony.8 \
+ vfs_netatalk.8 vfs_offline.8 vfs_prealloc.8 \
+ vfs_preopen.8 vfs_readahead.8 vfs_readonly.8 \
+ vfs_recycle.8 vfs_scannedonly.8 vfs_shadow_copy.8 \
+ vfs_shadow_copy2.8 vfs_snapper.8 vfs_smb_traffic_analyzer.8 \
+ vfs_streams_depot.8 vfs_streams_xattr.8 vfs_syncops.8 vfs_time_audit.8 \
+ vfs_tsmsm.8 vfs_worm.8 vfs_xattr_tdb.8 winbindd.8 \
+ vfs_linux_xfs_sgid.8 vfs_btrfs.8 vfs_shell_snap.8 vfs_unityed_media.8
+
+PORTDOCS= README.FreeBSD
+
+IGNORE_NONTHREAD_PYTHON=needs port lang/python${PYTHON_SUFFIX} to be build with THREADS support
+
+post-extract:
+ @${RM} -rf ${WRKSRC}/pidl
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|$${PKGCONFIGDIR}|${PKGCONFIGDIR}|g' \
+ ${PATCH_WRKSRC}/buildtools/wafsamba/pkgconfig.py
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+ ${PATCH_WRKSRC}/buildtools/wafsamba/samba_pidl.py \
+ ${PATCH_WRKSRC}/buildtools/wafsamba/wafsamba.py
+ @${REINPLACE_CMD} -e 's|%%GDB_CMD%%|${GDB_CMD}|g' \
+ ${PATCH_WRKSRC}/buildtools/scripts/abi_gen.sh
+ @${REINPLACE_CMD} -e 's|%%SAMBA4_CONFIG%%|${SAMBA4_CONFIG}|g' \
+ ${PATCH_WRKSRC}/dynconfig/wscript
+
+# Use threading (or multiprocessing) but not thread (renamed in python 3+).
+pre-configure:
+ @if ! ${PYTHON_CMD} -c "import multiprocessing;" 2>/dev/null; then \
+ ${ECHO_CMD}; \
+ ${ECHO_MSG} "===> ${PKGNAME} "${IGNORE_NONTHREAD_PYTHON:Q}.; \
+ ${ECHO_CMD}; \
+ ${FALSE}; \
+ fi
+
+# XXX: Gross hack to allow build newer Samba while old one is installed.
+# This implies that LINKFLAGS_PYEMBED contains flags which are already
+# used in other parts of LINKFLAGS, namely -L$(LOCALBASE)/lib and -pthread
+post-configure:
+ -${REINPLACE_CMD} -e 's|LINKFLAGS_PYEMBED.*|LINKFLAGS_PYEMBED = []|' \
+ ${CONFIGURE_WRKSRC}/bin/c4che/default.cache.py
+
+pre-build:
+.if ! ${PORT_OPTIONS:MMANPAGES}
+. for man in libcli/nbt/man/nmblookup4.1 \
+ librpc/tools/ndrdump.1 \
+ source4/lib/registry/man/regdiff.1 \
+ source4/lib/registry/man/regpatch.1 \
+ source4/lib/registry/man/regshell.1 \
+ source4/lib/registry/man/regtree.1 \
+ source4/torture/man/gentest.1 \
+ source4/torture/man/locktest.1 \
+ source4/torture/man/masktest.1 \
+ source4/torture/man/smbtorture.1 \
+ source4/utils/man/ntlm_auth4.1 \
+ source4/utils/man/oLschema2ldif.1
+ -@${MKDIR} `dirname ${BUILD_WRKSRC}/bin/default/${man}`
+ ${INSTALL_MAN} ${FILESDIR}/man/`basename ${man}` ${BUILD_WRKSRC}/bin/default/${man}
+. endfor
+ -@${MKDIR} ${BUILD_WRKSRC}/bin/default/docs-xml/manpages
+. for man in ${SAMBA_MAN1} ${SAMBA_MAN5} ${SAMBA_MAN7} ${SAMBA_MAN8}
+ -${INSTALL_MAN} ${BUILD_WRKSRC}/docs/manpages/${man} ${BUILD_WRKSRC}/bin/default/docs-xml/manpages
+. endfor
+.endif
+
+post-install:
+ @${LN} -sf smb.conf.5.gz ${STAGEDIR}${PREFIX}/man/man5/smb4.conf.5.gz
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+. for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKDIR}/${doc} ${STAGEDIR}${DOCSDIR}
+. endfor
+.endif
+# Run post-install script
+.for dir in ${SAMBA4_LOGDIR} ${SAMBA4_RUNDIR} ${SAMBA4_LOCKDIR} ${SAMBA4_MODULEDIR}
+ @${INSTALL} -d -m 0755 "${STAGEDIR}${dir}"
+.endfor
+ @${INSTALL} -d -m 0700 "${STAGEDIR}${SAMBA4_PRIVATEDIR}"
+.for dir in auth bind9 gensec gpext idmap ldb nss_info pdb perfcount process_model service vfs
+ @${MKDIR} "${STAGEDIR}${SAMBA4_MODULEDIR}/${dir}"
+.endfor
+
+.if ${PORT_OPTIONS:MDEVELOPER}
+test: build
+ @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${INSTALL_WRKSRC}/${WAF_CMD} ${MAKE_ARGS} $@)
+.endif
+
+# !SAMBA4_SUBPORT
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/samba44/distinfo b/net/samba44/distinfo
new file mode 100644
index 0000000..41e89d2
--- /dev/null
+++ b/net/samba44/distinfo
@@ -0,0 +1,2 @@
+SHA256 (samba-4.4.3.tar.gz) = 031e6ada6d15deae6850845eed41497af32207fb679d6c6c74f19acc99d437ba
+SIZE (samba-4.4.3.tar.gz) = 20705861
diff --git a/net/samba44/files/README.FreeBSD.in b/net/samba44/files/README.FreeBSD.in
new file mode 100644
index 0000000..b40faa7
--- /dev/null
+++ b/net/samba44/files/README.FreeBSD.in
@@ -0,0 +1,99 @@
+
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !!! Please read before runing any tools !!!
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
+Documentation
+=============
+
+ o https://wiki.samba.org/index.php/Samba4/HOWTO
+
+ o https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
+
+ o https://wiki.samba.org/index.php/Samba4/samba-tool/domain/classicupgrade/HOWTO
+
+FreeBSD specific information
+============================
+
+* Your configuration is in: %%SAMBA4_CONFDIR%%/%%SAMBA4_CONFIG%%
+
+* All the logs are under: %%SAMBA4_LOGDIR%%
+
+* All the relevant databases are under: %%SAMBA4_LOCKDIR%%
+
+* Provisioning script is: %%PREFIX%%/bin/samba-tool
+
+Samba4 provisioning requires file system(s) with POSIX ACLs support. At
+the moment that is UFS2 only. You have to add 'acls' option to the mount
+flags to get things working.
+
+It is known that ZFS-only installations don't work out of the box with
+Samba4. In partucular, s3fs service requires POSIX ACLs during provi-
+sioning. It is possible to work around that requirement by specifying:
+
+ # samba-tool domain provision --interactive --use-xattrs=no --use-ntvfs
+
+And removing later in '%%SAMBA4_CONFIG%%' options like:
+
+ 'server services', 'dcerpc endpoint servers', 'posix:eadb'
+
+and adding 'vfs objects = zfsacl' as well. Still this isn't supported
+and tested configuration, so use it at your own risk.
+
+You may find this tutorial useful, if you happen to run Samba4 on
+ZFS-root:
+
+ o http://glsan.com/community/samba4
+
+To run this port you need to perform the following steps:
+---------------------------------------------------------
+
+0. If you had Samba3 port installed before, please, *take backups* of
+all the relevant files. That includes 'smb.conf' file and all the
+content of the '/var/db/samba/' directory.
+
+If you had Samba4-devel installation before to my knowledge the best
+option would be to start from scratch.
+
+1a. Create new '%%SAMBA4_CONFDIR%%/%%SAMBA4_CONFIG%%' file by running:
+
+ # samba-tool domain provision
+
+1b. Or upgrade from the Samba3 'smb.conf' file by running:
+
+ # samba-tool domain classicupgrade
+
+%%NSUPDATE%%1c. You will need to specify location of the 'nsupdate' command in the
+%%NSUPDATE%%'%%SAMBA4_CONFIG%%' file:
+%%NSUPDATE%%
+%%NSUPDATE%% nsupdate command = %%PREFIX%%/bin/samba-nsupdate -g
+%%NSUPDATE%%
+2. Put string 'samba_server_enable="YES"' into your /etc/rc.conf.
+
+3. Make sure that your server doesn't run Samba3, OpenLDAP and named.
+Stop them, if necessary.
+
+4. Run '%%PREFIX%%/etc/rc.d/samba_server start' or reboot.
+
+WARNING! This port is still experimental and if you need any asistance,
+please, check archives of samba@lists.samba.org and ask there for help.
+
+ https://lists.samba.org/archive/samba/
+
+In case you found a bug which is clearly not related to the port build
+process itself, plese file a bug report at:
+
+ https://bugzilla.samba.org/
+
+And add me to CC list.
+
+You may find those tools helpful:
+---------------------------------
+
+Microsoft Remote Server Administration Tools (RSAT) for:
+
+* Vista: http://www.microsoft.com/en-us/download/details.aspx?id=21090
+* Windows 7: http://www.microsoft.com/en-us/download/details.aspx?id=7887
+
+
+FreeBSD Samba4 port maintainer: Timur I. Bakeyev <timur@FreeBSD.org>
diff --git a/net/samba44/files/man/gentest.1 b/net/samba44/files/man/gentest.1
new file mode 100644
index 0000000..b69bb48
--- /dev/null
+++ b/net/samba44/files/man/gentest.1
@@ -0,0 +1,133 @@
+'\" t
+.\" Title: gentest
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
+.\" Date: 03/26/2015
+.\" Manual: Test Suite
+.\" Source: Samba 4.0
+.\" Language: English
+.\"
+.TH "GENTEST" "1" "03/26/2015" "Samba 4\&.0" "Test Suite"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+gentest \- Run random generic SMB operations against two SMB servers and show the differences in behavior
+.SH "SYNOPSIS"
+.HP \w'\fBgentest\fR\ 'u
+\fBgentest\fR {//server1/share1} {//server2/share2} {\-U\ user%pass} {\-U\ user%pass} [\-s\ seed] [\-o\ numops] [\-a] [\-A] [\-i\ FILE] [\-O] [\-S\ FILE] [\-L] [\-F] [\-C] [\-X]
+.SH "DESCRIPTION"
+.PP
+gentest
+is a utility for detecting differences in behaviour between SMB servers\&. It will run a random set of generic operations against
+\fI//server1/share1\fR
+and then the same random set against
+\fI//server2/share2\fR
+and display the differences in the responses it gets\&.
+.PP
+This utility is used by the Samba team to find differences in behaviour between Samba and Windows servers\&.
+.SH "OPTIONS"
+.PP
+\-U user%pass
+.RS 4
+Specify the user and password to use when logging on on the shares\&. This parameter is mandatory and has to be specified twice\&.
+.RE
+.PP
+\-s seed
+.RS 4
+Seed the random number generator with the specified value\&.
+.RE
+.PP
+\-o numops
+.RS 4
+Set the number of operations to perform\&.
+.RE
+.PP
+\-a
+.RS 4
+Print the operations that are performed\&.
+.RE
+.PP
+\-A
+.RS 4
+Backtrack to find minimal number of operations required to make the response to a certain call differ\&.
+.RE
+.PP
+\-i FILE
+.RS 4
+Specify a file containing the names of fields that have to be ignored (such as time fields)\&. See below for a description of the file format\&.
+.RE
+.PP
+\-O
+.RS 4
+Enable oplocks\&.
+.RE
+.PP
+\-S FILE
+.RS 4
+Set preset seeds file\&. The default is
+gentest_seeds\&.dat\&.
+.RE
+.PP
+\-L
+.RS 4
+Use preset seeds
+.RE
+.PP
+\-F
+.RS 4
+Fast reconnect (just close files)
+.RE
+.PP
+\-C
+.RS 4
+Continuous analysis mode
+.RE
+.PP
+\-X
+.RS 4
+Analyse even when the test succeeded\&.
+.RE
+.SH "VERSION"
+.PP
+This man page is correct for version 4\&.0 of the Samba suite\&.
+.SH "SEE ALSO"
+.PP
+Samba
+.SH "AUTHOR"
+.PP
+This utility is part of the
+\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2
+suite, which is developed by the global
+\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&.
+.PP
+gentest was written by Andrew Tridgell\&.
+.PP
+This manpage was written by Jelmer Vernooij\&.
+.SH "NOTES"
+.IP " 1." 4
+Samba
+.RS 4
+\%http://www.samba.org/
+.RE
+.IP " 2." 4
+Samba Team
+.RS 4
+\%http://www.samba.org/samba/team/
+.RE
diff --git a/net/samba44/files/man/locktest.1 b/net/samba44/files/man/locktest.1
new file mode 100644
index 0000000..e8477bc
--- /dev/null
+++ b/net/samba44/files/man/locktest.1
@@ -0,0 +1,137 @@
+'\" t
+.\" Title: locktest
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
+.\" Date: 03/26/2015
+.\" Manual: Test Suite
+.\" Source: Samba 4.0
+.\" Language: English
+.\"
+.TH "LOCKTEST" "1" "03/26/2015" "Samba 4\&.0" "Test Suite"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+locktest \- Find differences in locking between two SMB servers
+.SH "SYNOPSIS"
+.HP \w'\fBlocktest\fR\ 'u
+\fBlocktest\fR {//server1/share1} {//server2/share2} [\-U\ user%pass] [\-U\ user%pass] [\-s\ seed] [\-o\ numops] [\-a] [\-O] [\-E] [\-Z] [\-R\ range] [\-B\ base] [\-M\ min]
+.SH "DESCRIPTION"
+.PP
+locktest
+is a utility for detecting differences in behaviour in locking between SMB servers\&. It will run a random set of locking operations against
+\fI//server1/share1\fR
+and then the same random set against
+\fI//server2/share2\fR
+and display the differences in the responses it gets\&.
+.PP
+This utility is used by the Samba team to find differences in behaviour between Samba and Windows servers\&.
+.SH "OPTIONS"
+.PP
+\-U user%pass
+.RS 4
+Specify the user and password to use when logging on on the shares\&. This parameter can be specified twice (once for the first server, once for the second)\&.
+.RE
+.PP
+\-s seed
+.RS 4
+Seed the random number generator with the specified value\&.
+.RE
+.PP
+\-o numops
+.RS 4
+Set the number of operations to perform\&.
+.RE
+.PP
+\-a
+.RS 4
+Print the operations that are performed\&.
+.RE
+.PP
+\-A
+.RS 4
+Backtrack to find minimal number of operations required to make the response to a certain call differ\&.
+.RE
+.PP
+\-O
+.RS 4
+Enable oplocks\&.
+.RE
+.PP
+\-u
+.RS 4
+Hide unlock fails\&.
+.RE
+.PP
+\-E
+.RS 4
+enable exact error code checking
+.RE
+.PP
+\-Z
+.RS 4
+enable the zero/zero lock
+.RE
+.PP
+\-R range
+.RS 4
+set lock range
+.RE
+.PP
+\-B base
+.RS 4
+set lock base
+.RE
+.PP
+\-M min
+.RS 4
+set min lock length
+.RE
+.PP
+\-k
+.RS 4
+Use kerberos
+.RE
+.SH "VERSION"
+.PP
+This man page is correct for version 4\&.0 of the Samba suite\&.
+.SH "SEE ALSO"
+.PP
+Samba
+.SH "AUTHOR"
+.PP
+This utility is part of the
+\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2
+suite, which is developed by the global
+\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&.
+.PP
+locktest was written by Andrew Tridgell\&.
+.PP
+This manpage was written by Jelmer Vernooij\&.
+.SH "NOTES"
+.IP " 1." 4
+Samba
+.RS 4
+\%http://www.samba.org/
+.RE
+.IP " 2." 4
+Samba Team
+.RS 4
+\%http://www.samba.org/samba/team/
+.RE
diff --git a/net/samba44/files/man/masktest.1 b/net/samba44/files/man/masktest.1
new file mode 100644
index 0000000..3eaf1ec
--- /dev/null
+++ b/net/samba44/files/man/masktest.1
@@ -0,0 +1,113 @@
+'\" t
+.\" Title: masktest
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
+.\" Date: 03/26/2015
+.\" Manual: Test Suite
+.\" Source: Samba 4.0
+.\" Language: English
+.\"
+.TH "MASKTEST" "1" "03/26/2015" "Samba 4\&.0" "Test Suite"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+masktest \- Find differences in wildcard matching between Samba\*(Aqs implementation and that of a remote server\&.
+.SH "SYNOPSIS"
+.HP \w'\fBmasktest\fR\ 'u
+\fBmasktest\fR {//server/share} [\-U\ user%pass] [\-d\ debuglevel] [\-W\ workgroup] [\-n\ numloops] [\-s\ seed] [\-a] [\-E] [\-M\ max\ protocol] [\-f\ filechars] [\-m\ maskchars] [\-v]
+.SH "DESCRIPTION"
+.PP
+masktest
+is a utility for detecting differences in behaviour between Samba\*(Aqs own implementation and that of a remote server\&. It will run generate random filenames/masks and check if these match the same files they do on the remote file as they do on the local server\&. It will display any differences it finds\&.
+.PP
+This utility is used by the Samba team to find differences in behaviour between Samba and Windows servers\&.
+.SH "OPTIONS"
+.PP
+\-U user%pass
+.RS 4
+Specify the user and password to use when logging on on the shares\&. This parameter can be specified twice (once for the first server, once for the second)\&.
+.RE
+.PP
+\-s seed
+.RS 4
+Seed the random number generator with the specified value\&.
+.RE
+.PP
+\-n numops
+.RS 4
+Set the number of operations to perform\&.
+.RE
+.PP
+\-a
+.RS 4
+Print the operations that are performed\&.
+.RE
+.PP
+\-M max_protocol
+.RS 4
+Maximum protocol to use\&.
+.RE
+.PP
+\-f
+.RS 4
+Specify characters that can be used when generating file names\&. Default: abcdefghijklm\&.
+.RE
+.PP
+\-E
+.RS 4
+Abort when difference in behaviour is found\&.
+.RE
+.PP
+\-m maskchars
+.RS 4
+Specify characters used for wildcards\&.
+.RE
+.PP
+\-v
+.RS 4
+Be verbose
+.RE
+.SH "VERSION"
+.PP
+This man page is correct for version 4\&.0 of the Samba suite\&.
+.SH "SEE ALSO"
+.PP
+Samba
+.SH "AUTHOR"
+.PP
+This utility is part of the
+\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2
+suite, which is developed by the global
+\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&.
+.PP
+masktest was written by Andrew Tridgell\&.
+.PP
+This manpage was written by Jelmer Vernooij\&.
+.SH "NOTES"
+.IP " 1." 4
+Samba
+.RS 4
+\%http://www.samba.org/
+.RE
+.IP " 2." 4
+Samba Team
+.RS 4
+\%http://www.samba.org/samba/team/
+.RE
diff --git a/net/samba44/files/man/ndrdump.1 b/net/samba44/files/man/ndrdump.1
new file mode 100644
index 0000000..079c388
--- /dev/null
+++ b/net/samba44/files/man/ndrdump.1
@@ -0,0 +1,83 @@
+'\" t
+.\" Title: ndrdump
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
+.\" Date: 03/26/2015
+.\" Manual: System Administration tools
+.\" Source: Samba 4.0
+.\" Language: English
+.\"
+.TH "NDRDUMP" "1" "03/26/2015" "Samba 4\&.0" "System Administration tools"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+ndrdump \- DCE/RPC Packet Parser and Dumper
+.SH "SYNOPSIS"
+.HP \w'\fBndrdump\fR\ 'u
+\fBndrdump\fR [\-c\ context] {pipe} {function} {in|out} {filename}
+.HP \w'\fBndrdump\fR\ 'u
+\fBndrdump\fR [pipe]
+.HP \w'\fBndrdump\fR\ 'u
+\fBndrdump\fR
+.SH "DESCRIPTION"
+.PP
+ndrdump tries to parse the specified
+\fIfilename\fR
+using Samba\*(Aqs parser for the specified pipe and function\&. The third argument should be either
+\fIin\fR
+or
+\fIout\fR, depending on whether the data should be parsed as a request or a reply\&.
+.PP
+Running ndrdump without arguments will list the pipes for which parsers are available\&.
+.PP
+Running ndrdump with one argument will list the functions that Samba can parse for the specified pipe\&.
+.PP
+The primary function of ndrdump is debugging Samba\*(Aqs internal DCE/RPC parsing functions\&. The file being parsed is usually one exported by wiresharks
+\(lqExport selected packet bytes\(rq
+function\&.
+.PP
+The context argument can be used to load context data from the request packet when parsing reply packets (such as array lengths)\&.
+.SH "VERSION"
+.PP
+This man page is correct for version 4\&.0 of the Samba suite\&.
+.SH "SEE ALSO"
+.PP
+wireshark, pidl
+.SH "AUTHOR"
+.PP
+This utility is part of the
+\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2
+suite, which is developed by the global
+\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&.
+.PP
+ndrdump was written by Andrew Tridgell\&.
+.PP
+This manpage was written by Jelmer Vernooij\&.
+.SH "NOTES"
+.IP " 1." 4
+Samba
+.RS 4
+\%http://www.samba.org/
+.RE
+.IP " 2." 4
+Samba Team
+.RS 4
+\%http://www.samba.org/samba/team/
+.RE
diff --git a/net/samba44/files/man/nmblookup4.1 b/net/samba44/files/man/nmblookup4.1
new file mode 100644
index 0000000..62a7e8d
--- /dev/null
+++ b/net/samba44/files/man/nmblookup4.1
@@ -0,0 +1,157 @@
+'\" t
+.\" Title: nmblookup4
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
+.\" Date: 05/30/2015
+.\" Manual: User Commands
+.\" Source: Samba 3.2
+.\" Language: English
+.\"
+.TH "NMBLOOKUP4" "1" "05/30/2015" "Samba 3\&.2" "User Commands"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+nmblookup4 \- NetBIOS over TCP/IP client used to lookup NetBIOS names
+.SH "SYNOPSIS"
+.HP \w'\fBnmblookup4\fR\ 'u
+\fBnmblookup4\fR [\-M] [\-R] [\-S] [\-r] [\-A] [\-h] [\-B\ <broadcast\ address>] [\-U\ <unicast\ address>] [\-d\ <debug\ level>] [\-s\ <smb\ config\ file>] [\-i\ <NetBIOS\ scope>] [\-T] [\-f] {name}
+.SH "DESCRIPTION"
+.PP
+This tool is part of the
+\fBsamba\fR(7)
+suite\&.
+.PP
+\fBnmblookup4\fR
+is used to query NetBIOS names and map them to IP addresses in a network using NetBIOS over TCP/IP queries\&. The options allow the name queries to be directed at a particular IP broadcast area or to a particular machine\&. All queries are done over UDP\&.
+.SH "OPTIONS"
+.PP
+\-M
+.RS 4
+Searches for a master browser by looking up the NetBIOS
+\fIname\fR
+with a type of
+\fB0x1d\fR\&. If
+\fI name\fR
+is "\-" then it does a lookup on the special name
+\fB__MSBROWSE__\fR\&. Please note that in order to use the name "\-", you need to make sure "\-" isn\*(Aqt parsed as an argument, e\&.g\&. use :
+\fBnmblookup4 \-M \-\- \-\fR\&.
+.RE
+.PP
+\-R
+.RS 4
+Set the recursion desired bit in the packet to do a recursive lookup\&. This is used when sending a name query to a machine running a WINS server and the user wishes to query the names in the WINS server\&. If this bit is unset the normal (broadcast responding) NetBIOS processing code on a machine is used instead\&. See RFC1001, RFC1002 for details\&.
+.RE
+.PP
+\-S
+.RS 4
+Once the name query has returned an IP address then do a node status query as well\&. A node status query returns the NetBIOS names registered by a host\&.
+.RE
+.PP
+\-r
+.RS 4
+Try and bind to UDP port 137 to send and receive UDP datagrams\&. The reason for this option is a bug in Windows 95 where it ignores the source port of the requesting packet and only replies to UDP port 137\&. Unfortunately, on most UNIX systems root privilege is needed to bind to this port, and in addition, if the
+\fBnmbd\fR(8)
+daemon is running on this machine it also binds to this port\&.
+.RE
+.PP
+\-A
+.RS 4
+Interpret
+\fIname\fR
+as an IP Address and do a node status query on this address\&.
+.RE
+.PP
+\-B <broadcast address>
+.RS 4
+Send the query to the given broadcast address\&. Without this option the default behavior of nmblookup4 is to send the query to the broadcast address of the network interfaces as either auto\-detected or defined in the
+\m[blue]\fB\fIinterfaces\fR\fR\m[]\&\s-2\u[1]\d\s+2
+parameter of the
+\fBsmb.conf\fR(5)
+file\&.
+.RE
+.PP
+\-U <unicast address>
+.RS 4
+Do a unicast query to the specified address or host
+\fIunicast address\fR\&. This option (along with the
+\fI\-R\fR
+option) is needed to query a WINS server\&.
+.RE
+.PP
+\-T
+.RS 4
+This causes any IP addresses found in the lookup to be looked up via a reverse DNS lookup into a DNS name, and printed out before each
+.sp
+\fIIP address \&.\&.\&.\&. NetBIOS name\fR
+.sp
+pair that is the normal output\&.
+.RE
+.PP
+\-f
+.RS 4
+Show which flags apply to the name that has been looked up\&. Possible answers are zero or more of: Response, Authoritative, Truncated, Recursion_Desired, Recursion_Available, Broadcast\&.
+.RE
+.PP
+name
+.RS 4
+This is the NetBIOS name being queried\&. Depending upon the previous options this may be a NetBIOS name or IP address\&. If a NetBIOS name then the different name types may be specified by appending \*(Aq#<type>\*(Aq to the name\&. This name may also be \*(Aq*\*(Aq, which will return all registered names within a broadcast area\&.
+.RE
+.SH "EXAMPLES"
+.PP
+\fBnmblookup4\fR
+can be used to query a WINS server (in the same way
+\fBnslookup\fR
+is used to query DNS servers)\&. To query a WINS server,
+\fBnmblookup4\fR
+must be called like this:
+.PP
+\fBnmblookup4 \-U server \-R \*(Aqname\*(Aq\fR
+.PP
+For example, running :
+.PP
+\fBnmblookup4 \-U samba\&.org \-R \*(AqIRIX#1B\*(Aq\fR
+.PP
+would query the WINS server samba\&.org for the domain master browser (1B name type) for the IRIX workgroup\&.
+.SH "VERSION"
+.PP
+This man page is correct for version 3 of the Samba suite\&.
+.SH "SEE ALSO"
+.PP
+\fBnmbd\fR(8),
+\fBsamba\fR(7), and
+\fBsmb.conf\fR(5)\&.
+.SH "AUTHOR"
+.PP
+The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&.
+.PP
+The original Samba man pages were written by Karl Auer\&. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+\m[blue]\fBftp://ftp\&.icce\&.rug\&.nl/pub/unix/\fR\m[]\&\s-2\u[2]\d\s+2) and updated for the Samba 2\&.0 release by Jeremy Allison\&. The conversion to DocBook for Samba 2\&.2 was done by Gerald Carter\&. The conversion to DocBook XML 4\&.2 for Samba 3\&.0 was done by Alexander Bokovoy\&.
+.SH "NOTES"
+.IP " 1." 4
+\fIinterfaces\fR
+
+.RS 4
+\%[set $man.base.url.for.relative.links]/smb.conf.5.html#INTERFACES
+.RE
+.IP " 2." 4
+ftp://ftp.icce.rug.nl/pub/unix/
+.RS 4
+\%ftp://ftp.icce.rug.nl/pub/unix/
+.RE
diff --git a/net/samba44/files/man/ntlm_auth4.1 b/net/samba44/files/man/ntlm_auth4.1
new file mode 100644
index 0000000..d3c75fc
--- /dev/null
+++ b/net/samba44/files/man/ntlm_auth4.1
@@ -0,0 +1,233 @@
+'\" t
+.\" Title: ntlm_auth4
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
+.\" Date: 05/30/2015
+.\" Manual: User Commands
+.\" Source: Samba 4.0
+.\" Language: English
+.\"
+.TH "NTLM_AUTH4" "1" "05/30/2015" "Samba 4\&.0" "User Commands"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+ntlm_auth4 \- tool to allow external access to Winbind\*(Aqs NTLM authentication function
+.SH "SYNOPSIS"
+.HP \w'\fBntlm_auth4\fR\ 'u
+\fBntlm_auth4\fR [\-d\ debuglevel] [\-l\ logdir] [\-s\ <smb\ config\ file>]
+.SH "DESCRIPTION"
+.PP
+This tool is part of the
+\fBsamba\fR(7)
+suite\&.
+.PP
+\fBntlm_auth4\fR
+is a helper utility that authenticates users using NT/LM authentication\&. It returns 0 if the users is authenticated successfully and 1 if access was denied\&. ntlm_auth4 uses winbind to access the user and authentication data for a domain\&. This utility is only indended to be used by other programs (currently squid)\&.
+.SH "OPERATIONAL REQUIREMENTS"
+.PP
+The
+\fBwinbindd\fR(8)
+daemon must be operational for many of these commands to function\&.
+.PP
+Some of these commands also require access to the directory
+winbindd_privileged
+in
+$LOCKDIR\&. This should be done either by running this command as root or providing group access to the
+winbindd_privileged
+directory\&. For security reasons, this directory should not be world\-accessable\&.
+.SH "OPTIONS"
+.PP
+\-\-helper\-protocol=PROTO
+.RS 4
+Operate as a stdio\-based helper\&. Valid helper protocols are:
+.PP
+squid\-2\&.4\-basic
+.RS 4
+Server\-side helper for use with Squid 2\&.4\*(Aqs basic (plaintext) authentication\&.
+.RE
+.PP
+squid\-2\&.5\-basic
+.RS 4
+Server\-side helper for use with Squid 2\&.5\*(Aqs basic (plaintext) authentication\&.
+.RE
+.PP
+squid\-2\&.5\-ntlmssp
+.RS 4
+Server\-side helper for use with Squid 2\&.5\*(Aqs NTLMSSP authentication\&.
+.sp
+Requires access to the directory
+winbindd_privileged
+in
+$LOCKDIR\&. The protocol used is described here:
+\m[blue]\fBhttp://devel\&.squid\-cache\&.org/ntlm/squid_helper_protocol\&.html\fR\m[]
+.RE
+.PP
+ntlmssp\-client\-1
+.RS 4
+Cleint\-side helper for use with arbitary external programs that may wish to use Samba\*(Aqs NTLMSSP authentication knowlege\&.
+.sp
+This helper is a client, and as such may be run by any user\&. The protocol used is effectivly the reverse of the previous protocol\&.
+.RE
+.PP
+gss\-spnego
+.RS 4
+Server\-side helper that implements GSS\-SPNEGO\&. This uses a protocol that is almost the same as
+\fBsquid\-2\&.5\-ntlmssp\fR, but has some subtle differences that are undocumented outside the source at this stage\&.
+.sp
+Requires access to the directory
+winbindd_privileged
+in
+$LOCKDIR\&.
+.RE
+.PP
+gss\-spnego\-client
+.RS 4
+Client\-side helper that implements GSS\-SPNEGO\&. This also uses a protocol similar to the above helpers, but is currently undocumented\&.
+.RE
+.RE
+.PP
+\-\-username=USERNAME
+.RS 4
+Specify username of user to authenticate
+.RE
+.PP
+\-\-domain=DOMAIN
+.RS 4
+Specify domain of user to authenticate
+.RE
+.PP
+\-\-workstation=WORKSTATION
+.RS 4
+Specify the workstation the user authenticated from
+.RE
+.PP
+\-\-challenge=STRING
+.RS 4
+NTLM challenge (in HEXADECIMAL)
+.RE
+.PP
+\-\-lm\-response=RESPONSE
+.RS 4
+LM Response to the challenge (in HEXADECIMAL)
+.RE
+.PP
+\-\-nt\-response=RESPONSE
+.RS 4
+NT or NTLMv2 Response to the challenge (in HEXADECIMAL)
+.RE
+.PP
+\-\-password=PASSWORD
+.RS 4
+User\*(Aqs plaintext password
+.sp
+If not specified on the command line, this is prompted for when required\&.
+.RE
+.PP
+\-\-request\-lm\-key
+.RS 4
+Retreive LM session key
+.RE
+.PP
+\-\-request\-nt\-key
+.RS 4
+Request NT key
+.RE
+.PP
+\-\-diagnostics
+.RS 4
+Perform Diagnostics on the authentication chain\&. Uses the password from
+\fB\-\-password\fR
+or prompts for one\&.
+.RE
+.PP
+\-\-require\-membership\-of={SID|Name}
+.RS 4
+Require that a user be a member of specified group (either name or SID) for authentication to succeed\&.
+.RE
+.SH "EXAMPLE SETUP"
+.PP
+To setup ntlm_auth4 for use by squid 2\&.5, with both basic and NTLMSSP authentication, the following should be placed in the
+squid\&.conf
+file\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+auth_param ntlm program ntlm_auth4 \-\-helper\-protocol=squid\-2\&.5\-ntlmssp
+auth_param basic program ntlm_auth4 \-\-helper\-protocol=squid\-2\&.5\-basic
+auth_param basic children 5
+auth_param basic realm Squid proxy\-caching web server
+auth_param basic credentialsttl 2 hours
+.fi
+.if n \{\
+.RE
+.\}
+.if n \{\
+.sp
+.\}
+.RS 4
+.it 1 an-trap
+.nr an-no-space-flag 1
+.nr an-break-flag 1
+.br
+.ps +1
+\fBNote\fR
+.ps -1
+.br
+.PP
+This example assumes that ntlm_auth4 has been installed into your path, and that the group permissions on
+winbindd_privileged
+are as described above\&.
+.sp .5v
+.RE
+.PP
+To setup ntlm_auth4 for use by squid 2\&.5 with group limitation in addition to the above example, the following should be added to the
+squid\&.conf
+file\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+auth_param ntlm program ntlm_auth4 \-\-helper\-protocol=squid\-2\&.5\-ntlmssp \-\-require\-membership\-of=\*(AqWORKGROUP\eDomain Users\*(Aq
+auth_param basic program ntlm_auth4 \-\-helper\-protocol=squid\-2\&.5\-basic \-\-require\-membership\-of=\*(AqWORKGROUP\eDomain Users\*(Aq
+.fi
+.if n \{\
+.RE
+.\}
+.SH "TROUBLESHOOTING"
+.PP
+If you\*(Aqre experiencing problems with authenticating Internet Explorer running under MS Windows 9X or Millenium Edition against ntlm_auth4\*(Aqs NTLMSSP authentication helper (\-\-helper\-protocol=squid\-2\&.5\-ntlmssp), then please read
+\m[blue]\fBthe Microsoft Knowledge Base article #239869 and follow instructions described there\fR\m[]\&\s-2\u[1]\d\s+2\&.
+.SH "VERSION"
+.PP
+This man page is correct for version 3\&.0 of the Samba suite\&.
+.SH "AUTHOR"
+.PP
+The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&.
+.PP
+The ntlm_auth4 manpage was written by Jelmer Vernooij and Andrew Bartlett\&.
+.SH "NOTES"
+.IP " 1." 4
+the Microsoft Knowledge Base article #239869 and follow instructions described there
+.RS 4
+\%http://support.microsoft.com/support/kb/articles/Q239/8/69.ASP
+.RE
diff --git a/net/samba44/files/man/oLschema2ldif.1 b/net/samba44/files/man/oLschema2ldif.1
new file mode 100644
index 0000000..3828151
--- /dev/null
+++ b/net/samba44/files/man/oLschema2ldif.1
@@ -0,0 +1,74 @@
+'\" t
+.\" Title: oLschema2ldif
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
+.\" Date: 05/30/2015
+.\" Manual: System Administration tools
+.\" Source: Samba 4.0
+.\" Language: English
+.\"
+.TH "OLSCHEMA2LDIF" "1" "05/30/2015" "Samba 4\&.0" "System Administration tools"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+oLschema2ldif \- Converts LDAP schema\*(Aqs to LDB\-compatible LDIF
+.SH "SYNOPSIS"
+.HP \w'\fBoLschema2ldif\fR\ 'u
+\fBoLschema2ldif\fR [\-I\ INPUT\-FILE] [\-O\ OUTPUT\-FILE]
+.SH "DESCRIPTION"
+.PP
+oLschema2ldif is a simple tool that converts standard OpenLDAP schema files to a LDIF format that is understood by LDB\&.
+.SH "OPTIONS"
+.PP
+\-I input\-file
+.RS 4
+OpenLDAP schema to read\&. If none are specified, the schema file will be read from standard input\&.
+.RE
+.PP
+\-O output\-file
+.RS 4
+File to write ldif version of schema to\&.
+.RE
+.SH "VERSION"
+.PP
+This man page is correct for version 4\&.0 of the Samba suite\&.
+.SH "SEE ALSO"
+.PP
+ldb(7), ldbmodify, ldbdel, ldif(5)
+.SH "AUTHOR"
+.PP
+ldb was written by
+\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&. oLschema2ldif was written by
+\m[blue]\fBSimo Sorce\fR\m[]\&\s-2\u[2]\d\s+2\&.
+.PP
+If you wish to report a problem or make a suggestion then please see the
+\m[blue]\fB\%http://ldb.samba.org/\fR\m[]
+web site for current contact and maintainer information\&.
+.SH "NOTES"
+.IP " 1." 4
+Andrew Tridgell
+.RS 4
+\%http://samba.org/~tridge/
+.RE
+.IP " 2." 4
+Simo Sorce
+.RS 4
+\%mailto:idra@samba.org
+.RE
diff --git a/net/samba44/files/man/regdiff.1 b/net/samba44/files/man/regdiff.1
new file mode 100644
index 0000000..078c3e7
--- /dev/null
+++ b/net/samba44/files/man/regdiff.1
@@ -0,0 +1,87 @@
+'\" t
+.\" Title: regdiff
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
+.\" Date: 03/26/2015
+.\" Manual: System Administration tools
+.\" Source: Samba 4.0
+.\" Language: English
+.\"
+.TH "REGDIFF" "1" "03/26/2015" "Samba 4\&.0" "System Administration tools"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+regdiff \- Diff program for Windows registry files
+.SH "SYNOPSIS"
+.HP \w'\fBregdiff\fR\ 'u
+\fBregdiff\fR [\-\-help] [\-\-backend=BACKEND] [\-\-credentials=CREDENTIALS] [location]
+.SH "DESCRIPTION"
+.PP
+regdiff compares two Windows registry files key by key and value by value and generates a text file that contains the differences between the two files\&.
+.PP
+A file generated by regdiff can later be applied to a registry file by the regpatch utility\&.
+.PP
+regdiff and regpatch use the same file format as the regedit32\&.exe utility from Windows\&.
+.SH "OPTIONS"
+.PP
+\-\-help
+.RS 4
+Show list of available options\&.
+.RE
+.PP
+\-\-backend BACKEND
+.RS 4
+Name of backend to load\&. Possible values are: creg, regf, dir and rpc\&. The default is
+\fIdir\fR\&.
+.sp
+This argument can be specified twice: once for the first registry file and once for the second\&.
+.RE
+.PP
+\-\-credentials=CREDENTIALS
+.RS 4
+Credentials to use, if any\&. Password should be separated from user name by a percent sign\&.
+.sp
+This argument can be specified twice: once for the first registry file and once for the second\&.
+.RE
+.SH "VERSION"
+.PP
+This man page is correct for version 4\&.0 of the Samba suite\&.
+.SH "SEE ALSO"
+.PP
+gregedit, regshell, regpatch, regtree, samba, patch, diff
+.SH "AUTHOR"
+.PP
+This utility is part of the
+\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2
+suite, which is developed by the global
+\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&.
+.PP
+This manpage and regdiff were written by Jelmer Vernooij\&.
+.SH "NOTES"
+.IP " 1." 4
+Samba
+.RS 4
+\%http://www.samba.org/
+.RE
+.IP " 2." 4
+Samba Team
+.RS 4
+\%http://www.samba.org/samba/team/
+.RE
diff --git a/net/samba44/files/man/regpatch.1 b/net/samba44/files/man/regpatch.1
new file mode 100644
index 0000000..2d6dd53
--- /dev/null
+++ b/net/samba44/files/man/regpatch.1
@@ -0,0 +1,81 @@
+'\" t
+.\" Title: regpatch
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
+.\" Date: 03/26/2015
+.\" Manual: System Administration tools
+.\" Source: Samba 4.0
+.\" Language: English
+.\"
+.TH "REGPATCH" "1" "03/26/2015" "Samba 4\&.0" "System Administration tools"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+regpatch \- Applies registry patches to registry files
+.SH "SYNOPSIS"
+.HP \w'\fBregpatch\fR\ 'u
+\fBregpatch\fR [\-\-help] [\-\-backend=BACKEND] [\-\-credentials=CREDENTIALS] [location] [patch\-file]
+.SH "DESCRIPTION"
+.PP
+The regpatch utility applies registry patches to Windows registry files\&. The patch files should have the same format as is being used by the regdiff utility and regedit32\&.exe from Windows\&.
+.PP
+If no patch file is specified on the command line, regpatch attempts to read it from standard input\&.
+.SH "OPTIONS"
+.PP
+\-\-help
+.RS 4
+Show list of available options\&.
+.RE
+.PP
+\-\-backend BACKEND
+.RS 4
+Name of backend to load\&. Possible values are: creg, regf, dir and rpc\&. The default is
+\fIdir\fR\&.
+.RE
+.PP
+\-\-credentials=CREDENTIALS
+.RS 4
+Credentials to use, if any\&. Password should be separated from user name by a percent sign\&.
+.RE
+.SH "VERSION"
+.PP
+This man page is correct for version 4\&.0 of the Samba suite\&.
+.SH "SEE ALSO"
+.PP
+regdiff, regtree, regshell, gregedit, samba, diff, patch
+.SH "AUTHOR"
+.PP
+This utility is part of the
+\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2
+suite, which is developed by the global
+\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&.
+.PP
+This manpage and regpatch were written by Jelmer Vernooij\&.
+.SH "NOTES"
+.IP " 1." 4
+Samba
+.RS 4
+\%http://www.samba.org/
+.RE
+.IP " 2." 4
+Samba Team
+.RS 4
+\%http://www.samba.org/samba/team/
+.RE
diff --git a/net/samba44/files/man/regshell.1 b/net/samba44/files/man/regshell.1
new file mode 100644
index 0000000..af777ac
--- /dev/null
+++ b/net/samba44/files/man/regshell.1
@@ -0,0 +1,177 @@
+'\" t
+.\" Title: regshell
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
+.\" Date: 03/26/2015
+.\" Manual: System Administration tools
+.\" Source: Samba 4.0
+.\" Language: English
+.\"
+.TH "REGSHELL" "1" "03/26/2015" "Samba 4\&.0" "System Administration tools"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+regshell \- Windows registry file browser using readline
+.SH "SYNOPSIS"
+.HP \w'\fBregshell\fR\ 'u
+\fBregshell\fR [\-\-help] [\-\-backend=BACKEND] [\-\-credentials=CREDENTIALS] [location]
+.SH "DESCRIPTION"
+.PP
+regshell is a utility that lets you browse thru a Windows registry file as if you were using a regular unix shell to browse thru a file system\&.
+.SH "OPTIONS"
+.PP
+\-\-help
+.RS 4
+Show list of available options\&.
+.RE
+.PP
+\-\-backend BACKEND
+.RS 4
+Name of backend to load\&. Possible values are: creg, regf, dir and rpc\&. The default is
+\fIdir\fR\&.
+.RE
+.PP
+\-\-credentials=CREDENTIALS
+.RS 4
+Credentials to use, if any\&. Password should be separated from user name by a percent sign\&.
+.RE
+.SH "COMMANDS"
+.PP
+ck|cd <keyname>
+.RS 4
+Go to the specified subkey\&.
+.RE
+.PP
+ch|predef [predefined\-key\-name]
+.RS 4
+Go to the specified predefined key\&.
+.RE
+.PP
+list|ls
+.RS 4
+List subkeys and values of the current key\&.
+.RE
+.PP
+mkkey|mkdir <keyname>
+.RS 4
+Create a key with the specified
+\fIkeyname\fR
+as a subkey of the current key\&.
+.RE
+.PP
+rmval|rm <valname>
+.RS 4
+Delete the specified value\&.
+.RE
+.PP
+rmkey|rmdir <keyname>
+.RS 4
+Delete the specified subkey recursively\&.
+.RE
+.PP
+pwd|pwk
+.RS 4
+Print the full name of the current key\&.
+.RE
+.PP
+set|update
+.RS 4
+Update the value of a key value\&. Not implemented at the moment\&.
+.RE
+.PP
+help|?
+.RS 4
+Print a list of available commands\&.
+.RE
+.PP
+exit|quit
+.RS 4
+Leave regshell\&.
+.RE
+.SH "EXAMPLES"
+.PP
+Browsing thru a nt4 registry file
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBregshell \-b nt4 NTUSER\&.DAT\fR
+$$$PROTO\&.HIV> \fBls\fR
+K AppEvents
+K Console
+K Control Panel
+K Environment
+K Identities
+K Keyboard Layout
+K Network
+K Printers
+K Software
+K UNICODE Program Groups
+K Windows 3\&.1 Migration Status
+$$$PROTO\&.HIV> \fBexit\fR
+.fi
+.if n \{\
+.RE
+.\}
+.PP
+Listing the subkeys of HKEY_CURRENT_USER\eAppEvents on a remote computer:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBregshell \-\-remote=ncacn_np:aurelia \-c "jelmer%secret"\fR
+HKEY_CURRENT_MACHINE> \fBpredef HKEY_CURRENT_USER\fR
+HKEY_CURRENT_USER> \fBcd AppEvents\fR
+Current path is: HKEY_CURRENT_USER\eAppEvents
+HKEY_CURRENT_USER\eAppEvents> \fBls\fR
+K EventLabels
+K Schemes
+HKEY_CURRENT_USER\eAppEvents> \fBexit\fR
+.fi
+.if n \{\
+.RE
+.\}
+.SH "VERSION"
+.PP
+This man page is correct for version 4\&.0 of the Samba suite\&.
+.SH "SEE ALSO"
+.PP
+regtree, regdiff, regpatch, gregedit, samba
+.SH "AUTHOR"
+.PP
+This utility is part of the
+\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2
+suite, which is developed by the global
+\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&.
+.PP
+This manpage and regshell were written by Jelmer Vernooij\&.
+.SH "NOTES"
+.IP " 1." 4
+Samba
+.RS 4
+\%http://www.samba.org/
+.RE
+.IP " 2." 4
+Samba Team
+.RS 4
+\%http://www.samba.org/samba/team/
+.RE
diff --git a/net/samba44/files/man/regtree.1 b/net/samba44/files/man/regtree.1
new file mode 100644
index 0000000..310599c
--- /dev/null
+++ b/net/samba44/files/man/regtree.1
@@ -0,0 +1,89 @@
+'\" t
+.\" Title: regtree
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
+.\" Date: 03/26/2015
+.\" Manual: System Administration tools
+.\" Source: Samba 4.0
+.\" Language: English
+.\"
+.TH "REGTREE" "1" "03/26/2015" "Samba 4\&.0" "System Administration tools"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+regtree \- Text\-mode registry viewer
+.SH "SYNOPSIS"
+.HP \w'\fBregtree\fR\ 'u
+\fBregtree\fR [\-\-help] [\-\-backend=BACKEND] [\-\-fullpath] [\-\-no\-values] [\-\-credentials=CREDENTIALS] [location]
+.SH "DESCRIPTION"
+.PP
+The regtree utility prints out all the contents of a Windows registry file\&. Subkeys are printed with one level more indentation than their parents\&.
+.SH "OPTIONS"
+.PP
+\-\-help
+.RS 4
+Show list of available options\&.
+.RE
+.PP
+\-\-backend BACKEND
+.RS 4
+Name of backend to load\&. Possible values are: creg, regf, dir and rpc\&. The default is
+\fIdir\fR\&.
+.RE
+.PP
+\-\-credentials=CREDENTIALS
+.RS 4
+Credentials to use, if any\&. Password should be separated from user name by a percent sign\&.
+.RE
+.PP
+\-\-fullpath
+.RS 4
+Print the full path to each key instead of only its name\&.
+.RE
+.PP
+\-\-no\-values
+.RS 4
+Don\*(Aqt print values, just keys\&.
+.RE
+.SH "VERSION"
+.PP
+This man page is correct for version 4\&.0 of the Samba suite\&.
+.SH "SEE ALSO"
+.PP
+gregedit, regshell, regdiff, regpatch, samba
+.SH "AUTHOR"
+.PP
+This utility is part of the
+\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2
+suite, which is developed by the global
+\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&.
+.PP
+This manpage and regtree were written by Jelmer Vernooij\&.
+.SH "NOTES"
+.IP " 1." 4
+Samba
+.RS 4
+\%http://www.samba.org/
+.RE
+.IP " 2." 4
+Samba Team
+.RS 4
+\%http://www.samba.org/samba/team/
+.RE
diff --git a/net/samba44/files/man/smbtorture.1 b/net/samba44/files/man/smbtorture.1
new file mode 100644
index 0000000..1f48762
--- /dev/null
+++ b/net/samba44/files/man/smbtorture.1
@@ -0,0 +1,367 @@
+'\" t
+.\" Title: smbtorture
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
+.\" Date: 03/26/2015
+.\" Manual: Test Suite
+.\" Source: Samba 4.0
+.\" Language: English
+.\"
+.TH "SMBTORTURE" "1" "03/26/2015" "Samba 4\&.0" "Test Suite"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+smbtorture \- Run a series of tests against a SMB server
+.SH "SYNOPSIS"
+.HP \w'\fBsmbtorture\fR\ 'u
+\fBsmbtorture\fR {//server/share} [\-d\ debuglevel] [\-U\ user%pass] [\-k] [\-N\ numprocs] [\-n\ netbios_name] [\-W\ workgroup] [\-o\ num_operations] [\-e\ num\ files(entries)] [\-O\ socket_options] [\-m\ maximum_protocol] [\-L] [\-c\ CLIENT\&.TXT] [\-t\ timelimit] [\-C\ filename] [\-A] [\-p\ port] [\-s\ seed] [\-f\ max_failures] [\-X] {BINDING\-STRING|UNC} {TEST1} [TEST2] [\&.\&.\&.]
+.SH "DESCRIPTION"
+.PP
+smbtorture is a testsuite that runs several tests against a SMB server\&. All tests are known to succeed against a Windows 2003 server (?)\&. Smbtorture\*(Aqs primary goal is finding differences in implementations of the SMB protocol and testing SMB servers\&.
+.PP
+Any number of tests can be specified on the command\-line\&. If no tests are specified, all tests are run\&.
+.PP
+If no arguments are specified at all, all available options and tests are listed\&.
+.SS "Binding string format"
+.PP
+The binding string format is:
+.PP
+TRANSPORT:host[flags]
+.PP
+Where TRANSPORT is either ncacn_np for SMB, ncacn_ip_tcp for RPC/TCP or ncalrpc for local connections\&.
+.PP
+\*(Aqhost\*(Aq is an IP or hostname or netbios name\&. If the binding string identifies the server side of an endpoint, \*(Aqhost\*(Aq may be an empty string\&.
+.PP
+\*(Aqflags\*(Aq can include a SMB pipe name if using the ncacn_np transport or a TCP port number if using the ncacn_ip_tcp transport, otherwise they will be auto\-determined\&.
+.PP
+other recognised flags are:
+.PP
+sign
+.RS 4
+enable ntlmssp signing
+.RE
+.PP
+seal
+.RS 4
+enable ntlmssp sealing
+.RE
+.PP
+connect
+.RS 4
+enable rpc connect level auth (auth, but no sign or seal)
+.RE
+.PP
+validate
+.RS 4
+enable the NDR validator
+.RE
+.PP
+print
+.RS 4
+enable debugging of the packets
+.RE
+.PP
+bigendian
+.RS 4
+use bigendian RPC
+.RE
+.PP
+padcheck
+.RS 4
+check reply data for non\-zero pad bytes
+.RE
+.PP
+For example, these all connect to the samr pipe:
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+ncacn_np:myserver
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+ncacn_np:myserver[samr]
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+ncacn_np:myserver[\e\epipe\e\esamr]
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+ncacn_np:myserver[/pipe/samr]
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+ncacn_np:myserver[samr,sign,print]
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+ncacn_np:myserver[\e\epipe\e\esamr,sign,seal,bigendian]
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+ncacn_np:myserver[/pipe/samr,seal,validate]
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+ncacn_np:
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+ncacn_np:[/pipe/samr]
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+ncacn_ip_tcp:myserver
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+ncacn_ip_tcp:myserver[1024]
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+ncacn_ip_tcp:myserver[1024,sign,seal]
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+ncalrpc:
+.RE
+.SS "UNC Format"
+.PP
+The UNC format is:
+.PP
+//server/share
+.SH "OPTIONS"
+.PP
+\-d debuglevel
+.RS 4
+Use the specified Samba debug level\&. A higher debug level means more output\&.
+.RE
+.PP
+\-U user%pass
+.RS 4
+Use the specified username/password combination when logging in to a remote server\&.
+.RE
+.PP
+\-k
+.RS 4
+Use kerberos when authenticating\&.
+.RE
+.PP
+\-W workgroup
+.RS 4
+Use specified name as our workgroup name\&.
+.RE
+.PP
+\-n netbios_name
+.RS 4
+Use specified name as our NetBIOS name\&.
+.RE
+.PP
+\-O socket_options
+.RS 4
+Use specified socket options, equivalent of the smb\&.conf option
+\(lqsocket options\(rq\&. See the smb\&.conf(5) manpage for details\&.
+.RE
+.PP
+\-m max_protocol
+.RS 4
+Specify the maximum SMB dialect that should be used\&. Possible values are: CORE, COREPLUS, LANMAN1, LANMAN2, NT1
+.RE
+.PP
+\-s seed
+.RS 4
+Initialize the randomizer using
+\fIseed\fR
+as seed\&.
+.RE
+.PP
+\-L
+.RS 4
+Use oplocks\&.
+.RE
+.PP
+\-X
+.RS 4
+Enable dangerous tests\&. Use with care! This might crash your server\&.\&.\&.
+.RE
+.PP
+\-t timelimit
+.RS 4
+Specify the NBENCH time limit in seconds\&. Defaults to 600\&.
+.RE
+.PP
+\-p ports
+.RS 4
+Specify ports to connect to\&.
+.RE
+.PP
+\-c file
+.RS 4
+Read NBENCH commands from
+\fIfile\fR
+instead of from CLIENT\&.TXT\&.
+.RE
+.PP
+\-A
+.RS 4
+Show not just OK or FAILED but more detailed output\&. Used only by DENY test at the moment\&.
+.RE
+.PP
+\-C filename
+.RS 4
+Load a list of UNC names from the specified filename\&. Smbtorture instances will connect to a random host from this list\&.
+.RE
+.PP
+\-N numprocs
+.RS 4
+Specify number of smbtorture processes to launch\&.
+.RE
+.PP
+\-o num_operations
+.RS 4
+Number of times some operations should be tried before assuming they\*(Aqre output is consistent (default:100)\&.
+.RE
+.PP
+\-e num_files
+.RS 4
+Number of entries to use in certain tests (such as creating X files) (default: 1000)\&.
+.RE
+.PP
+\-f max_failures
+.RS 4
+Number of failures before aborting a test (default: 1)\&.
+.RE
+.SH "VERSION"
+.PP
+This man page is correct for version 4\&.0 of the Samba suite\&.
+.SH "SEE ALSO"
+.PP
+Samba
+.SH "AUTHOR"
+.PP
+This utility is part of the
+\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2
+suite, which is developed by the global
+\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&.
+.PP
+smbtorture was written by Andrew Tridgell\&.
+.PP
+This manpage was written by Jelmer Vernooij\&.
+.SH "NOTES"
+.IP " 1." 4
+Samba
+.RS 4
+\%http://www.samba.org/
+.RE
+.IP " 2." 4
+Samba Team
+.RS 4
+\%http://www.samba.org/samba/team/
+.RE
diff --git a/net/samba44/files/patch-buildtools__scripts__abi_gen.sh b/net/samba44/files/patch-buildtools__scripts__abi_gen.sh
new file mode 100644
index 0000000..b8ffd04
--- /dev/null
+++ b/net/samba44/files/patch-buildtools__scripts__abi_gen.sh
@@ -0,0 +1,17 @@
+--- ./buildtools/scripts/abi_gen.sh.orig 2013-02-10 00:47:43.199878737 +0000
++++ ./buildtools/scripts/abi_gen.sh 2013-02-10 00:47:55.789877693 +0000
+@@ -9,6 +9,7 @@
+ cat <<EOF
+ set height 0
+ set width 0
++set print sevenbit-strings on
+ EOF
+ nm "$SHAREDLIB" | cut -d' ' -f2- | egrep '^[BDGTRVWS]' | grep -v @ | egrep -v ' (__bss_start|_edata|_init|_fini|_end)' | cut -c3- | sort | while read s; do
+ echo "echo $s: "
+@@ -17,5 +17,5 @@
+ ) > $GDBSCRIPT
+
+ # forcing the terminal avoids a problem on Fedora12
+-TERM=none gdb -batch -x $GDBSCRIPT "$SHAREDLIB" < /dev/null
++TERM=none %%GDB_CMD%% -batch -x $GDBSCRIPT "$SHAREDLIB" < /dev/null
+ rm -f $GDBSCRIPT
diff --git a/net/samba44/files/patch-buildtools__wafsamba__samba_install.py b/net/samba44/files/patch-buildtools__wafsamba__samba_install.py
new file mode 100644
index 0000000..a22e0e6
--- /dev/null
+++ b/net/samba44/files/patch-buildtools__wafsamba__samba_install.py
@@ -0,0 +1,11 @@
+--- ./buildtools/wafsamba/samba_install.py.orig 2015-07-21 09:47:48.000000000 +0000
++++ ./buildtools/wafsamba/samba_install.py 2015-10-05 13:00:26.761717407 +0000
+@@ -116,7 +116,7 @@
+ inst_name = bld.make_libname(t.target)
+ elif self.vnum:
+ vnum_base = self.vnum.split('.')[0]
+- install_name = bld.make_libname(target_name, version=self.vnum)
++ install_name = bld.make_libname(target_name, version=vnum_base)
+ install_link = bld.make_libname(target_name, version=vnum_base)
+ inst_name = bld.make_libname(t.target)
+ if not self.private_library:
diff --git a/net/samba44/files/patch-buildtools__wafsamba__samba_pidl.py b/net/samba44/files/patch-buildtools__wafsamba__samba_pidl.py
new file mode 100644
index 0000000..019fd57
--- /dev/null
+++ b/net/samba44/files/patch-buildtools__wafsamba__samba_pidl.py
@@ -0,0 +1,11 @@
+--- ./buildtools/wafsamba/samba_pidl.py.orig 2013-01-27 23:15:21.739874063 +0000
++++ ./buildtools/wafsamba/samba_pidl.py 2013-01-27 23:15:50.549893124 +0000
+@@ -88,7 +88,7 @@
+ # prime the list of nodes we are dependent on with the cached pidl sources
+ t.allnodes = pidl_src_nodes
+
+- t.env.PIDL = os.path.join(bld.srcnode.abspath(), 'pidl/pidl')
++ t.env.PIDL = os.path.join('%%LOCALBASE%%', 'bin/pidl')
+ t.env.OPTIONS = TO_LIST(options)
+ t.env.OUTPUTDIR = bld.bldnode.name + '/' + bld.path.find_dir(output_dir).bldpath(t.env)
+
diff --git a/net/samba44/files/patch-buildtools__wafsamba__wafsamba.py b/net/samba44/files/patch-buildtools__wafsamba__wafsamba.py
new file mode 100644
index 0000000..aee9330
--- /dev/null
+++ b/net/samba44/files/patch-buildtools__wafsamba__wafsamba.py
@@ -0,0 +1,11 @@
+--- ./buildtools/wafsamba/wafsamba.py.orig 2015-07-21 09:47:48.000000000 +0000
++++ ./buildtools/wafsamba/wafsamba.py 2015-10-05 20:12:39.057228568 +0000
+@@ -892,7 +892,7 @@
+ bld.env.SAMBA_EXPAND_XSL = bld.srcnode.abspath() + '/docs-xml/xslt/expand-sambadoc.xsl'
+ bld.env.SAMBA_MAN_XSL = bld.srcnode.abspath() + '/docs-xml/xslt/man.xsl'
+ bld.env.SAMBA_CATALOG = bld.srcnode.abspath() + '/bin/default/docs-xml/build/catalog.xml'
+- bld.env.SAMBA_CATALOGS = 'file:///etc/xml/catalog file:///usr/local/share/xml/catalog file://' + bld.env.SAMBA_CATALOG
++ bld.env.SAMBA_CATALOGS = 'file:///etc/xml/catalog file://%%LOCALBASE%%/share/xml/catalog file://' + bld.env.SAMBA_CATALOG
+
+ for m in manpages.split():
+ source = m + '.xml'
diff --git a/net/samba44/files/patch-docs-xml__wscript_build b/net/samba44/files/patch-docs-xml__wscript_build
new file mode 100644
index 0000000..5f68097
--- /dev/null
+++ b/net/samba44/files/patch-docs-xml__wscript_build
@@ -0,0 +1,10 @@
+--- ./docs-xml/wscript_build.orig 2013-02-05 02:34:14.929894486 +0000
++++ ./docs-xml/wscript_build 2013-02-05 02:34:33.030266035 +0000
+@@ -3,7 +3,6 @@
+ manpages='''
+ manpages/eventlogadm.8
+ manpages/findsmb.1
+- manpages/libsmbclient.7
+ manpages/lmhosts.5
+ manpages/log2pcap.1
+ manpages/idmap_ad.8
diff --git a/net/samba44/files/patch-dynconfig__wscript b/net/samba44/files/patch-dynconfig__wscript
new file mode 100644
index 0000000..7130659
--- /dev/null
+++ b/net/samba44/files/patch-dynconfig__wscript
@@ -0,0 +1,32 @@
+--- ./dynconfig/wscript.orig 2012-11-13 08:03:38.000000000 +0000
++++ ./dynconfig/wscript 2013-01-29 19:43:57.489880918 +0000
+@@ -127,6 +127,8 @@
+ 'PKGCONFIGDIR' : {
+ 'STD-PATH': '${LIBDIR}/pkgconfig',
+ 'FHS-PATH': '${LIBDIR}/pkgconfig',
++ 'OPTION': '--with-pkgconfigdir',
++ 'HELPTEXT': 'Where to put .pc files',
+ },
+ 'SWATDIR' : {
+ 'STD-PATH': '${DATADIR}/swat',
+@@ -236,8 +238,8 @@
+ 'DELAY': True,
+ },
+ 'CONFIGFILE' : {
+- 'STD-PATH': '${CONFIGDIR}/smb.conf',
+- 'FHS-PATH': '${CONFIGDIR}/smb.conf',
++ 'STD-PATH': '${CONFIGDIR}/%%SAMBA4_CONFIG%%',
++ 'FHS-PATH': '${CONFIGDIR}/%%SAMBA4_CONFIG%%',
+ 'DELAY': True,
+ },
+ 'LMHOSTSFILE' : {
+@@ -294,9 +296,6 @@
+ flavor = 'FHS-PATH'
+ else:
+ flavor = 'STD-PATH'
+- if conf.env.PREFIX == '/usr' or conf.env.PREFIX == '/usr/local':
+- Logs.error("Don't install directly under /usr or /usr/local without using the FHS option (--enable-fhs)")
+- raise Utils.WafError("ERROR: invalid --prefix=%s value" % (conf.env.PREFIX))
+
+ explicit_set ={}
+
diff --git a/net/samba44/files/patch-lib__crypto__wscript_configure b/net/samba44/files/patch-lib__crypto__wscript_configure
new file mode 100644
index 0000000..d84dd36
--- /dev/null
+++ b/net/samba44/files/patch-lib__crypto__wscript_configure
@@ -0,0 +1,13 @@
+--- lib/crypto/wscript_configure.orig 2015-08-30 08:56:39.517693933 +0000
++++ lib/crypto/wscript_configure 2015-08-30 08:57:16.167655660 +0000
+@@ -1,8 +1,8 @@
+ if not conf.CHECK_FUNCS_IN('MD5Init', 'bsd', headers='bsd/md5.h',
+ checklibc=True):
+- conf.CHECK_FUNCS_IN('MD5Init', 'md5', headers='sys/md5.h',
+- checklibc=True)
+ conf.CHECK_FUNCS_IN('MD5Init', 'md', headers='sys/md5.h',
+ checklibc=True)
++ conf.CHECK_FUNCS_IN('MD5Init', 'md5', headers='sys/md5.h',
++ checklibc=True)
+ conf.CHECK_FUNCS_IN('CC_MD5_Init', '', headers='CommonCrypto/CommonDigest.h',
+ checklibc=True)
diff --git a/net/samba44/files/patch-nsswitch__wscript_build b/net/samba44/files/patch-nsswitch__wscript_build
new file mode 100644
index 0000000..cc7de0a
--- /dev/null
+++ b/net/samba44/files/patch-nsswitch__wscript_build
@@ -0,0 +1,17 @@
+--- nsswitch/wscript_build.orig 2016-04-26 09:19:33.392727000 +0000
++++ nsswitch/wscript_build 2016-04-26 09:21:04.212241000 +0000
+@@ -54,12 +54,14 @@
+ source='winbind_nss_linux.c winbind_nss_freebsd.c',
+ deps='winbind-client',
+ realname='nss_winbind.so.1',
++ install_path='${PAMMODULESDIR}',
+ vnum='1')
+
+ bld.SAMBA3_LIBRARY('nss_wins',
+ source='wins.c wins_freebsd.c',
+ deps='''wbclient''',
+ realname='nss_wins.so.1',
++ install_path='${PAMMODULESDIR}',
+ vnum='1')
+
+ elif (host_os.rfind('netbsd') > -1):
diff --git a/net/samba44/files/patch-source3__client__dnsbrowse.c b/net/samba44/files/patch-source3__client__dnsbrowse.c
new file mode 100644
index 0000000..3d63923
--- /dev/null
+++ b/net/samba44/files/patch-source3__client__dnsbrowse.c
@@ -0,0 +1,11 @@
+--- source3/client/dnsbrowse.c.orig 2015-07-21 09:47:49.000000000 +0000
++++ source3/client/dnsbrowse.c 2015-12-07 02:08:01.627022117 +0000
+@@ -91,7 +91,7 @@
+ }
+ }
+
+- TALLOC_FREE(fdset);
++ TALLOC_FREE(ctx);
+ DNSServiceRefDeallocate(mdns_conn_sdref);
+ }
+
diff --git a/net/samba44/files/patch-source3__smbd__quotas.c b/net/samba44/files/patch-source3__smbd__quotas.c
new file mode 100644
index 0000000..0708b8b
--- /dev/null
+++ b/net/samba44/files/patch-source3__smbd__quotas.c
@@ -0,0 +1,19 @@
+--- ./source3/smbd/quotas.c.orig 2012-10-02 08:24:45.000000000 +0000
++++ ./source3/smbd/quotas.c 2013-11-18 22:45:12.800444516 +0000
+@@ -144,6 +144,7 @@
+ if (!cutstr)
+ return False;
+
++ memset(&D, '\0', sizeof(D));
+ memset(cutstr, '\0', len+1);
+ host = strncat(cutstr,mnttype, sizeof(char) * len );
+ DEBUG(5,("nfs_quotas: looking for mount on \"%s\"\n", cutstr));
+@@ -152,7 +153,7 @@
+ args.gqa_pathp = testpath+1;
+ args.gqa_uid = uid;
+
+- DEBUG(5,("nfs_quotas: Asking for host \"%s\" rpcprog \"%i\" rpcvers \"%i\" network \"%s\"\n", host, RQUOTAPROG, RQUOTAVERS, "udp"));
++ DEBUG(5,("nfs_quotas: Asking for host \"%s\" rpcprog \"%lu\" rpcvers \"%lu\" network \"%s\"\n", host, RQUOTAPROG, RQUOTAVERS, "udp"));
+
+ if ((clnt = clnt_create(host, RQUOTAPROG, RQUOTAVERS, "udp")) == NULL) {
+ ret = False;
diff --git a/net/samba44/files/patch-source3__utils__net.c b/net/samba44/files/patch-source3__utils__net.c
new file mode 100644
index 0000000..aa4853a
--- /dev/null
+++ b/net/samba44/files/patch-source3__utils__net.c
@@ -0,0 +1,18 @@
+--- ./source3/utils/net.c.orig 2013-01-29 08:49:31.000000000 +0000
++++ ./source3/utils/net.c 2013-01-31 15:04:24.069877314 +0000
+@@ -898,8 +898,13 @@
+ set_global_myname(c->opt_requester_name);
+ }
+
+- if (!c->opt_user_name && getenv("LOGNAME")) {
+- c->opt_user_name = getenv("LOGNAME");
++ if (!c->opt_user_name) {
++ if(getenv("LOGNAME"))
++ c->opt_user_name = getenv("LOGNAME");
++ else
++ d_fprintf(stderr,
++ _("Environment LOGNAME is not defined."
++ " Trying anonymous access.\n"));
+ }
+
+ if (!c->opt_workgroup) {
diff --git a/net/samba44/files/patch-source3__utils__net_time.c b/net/samba44/files/patch-source3__utils__net_time.c
new file mode 100644
index 0000000..6c6ce76
--- /dev/null
+++ b/net/samba44/files/patch-source3__utils__net_time.c
@@ -0,0 +1,19 @@
+--- ./source3/utils/net_time.c.orig 2010-04-01 15:26:22.000000000 +0200
++++ ./source3/utils/net_time.c 2010-04-23 01:08:35.000000000 +0200
+@@ -87,10 +87,15 @@
+ if (!tm) {
+ return "unknown";
+ }
+-
++#if defined(FREEBSD)
++ return talloc_asprintf(talloc_tos(), "%02d%02d%02d%02d%02d.%02d",
++ tm->tm_year + 1900, tm->tm_mon+1, tm->tm_mday,
++ tm->tm_hour, tm->tm_min, tm->tm_sec);
++#else
+ return talloc_asprintf(talloc_tos(), "%02d%02d%02d%02d%04d.%02d",
+ tm->tm_mon+1, tm->tm_mday, tm->tm_hour,
+ tm->tm_min, tm->tm_year + 1900, tm->tm_sec);
++#endif
+ }
+
+ int net_time_usage(struct net_context *c, int argc, const char **argv)
diff --git a/net/samba44/files/patch-source3__wscript b/net/samba44/files/patch-source3__wscript
new file mode 100644
index 0000000..618576c
--- /dev/null
+++ b/net/samba44/files/patch-source3__wscript
@@ -0,0 +1,38 @@
+--- source3/wscript.orig 2016-03-22 11:00:33.000000000 +0200
++++ source3/wscript 2016-03-24 22:47:08.814618712 +0200
+@@ -47,6 +47,7 @@
+ opt.SAMBA3_ADD_OPTION('utmp')
+ opt.SAMBA3_ADD_OPTION('pthreadpool', with_name="enable", without_name="disable", default=True)
+ opt.SAMBA3_ADD_OPTION('avahi', with_name="enable", without_name="disable")
++ opt.SAMBA3_ADD_OPTION('dnssd', with_name="enable", without_name="disable")
+ opt.SAMBA3_ADD_OPTION('iconv')
+ opt.SAMBA3_ADD_OPTION('acl-support')
+ opt.SAMBA3_ADD_OPTION('dnsupdate')
+@@ -863,6 +864,17 @@
+ conf.SET_TARGET_TYPE('avahi-common', 'EMPTY')
+ conf.SET_TARGET_TYPE('avahi-client', 'EMPTY')
+
++ if Options.options.with_dnssd:
++ conf.env.with_dnssd = True
++ if not conf.CHECK_HEADERS('dns_sd.h'):
++ conf.env.with_dnssd = False
++ if not conf.CHECK_FUNCS_IN('DNSServiceRegister', 'dns_sd'):
++ conf.env.with_dnssd = False
++ if conf.env.with_dnssd:
++ conf.DEFINE('WITH_DNSSD_SUPPORT', 1)
++ else:
++ conf.SET_TARGET_TYPE('dns_sd', 'EMPTY')
++
+ if Options.options.with_iconv:
+ conf.env.with_iconv = True
+ if not conf.CHECK_FUNCS_IN('iconv_open', 'iconv', headers='iconv.h'):
+@@ -1660,9 +1672,6 @@
+ if conf.CONFIG_SET('HAVE_VXFS'):
+ default_shared_modules.extend(TO_LIST('vfs_vxfs'))
+
+- if conf.CONFIG_SET('HAVE_DBUS'):
+- default_shared_modules.extend(TO_LIST('vfs_snapper'))
+-
+ explicit_shared_modules = TO_LIST(Options.options.shared_modules, delimiter=',')
+ explicit_static_modules = TO_LIST(Options.options.static_modules, delimiter=',')
+
diff --git a/net/samba44/files/patch-source3__wscript_build b/net/samba44/files/patch-source3__wscript_build
new file mode 100644
index 0000000..a8f5adc
--- /dev/null
+++ b/net/samba44/files/patch-source3__wscript_build
@@ -0,0 +1,27 @@
+--- source3/wscript_build.orig 2016-03-16 11:40:12.000000000 +0200
++++ source3/wscript_build 2016-03-24 22:51:34.639595607 +0200
+@@ -623,6 +623,7 @@
+ smbd_conn
+ param_service
+ AVAHI
++ dns_sd
+ PRINTBASE
+ PROFILE
+ LOCKING
+@@ -1076,6 +1077,7 @@
+ msrpc3
+ RPC_NDR_SRVSVC
+ cli_smb_common
++ dns_sd
+ archive
+ ''')
+
+@@ -1496,7 +1498,7 @@
+
+ bld.SAMBA3_PYTHON('pylibsmb',
+ source='libsmb/pylibsmb.c',
+- deps='smbclient samba-credentials pytalloc-util',
++ deps='smbclient samba-credentials pytalloc-util libsmb errors3',
+ realname='samba/samba3/libsmb_samba_internal.so'
+ )
+
diff --git a/net/samba44/files/patch-source3_client_smbspool_krb5_wrapper.c b/net/samba44/files/patch-source3_client_smbspool_krb5_wrapper.c
new file mode 100644
index 0000000..4cc0fe1
--- /dev/null
+++ b/net/samba44/files/patch-source3_client_smbspool_krb5_wrapper.c
@@ -0,0 +1,11 @@
+--- source3/client/smbspool_krb5_wrapper.c.orig 2016-04-21 00:26:35.874203000 +0000
++++ source3/client/smbspool_krb5_wrapper.c 2016-04-21 00:47:23.148722000 +0000
+@@ -195,7 +195,7 @@
+ * Make sure we do not have LD_PRELOAD or other security relevant
+ * environment variables set.
+ */
+- clearenv();
++ environ = NULL;
+
+ CUPS_SMB_DEBUG("Setting KRB5CCNAME to '%s'", gen_cc);
+ setenv("KRB5CCNAME", gen_cc, 1);
diff --git a/net/samba44/files/patch-source4__dns_server__dns_crypto.c b/net/samba44/files/patch-source4__dns_server__dns_crypto.c
new file mode 100644
index 0000000..96a6d38
--- /dev/null
+++ b/net/samba44/files/patch-source4__dns_server__dns_crypto.c
@@ -0,0 +1,77 @@
+From 27b732f6bfcdcd96fd76e89c624f5f18ca944531 Mon Sep 17 00:00:00 2001
+From: Guenter Kukkukk <kukks@samba.org>
+Date: Sat, 16 Feb 2013 16:53:16 +0100
+Subject: [PATCH] Fix internal DNS dyn. update, seen as: ; TSIG error with server: tsig verify failure
+
+The dns update signed response must be handled differently than the TKEY response
+
+Signed-off-by: Guenter Kukkukk <kukks@samba.org>
+---
+ source4/dns_server/dns_crypto.c | 44 ++++++++++++++++++++++++++++++++------
+ 1 files changed, 37 insertions(+), 7 deletions(-)
+
+diff --git a/source4/dns_server/dns_crypto.c b/source4/dns_server/dns_crypto.c
+index 7604a05..71adf68 100644
+--- ./source4/dns_server/dns_crypto.c.orig 2012-10-02 08:24:46.000000000 +0000
++++ ./source4/dns_server/dns_crypto.c 2013-11-18 22:45:12.818702284 +0000
+@@ -244,6 +244,8 @@
+ DATA_BLOB packet_blob, tsig_blob, sig;
+ uint8_t *buffer = NULL;
+ size_t buffer_len = 0;
++ size_t miclen_bytes = 0;
++ size_t mic_size = 0;
+ struct dns_server_tkey * tkey = NULL;
+ struct dns_res_rec *tsig = talloc_zero(mem_ctx, struct dns_res_rec);
+
+@@ -298,16 +300,44 @@
+ return DNS_ERR(SERVER_FAILURE);
+ }
+
+- buffer_len = packet_blob.length + tsig_blob.length;
+- buffer = talloc_zero_array(mem_ctx, uint8_t, buffer_len);
+- if (buffer == NULL) {
+- return WERR_NOMEM;
+- }
++ /* DNS update must be handled differently than the TKEY case */
++ if ((packet->operation & DNS_OPCODE) == DNS_OPCODE_UPDATE) {
++ /* Here the request MIC must be placed in front of the buffer.
++ Calculate the length of the buffer used for the request MIC:
++ 2 bytes (sizeof uint16_t) for the length itself
++ length bytes of the MIC (here 16 + 12 = 28 bytes) */
++ miclen_bytes = sizeof(state->tsig->rdata.tsig_record.mac_size);
++ mic_size = miclen_bytes + state->tsig->rdata.tsig_record.mac_size;
+
+- memcpy(buffer, packet_blob.data, packet_blob.length);
+- memcpy(buffer+packet_blob.length, tsig_blob.data, tsig_blob.length);
++ buffer_len = mic_size + packet_blob.length + tsig_blob.length;
++ buffer = talloc_zero_array(mem_ctx, uint8_t, buffer_len);
++ if (buffer == NULL) {
++ return WERR_NOMEM;
++ }
+
++ /* copy the 2 length bytes of request MIC in big-endian order */
++ RSSVAL(buffer,0,state->tsig->rdata.tsig_record.mac_size);
++
++ /* copy the request MIC itself */
++ memcpy(buffer + miclen_bytes, state->tsig->rdata.tsig_record.mac,
++ state->tsig->rdata.tsig_record.mac_size);
++
++ /* copy the remaining data */
++ memcpy(buffer + mic_size, packet_blob.data, packet_blob.length);
++ memcpy(buffer + mic_size + packet_blob.length, tsig_blob.data, tsig_blob.length);
++ } else {
++ buffer_len = packet_blob.length + tsig_blob.length;
++ buffer = talloc_zero_array(mem_ctx, uint8_t, buffer_len);
++ if (buffer == NULL) {
++ return WERR_NOMEM;
++ }
+
++ memcpy(buffer, packet_blob.data, packet_blob.length);
++ memcpy(buffer+packet_blob.length, tsig_blob.data, tsig_blob.length);
++ }
++
++ /* FIXME: as in the verify case, some padding is wrong */
++ buffer_len -=2;
+ status = gensec_sign_packet(tkey->gensec, mem_ctx, buffer, buffer_len,
+ buffer, buffer_len, &sig);
+ if (!NT_STATUS_IS_OK(status)) {
diff --git a/net/samba44/files/patch-source4__lib__http__http.c b/net/samba44/files/patch-source4__lib__http__http.c
new file mode 100644
index 0000000..2ae3c1c
--- /dev/null
+++ b/net/samba44/files/patch-source4__lib__http__http.c
@@ -0,0 +1,69 @@
+--- source4/lib/http/http.c.orig 2015-07-14 10:41:44.000000000 +0000
++++ source4/lib/http/http.c 2015-08-09 23:25:46.480162006 +0000
+@@ -112,7 +112,19 @@
+ return HTTP_ALL_DATA_READ;
+ }
+
++#ifdef FREEBSD
++ int s0, s1, s2, s3; s0 = s1 = s2 = s3 = 0;
++ n = sscanf(line, "%n%*[^:]%n: %n%*[^\r\n]%n\r\n", &s0, &s1, &s2, &s3);
++
++ if(n >= 0) {
++ key = calloc(sizeof(char), s1-s0+1);
++ value = calloc(sizeof(char), s3-s2+1);
++
++ n = sscanf(line, "%[^:]: %[^\r\n]\r\n", key, value);
++ }
++#else
+ n = sscanf(line, "%m[^:]: %m[^\r\n]\r\n", &key, &value);
++#endif
+ if (n != 2) {
+ DEBUG(0, ("%s: Error parsing header '%s'\n", __func__, line));
+ status = HTTP_DATA_CORRUPTED;
+@@ -138,7 +150,7 @@
+ static bool http_parse_response_line(struct http_read_response_state *state)
+ {
+ bool status = true;
+- char *protocol;
++ char *protocol = NULL;
+ char *msg = NULL;
+ char major;
+ char minor;
+@@ -158,12 +170,22 @@
+ return false;
+ }
+
++#ifdef FREEBSD
++ int s0, s1, s2, s3; s0 = s1 = s2 = s3 = 0;
++ n = sscanf(line, "%n%*[^/]%n/%c.%c %d %n%*[^\r\n]%n\r\n",
++ &s0, &s1, &major, &minor, &code, &s2, &s3);
++
++ if(n == 3) {
++ protocol = calloc(sizeof(char), s1-s0+1);
++ msg = calloc(sizeof(char), s3-s2+1);
++
++ n = sscanf(line, "%[^/]/%c.%c %d %[^\r\n]\r\n",
++ protocol, &major, &minor, &code, msg);
++ }
++#else
+ n = sscanf(line, "%m[^/]/%c.%c %d %m[^\r\n]\r\n",
+ &protocol, &major, &minor, &code, &msg);
+-
+- DEBUG(11, ("%s: Header parsed(%i): protocol->%s, major->%c, minor->%c, "
+- "code->%d, message->%s\n", __func__, n, protocol, major, minor,
+- code, msg));
++#endif
+
+ if (n != 5) {
+ DEBUG(0, ("%s: Error parsing header\n", __func__));
+@@ -171,6 +193,10 @@
+ goto error;
+ }
+
++ DEBUG(11, ("%s: Header parsed(%i): protocol->%s, major->%c, minor->%c, "
++ "code->%d, message->%s\n", __func__, n, protocol, major, minor,
++ code, msg));
++
+ if (major != '1') {
+ DEBUG(0, ("%s: Bad HTTP major number '%c'\n", __func__, major));
+ status = false;
diff --git a/net/samba44/files/patch-third_party__waf__wafadmin__Logs.py b/net/samba44/files/patch-third_party__waf__wafadmin__Logs.py
new file mode 100644
index 0000000..3669823
--- /dev/null
+++ b/net/samba44/files/patch-third_party__waf__wafadmin__Logs.py
@@ -0,0 +1,21 @@
+--- third_party/waf/wafadmin/Logs.py.orig 2015-07-21 09:47:50.000000000 +0000
++++ third_party/waf/wafadmin/Logs.py 2015-10-05 18:46:33.937351181 +0000
+@@ -23,6 +23,9 @@
+ 'cursor_off' :'\x1b[?25l',
+ }
+
++WAF_LOG_FORMAT = os.environ.get('WAF_LOG_FORMAT', LOG_FORMAT)
++WAF_HOUR_FORMAT = os.environ.get('WAF_HOUR_FORMAT', HOUR_FORMAT)
++
+ got_tty = False
+ term = os.environ.get('TERM', 'dumb')
+ if not term in ['dumb', 'emacs']:
+@@ -84,7 +87,7 @@
+
+ class formatter(logging.Formatter):
+ def __init__(self):
+- logging.Formatter.__init__(self, LOG_FORMAT, HOUR_FORMAT)
++ logging.Formatter.__init__(self, WAF_LOG_FORMAT, WAF_HOUR_FORMAT)
+
+ def format(self, rec):
+ if rec.levelno >= logging.WARNING or rec.levelno == logging.INFO:
diff --git a/net/samba44/files/patch-wscript b/net/samba44/files/patch-wscript
new file mode 100644
index 0000000..3ad6546
--- /dev/null
+++ b/net/samba44/files/patch-wscript
@@ -0,0 +1,18 @@
+--- wscript.orig 2014-10-01 09:17:32.000000000 +0000
++++ wscript 2014-11-03 14:50:56.381380474 +0000
+@@ -40,7 +40,6 @@
+ opt.RECURSE('lib/ntdb')
+ opt.RECURSE('selftest')
+ opt.RECURSE('source4/lib/tls')
+- opt.RECURSE('pidl')
+ opt.RECURSE('source3')
+ opt.RECURSE('lib/util')
+
+@@ -162,7 +161,6 @@
+ conf.RECURSE('lib/subunit/c')
+ conf.RECURSE('libcli/smbreadline')
+ conf.RECURSE('lib/crypto')
+- conf.RECURSE('pidl')
+ conf.RECURSE('selftest')
+ conf.RECURSE('source3')
+ conf.RECURSE('lib/texpect')
diff --git a/net/samba44/files/patch-wscript_build b/net/samba44/files/patch-wscript_build
new file mode 100644
index 0000000..f5f90fd
--- /dev/null
+++ b/net/samba44/files/patch-wscript_build
@@ -0,0 +1,10 @@
+--- ./wscript_build.orig 2013-01-27 22:58:14.032166250 +0000
++++ ./wscript_build 2013-01-27 23:03:34.089892588 +0000
+@@ -130,7 +130,6 @@
+ if bld.AD_DC_BUILD_IS_ENABLED():
+ bld.RECURSE('source4/setup')
+ bld.RECURSE('source4/scripting')
+-bld.RECURSE('pidl')
+ bld.RECURSE('lib')
+ bld.RECURSE('libds/common')
+ bld.RECURSE('source3')
diff --git a/net/samba44/files/pkg-message.in b/net/samba44/files/pkg-message.in
new file mode 100644
index 0000000..812abb2
--- /dev/null
+++ b/net/samba44/files/pkg-message.in
@@ -0,0 +1,22 @@
+===============================================================================
+
+How to start: http://wiki.samba.org/index.php/Samba4/HOWTO
+
+* Your configuration is: %%SAMBA4_CONFDIR%%/%%SAMBA4_CONFIG%%
+
+* All the relevant databases are under: %%SAMBA4_LOCKDIR%%
+
+* All the logs are under: %%SAMBA4_LOGDIR%%
+
+%%AD_DC%%* Provisioning script is: %%PREFIX%%/bin/samba-tool
+%%AD_DC%%
+%%NSUPDATE%%You will need to specify location of the 'nsupdate' command in the
+%%NSUPDATE%%%%SAMBA4_CONFIG%% file:
+%%NSUPDATE%%
+%%NSUPDATE%% nsupdate command = %%PREFIX%%/bin/samba-nsupdate -g
+%%NSUPDATE%%
+For additional documentation check: http://wiki.samba.org/index.php/Samba4
+
+Bug reports should go to the: https://bugzilla.samba.org/
+
+===============================================================================
diff --git a/net/samba44/files/samba_server.in b/net/samba44/files/samba_server.in
new file mode 100644
index 0000000..c28cceb
--- /dev/null
+++ b/net/samba44/files/samba_server.in
@@ -0,0 +1,202 @@
+#!/bin/sh
+#
+# $FreeBSD: head/net/samba43/files/samba_server.in 402642 2015-11-30 01:35:36Z timur $
+#
+
+# PROVIDE: samba_server
+# REQUIRE: NETWORKING SERVERS DAEMON ldconfig resolv ntpd
+# BEFORE: LOGIN
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable this service:
+#
+#samba_server_enable="YES"
+#
+# You can disable/enable any of the Samba daemons by specifying:
+#samba_enable="NO"
+#nmbd_enable="NO"
+#smbd_enable="NO"
+# You need to enable winbindd separately, by adding:
+#winbindd_enable="YES"
+# Configuration file can be set with:
+#samba_server_config="%%SAMBA4_CONFDIR%%/%%SAMBA4_CONFIG%%"
+#
+
+. /etc/rc.subr
+
+name="samba_server"
+rcvar=${name}_enable
+# Defaults
+samba_server_config_default="%%SAMBA4_CONFDIR%%/%%SAMBA4_CONFIG%%"
+smbcontrol_command="%%PREFIX%%/bin/smbcontrol"
+# Custom commands
+extra_commands="reload status"
+
+start_precmd="samba_server_prestart"
+restart_precmd="samba_server_checkconfig"
+reload_precmd="samba_server_checkconfig"
+start_cmd="samba_server_cmd"
+stop_cmd="samba_server_cmd"
+status_cmd="samba_server_cmd"
+reload_cmd="samba_server_reload_cmd"
+rcvar_cmd="samba_server_rcvar_cmd"
+
+samba_server_checkconfig() {
+ echo -n "Performing sanity check on Samba configuration: "
+ if ${testparm_command} >/dev/null 2>&1; then
+ echo "OK"
+ else
+ echo "FAILED"
+ return 1
+ fi
+}
+
+samba_server_prestart() {
+ # Make sure we have our RUNDIR, even if it's on a tmpfs
+ if [ -d "${samba_server_piddir}" -o ! -e "${samba_server_piddir}" ]; then
+ install -d -m 0755 "${samba_server_piddir}"
+ fi
+ # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200186
+ if [ -d "${samba_server_privatedir}" -o ! -e "${samba_server_privatedir}" ]; then
+ install -d -m 0700 "${samba_server_privatedir}"
+ fi
+# # Remove smbd.pid before starting up samba(needed for s3fs)
+# if [ -e "${samba_server_piddir}/smbd.pid" ] ; then
+# rm -f "${samba_server_piddir}/smbd.pid"
+# fi
+ samba_server_checkconfig
+}
+
+samba_server_rcvar_cmd() {
+ local name rcvar
+ rcvar=${name}_enable
+ # Prevent recursive calling
+ unset "${rc_arg}_cmd" "${rc_arg}_precmd" "${rc_arg}_postcmd"
+ # Check master variable
+ run_rc_command "${_rc_prefix}${rc_arg}" ${rc_extra_args}
+ # Check dependent variables
+ for name in ${samba_daemons}; do
+ # XXX
+ rcvars=''; v=''
+ rcvar=${name}_enable
+ run_rc_command "${_rc_prefix}${rc_arg}" ${rc_extra_args}
+ done
+}
+
+samba_server_reload_cmd() {
+ local name rcvar command pidfile force_run
+ # Prevent recursive calling
+ unset "${rc_arg}_cmd" "${rc_arg}_precmd" "${rc_arg}_postcmd"
+ # Ignore rcvar and run command
+ if [ -n "${_rc_prefix}" -a "${_rc_prefix}" = "one" ] || [ -n "${rc_force}" ] || [ -n "${rc_fast}" ]; then
+ force_run=yes
+ fi
+ # Apply to all daemons
+ for name in ${samba_daemons}; do
+ rcvar=${name}_enable
+ command="%%PREFIX%%/sbin/${name}"
+ pidfile="${samba_server_piddir}/${name}.pid"
+ # Daemon should be enabled and running
+ if ( [ -n "${rcvar}" ] && checkyesno "${rcvar}" ) || [ -n "$force_run" ]; then
+ if [ -n "$(check_pidfile "${pidfile}" "${command}")" ]; then
+ debug "reloading ${name} configuration"
+ echo "Reloading ${name}."
+ ${smbcontrol_command} "${name}" 'reload-config' ${command_args} >/dev/null 2>&1
+ fi
+ fi
+ done
+}
+
+samba_server_cmd() {
+ local name rcvar rcvars v command pidfile samba_daemons result force_run
+ # Prevent recursive calling
+ unset "${rc_arg}_cmd" "${rc_arg}_precmd" "${rc_arg}_postcmd"
+ # Stop processes in the reverse order
+ if [ "${rc_arg}" = "stop" ] ; then
+ samba_daemons=$(reverse_list ${samba_daemons})
+ fi
+ # Ignore rcvar and run command
+ if [ -n "${_rc_prefix}" -a "${_rc_prefix}" = "one" ] || [ -n "${rc_force}" ] || [ -n "${rc_fast}" ]; then
+ force_run=yes
+ fi
+ # Assume success
+ result=0
+ # Apply to all daemons
+ for name in ${samba_daemons}; do
+ # XXX
+ rcvars=''; v=''
+ rcvar=${name}_enable
+ command="%%PREFIX%%/sbin/${name}"
+ pidfile="${samba_server_piddir}/${name}.pid"
+ # Daemon should be enabled and running
+ if ( [ -n "${rcvar}" ] && checkyesno "${rcvar}" ) || [ -n "$force_run" ]; then
+ run_rc_command "${_rc_prefix}${rc_arg}" ${rc_extra_args}
+ # If any of the commands failed, take it as a global result
+ result=$((${result} || $?))
+ fi
+ done
+ return ${result}
+}
+
+samba_server_config_init() {
+ local name
+ # Load configuration
+ load_rc_config "${name}"
+ # Defaults
+ samba_server_enable=${samba_server_enable:=NO}
+ samba_server_config=${samba_server_config=${samba_server_config_default}}
+ samba_server_configfile_arg=${samba_server_config:+--configfile="${samba_server_config}"} #"
+ #testparm_command="%%PREFIX%%/bin/samba-tool testparm --suppress-prompt --verbose ${samba_server_configfile_arg}"
+ testparm_command="%%PREFIX%%/bin/testparm --suppress-prompt --verbose ${samba_server_config}"
+ # Determine what daemons are necessary to run Samba in the current role
+ samba_server_role=$(${testparm_command} --parameter-name='server role' 2>/dev/null)
+ case "${samba_server_role}" in
+ active\ directory\ domain\ controller)
+ samba_daemons="samba"
+ ;;
+ auto|*)
+ samba_daemons="nmbd smbd winbindd"
+ ;;
+ esac
+ # Load daemons configuration
+ for name in ${samba_daemons}; do
+ load_rc_config "${name}"
+ # If samba_server_enable is 'YES'
+ if [ -n "${rcvar}" ] && checkyesno "${rcvar}"; then
+ if [ "${name}" != "winbindd" ]; then
+ # Set variable to 'YES' only if it is unset
+ eval ${name}_enable=\${${name}_enable-YES}
+ else
+ # Winbindd
+ samba_server_idmap=$(${testparm_command} --parameter-name='idmap uid' 2>/dev/null)
+ if [ -n "${samba_server_idmap}" ]; then
+ winbindd_enable="YES"
+ fi
+ fi
+ fi
+ # If variable is empty, set it to 'NO'
+ eval ${name}_enable=\${${name}_enable:-NO}
+ done
+ # Fetch parameters from configuration file
+ samba_server_lockdir="$(${testparm_command} --parameter-name='lock directory' 2>/dev/null)"
+ samba_server_lockdir=${samba_server_lockdir:=%%SAMBA4_LOCKDIR%%}
+ samba_server_piddir="$(${testparm_command} --parameter-name='pid directory' 2>/dev/null)"
+ samba_server_piddir=${samba_server_piddir:=%%SAMBA4_RUNDIR%%}
+ samba_server_privatedir="$(${testparm_command} --parameter-name='private dir' 2>/dev/null)"
+ samba_server_privatedir=${samba_server_privatedir:=%%SAMBA4_PRIVATEDIR%%}
+}
+
+# Load configuration variables
+samba_server_config_init
+# Common flags
+command_args=${samba_server_configfile_arg}
+samba_flags=${samba_flags="--daemon"}
+nmbd_flags=${nmbd_flags="--daemon"}
+smbd_flags=${smbd_flags="--daemon"}
+winbindd_flags=${winbindd_flags="--daemon"}
+# Requirements
+required_files="${samba_server_config}"
+required_dirs="${samba_server_lockdir}"
+
+run_rc_command "$1"
diff --git a/net/samba44/pkg-descr b/net/samba44/pkg-descr
new file mode 100644
index 0000000..6fd81ae
--- /dev/null
+++ b/net/samba44/pkg-descr
@@ -0,0 +1,8 @@
+Samba4 is an attempt to implement an Active Directory compatible Domain
+Controller.
+
+In short, you can join a WinNT, Win2000, WinXP or Win2003 member server
+to a Samba4 domain, and it will behave much as it does in AD, including
+Kerberos domain logins where applicable.
+
+WWW: http://www.samba.org/
diff --git a/net/samba44/pkg-plist b/net/samba44/pkg-plist
new file mode 100644
index 0000000..4ca4d89
--- /dev/null
+++ b/net/samba44/pkg-plist
@@ -0,0 +1,845 @@
+bin/cifsdd
+bin/dbwrap_tool
+bin/eventlogadm
+bin/gentest
+bin/locktest
+bin/masktest
+bin/ndrdump
+bin/net
+bin/nmblookup
+bin/ntlm_auth
+bin/oLschema2ldif
+bin/pdbedit
+bin/profiles
+bin/regdiff
+bin/regpatch
+bin/regshell
+bin/regtree
+bin/rpcclient
+bin/samba-regedit
+%%AD_DC%%bin/samba-tool
+bin/sharesec
+bin/smbcacls
+bin/smbclient
+bin/smbcontrol
+bin/smbcquotas
+bin/smbget
+bin/smbpasswd
+bin/smbspool
+bin/smbstatus
+bin/smbtar
+bin/smbtorture
+bin/smbtree
+bin/testparm
+bin/wbinfo
+sbin/nmbd
+%%AD_DC%%sbin/samba
+%%AD_DC%%sbin/samba_dnsupdate
+%%AD_DC%%sbin/samba_kcc
+%%AD_DC%%sbin/samba_spnupdate
+%%AD_DC%%sbin/samba_upgradedns
+sbin/smbd
+sbin/winbindd
+include/samba4/charset.h
+include/samba4/core/doserr.h
+include/samba4/core/error.h
+include/samba4/core/ntstatus.h
+include/samba4/core/werror.h
+include/samba4/credentials.h
+include/samba4/dcerpc.h
+%%AD_DC%%include/samba4/dcerpc_server.h
+%%LDAP%%include/samba4/smb_ldap.h
+%%LDAP%%include/samba4/smbldap.h
+include/samba4/core/hresult.h
+include/samba4/domain_credentials.h
+include/samba4/gen_ndr/atsvc.h
+include/samba4/gen_ndr/auth.h
+include/samba4/gen_ndr/dcerpc.h
+include/samba4/gen_ndr/drsblobs.h
+include/samba4/gen_ndr/drsuapi.h
+include/samba4/gen_ndr/krb5pac.h
+include/samba4/gen_ndr/lsa.h
+include/samba4/gen_ndr/misc.h
+include/samba4/gen_ndr/nbt.h
+include/samba4/gen_ndr/ndr_atsvc.h
+include/samba4/gen_ndr/ndr_dcerpc.h
+include/samba4/gen_ndr/ndr_drsblobs.h
+include/samba4/gen_ndr/ndr_drsuapi.h
+include/samba4/gen_ndr/ndr_krb5pac.h
+include/samba4/gen_ndr/ndr_misc.h
+include/samba4/gen_ndr/ndr_nbt.h
+include/samba4/gen_ndr/ndr_samr.h
+include/samba4/gen_ndr/ndr_samr_c.h
+include/samba4/gen_ndr/ndr_svcctl.h
+include/samba4/gen_ndr/ndr_svcctl_c.h
+include/samba4/gen_ndr/netlogon.h
+include/samba4/gen_ndr/samr.h
+include/samba4/gen_ndr/security.h
+include/samba4/gen_ndr/server_id.h
+include/samba4/gen_ndr/svcctl.h
+include/samba4/ldb_wrap.h
+include/samba4/libsmbclient.h
+include/samba4/lookup_sid.h
+include/samba4/machine_sid.h
+include/samba4/ndr.h
+include/samba4/ndr/ndr_dcerpc.h
+include/samba4/ndr/ndr_drsblobs.h
+include/samba4/ndr/ndr_drsuapi.h
+include/samba4/ndr/ndr_nbt.h
+include/samba4/ndr/ndr_svcctl.h
+include/samba4/netapi.h
+include/samba4/param.h
+include/samba4/passdb.h
+include/samba4/policy.h
+include/samba4/rpc_common.h
+include/samba4/samba/session.h
+include/samba4/samba/version.h
+include/samba4/share.h
+include/samba4/smb2_lease_struct.h
+include/samba4/smbconf.h
+include/samba4/tdr.h
+include/samba4/tsocket.h
+include/samba4/tsocket_internal.h
+include/samba4/util/attr.h
+include/samba4/util/blocking.h
+include/samba4/util/byteorder.h
+include/samba4/util/data_blob.h
+include/samba4/util/debug.h
+include/samba4/util/fault.h
+include/samba4/util/genrand.h
+include/samba4/util/idtree.h
+include/samba4/util/idtree_random.h
+include/samba4/util/memory.h
+include/samba4/util/safe_string.h
+include/samba4/util/signal.h
+include/samba4/util/string_wrappers.h
+include/samba4/util/substitute.h
+include/samba4/util/talloc_stack.h
+include/samba4/util/tevent_ntstatus.h
+include/samba4/util/tevent_unix.h
+include/samba4/util/tevent_werror.h
+include/samba4/util/time.h
+include/samba4/util/xfile.h
+include/samba4/util_ldb.h
+include/samba4/wbclient.h
+@dir include/samba4/util
+@dir include/samba4/samba
+@dir include/samba4/ndr
+@dir include/samba4/gen_ndr
+@dir include/samba4/core
+@dir include/samba4
+lib/samba4/libdcerpc-binding.so
+lib/samba4/libdcerpc-binding.so.0
+lib/samba4/libdcerpc-samr.so
+lib/samba4/libdcerpc-samr.so.0
+%%AD_DC%%lib/samba4/libdcerpc-server.so
+%%AD_DC%%lib/samba4/libdcerpc-server.so.0
+lib/samba4/libdcerpc.so
+lib/samba4/libdcerpc.so.0
+lib/samba4/libndr-krb5pac.so
+lib/samba4/libndr-krb5pac.so.0
+lib/samba4/libndr-nbt.so
+lib/samba4/libndr-nbt.so.0
+lib/samba4/libndr-standard.so
+lib/samba4/libndr-standard.so.0
+lib/samba4/libndr.so
+lib/samba4/libndr.so.0
+lib/samba4/libnetapi.so
+lib/samba4/libnetapi.so.0
+lib/samba4/libsamba-errors.so
+lib/samba4/libsamba-credentials.so
+lib/samba4/libsamba-credentials.so.0
+lib/samba4/libsamba-errors.so.1
+lib/samba4/libsamba-hostconfig.so
+lib/samba4/libsamba-hostconfig.so.0
+lib/samba4/libsamba-passdb.so
+lib/samba4/libsamba-passdb.so.0
+lib/samba4/libsamba-policy.so
+lib/samba4/libsamba-policy.so.0
+lib/samba4/libsamba-util.so
+lib/samba4/libsamba-util.so.0
+lib/samba4/libsamdb.so
+lib/samba4/libsamdb.so.0
+lib/samba4/libsmbconf.so
+lib/samba4/libsmbconf.so.0
+%%LDAP%%lib/samba4/libsmbldap.so
+%%LDAP%%lib/samba4/libsmbldap.so.0
+lib/samba4/libtevent-unix-util.so
+lib/samba4/libtevent-unix-util.so.0
+lib/samba4/libtevent-util.so
+lib/samba4/libtevent-util.so.0
+lib/samba4/libwbclient.so
+lib/samba4/libwbclient.so.0
+lib/samba4/winbind_krb5_locator.so
+lib/nss_winbind.so.1
+lib/nss_wins.so.1
+lib/pam_winbind.so
+%%CUPS%%libexec/samba/smbspool_krb5_wrapper
+%%AD_DC%%lib/samba4/private/libdlz-bind9-for-torture-samba4.so
+%%AD_DC%%lib/samba4/private/libntvfs-samba4.so
+%%AD_DC%%lib/samba4/private/libposix-eadb-samba4.so
+%%AD_DC%%lib/samba4/private/libprocess-model-samba4.so
+%%AD_DC%%lib/samba4/private/libservice-samba4.so
+lib/samba4/private/libCHARSET3-samba4.so
+lib/samba4/private/libHDB-SAMBA4-samba4.so
+lib/samba4/private/libLIBWBCLIENT-OLD-samba4.so
+lib/samba4/private/libMESSAGING-samba4.so
+lib/samba4/private/libaddns-samba4.so
+lib/samba4/private/libads-samba4.so
+lib/samba4/private/libasn1-samba4.so.8
+lib/samba4/private/libasn1util-samba4.so
+lib/samba4/private/libauth-sam-reply-samba4.so
+lib/samba4/private/libauth-samba4.so
+lib/samba4/private/libauth-unix-token-samba4.so
+lib/samba4/private/libauth4-samba4.so
+lib/samba4/private/libauthkrb5-samba4.so
+lib/samba4/private/libcli-cldap-samba4.so
+lib/samba4/private/libcli-ldap-common-samba4.so
+lib/samba4/private/libcli-ldap-samba4.so
+lib/samba4/private/libcli-nbt-samba4.so
+lib/samba4/private/libcli-smb-common-samba4.so
+lib/samba4/private/libcli-spoolss-samba4.so
+lib/samba4/private/libcliauth-samba4.so
+lib/samba4/private/libcluster-samba4.so
+lib/samba4/private/libcmdline-credentials-samba4.so
+lib/samba4/private/libcom_err-samba4.so.0
+lib/samba4/private/libdb-glue-samba4.so
+lib/samba4/private/libdbwrap-samba4.so
+lib/samba4/private/libdcerpc-samba-samba4.so
+lib/samba4/private/libdcerpc-samba4.so
+%%AD_DC%%lib/samba4/private/libdfs-server-ad-samba4.so
+%%AD_DC%%lib/samba4/private/libdnsserver-common-samba4.so
+lib/samba4/private/libdsdb-module-samba4.so
+lib/samba4/private/libevents-samba4.so
+lib/samba4/private/libflag-mapping-samba4.so
+lib/samba4/private/libgenrand-samba4.so
+lib/samba4/private/libgensec-samba4.so
+lib/samba4/private/libgpo-samba4.so
+lib/samba4/private/libgse-samba4.so
+lib/samba4/private/libgssapi-samba4.so.2
+lib/samba4/private/libhcrypto-samba4.so.5
+lib/samba4/private/libhdb-samba4.so.11
+lib/samba4/private/libheimbase-samba4.so.1
+lib/samba4/private/libheimntlm-samba4.so.1
+lib/samba4/private/libhttp-samba4.so
+lib/samba4/private/libhx509-samba4.so.5
+lib/samba4/private/libidmap-samba4.so
+lib/samba4/private/libinterfaces-samba4.so
+lib/samba4/private/libiov-buf-samba4.so
+lib/samba4/private/libkdc-samba4.so.2
+lib/samba4/private/libkrb5-samba4.so.26
+lib/samba4/private/libkrb5samba-samba4.so
+lib/samba4/private/libldbsamba-samba4.so
+lib/samba4/private/liblibcli-lsa3-samba4.so
+lib/samba4/private/liblibcli-netlogon3-samba4.so
+lib/samba4/private/liblibsmb-samba4.so
+lib/samba4/private/libmessages-dgm-samba4.so
+lib/samba4/private/libmessages-util-samba4.so
+lib/samba4/private/libmsghdr-samba4.so
+lib/samba4/private/libmsrpc3-samba4.so
+lib/samba4/private/libndr-samba-samba4.so
+lib/samba4/private/libndr-samba4.so
+lib/samba4/private/libnet-keytab-samba4.so
+lib/samba4/private/libnetif-samba4.so
+lib/samba4/private/libnon-posix-acls-samba4.so
+lib/samba4/private/libnpa-tstream-samba4.so
+lib/samba4/private/libnss-info-samba4.so
+lib/samba4/private/libpac-samba4.so
+lib/samba4/private/libpopt-samba3-samba4.so
+lib/samba4/private/libprinting-migrate-samba4.so
+lib/samba4/private/libregistry-samba4.so
+lib/samba4/private/libreplace-samba4.so
+lib/samba4/private/libroken-samba4.so.19
+lib/samba4/private/libsamba-cluster-support-samba4.so
+lib/samba4/private/libsamba-debug-samba4.so
+lib/samba4/private/libsamba-modules-samba4.so
+lib/samba4/private/libsamba-net-samba4.so
+lib/samba4/private/libsamba-python-samba4.so
+lib/samba4/private/libsamba-security-samba4.so
+lib/samba4/private/libsamba-sockets-samba4.so
+lib/samba4/private/libsamba3-util-samba4.so
+lib/samba4/private/libsamdb-common-samba4.so
+lib/samba4/private/libsecrets3-samba4.so
+lib/samba4/private/libserver-id-db-samba4.so
+lib/samba4/private/libserver-role-samba4.so
+lib/samba4/private/libshares-samba4.so
+lib/samba4/private/libsmb-transport-samba4.so
+lib/samba4/private/libsmbclient-raw-samba4.so
+lib/samba4/private/libsmbd-base-samba4.so
+lib/samba4/private/libsmbd-conn-samba4.so
+lib/samba4/private/libsmbd-shim-samba4.so
+%%LDAP%%lib/samba4/private/libsmbldaphelper-samba4.so
+lib/samba4/private/libsmbpasswdparser-samba4.so
+lib/samba4/private/libsmbregistry-samba4.so
+lib/samba4/private/libsocket-blocking-samba4.so
+lib/samba4/private/libsys-rw-samba4.so
+lib/samba4/private/libtalloc-report-samba4.so
+lib/samba4/private/libtdb-wrap-samba4.so
+lib/samba4/private/libtime-basic-samba4.so
+lib/samba4/private/libtorture-samba4.so
+lib/samba4/private/libtrusts-util-samba4.so
+lib/samba4/private/libutil-cmdline-samba4.so
+lib/samba4/private/libutil-reg-samba4.so
+lib/samba4/private/libutil-setid-samba4.so
+lib/samba4/private/libutil-tdb-samba4.so
+lib/samba4/private/libwinbind-client-samba4.so
+lib/samba4/private/libwind-samba4.so.0
+lib/samba4/private/libxattr-tdb-samba4.so
+%%AD_DC%%lib/shared-modules/bind9/dlz_bind9.so
+%%AD_DC%%lib/shared-modules/bind9/dlz_bind9_10.so
+%%AD_DC%%lib/shared-modules/bind9/dlz_bind9_9.so
+%%AD_DC%%lib/shared-modules/gensec/krb5.so
+%%AD_DC%%lib/shared-modules/ldb/acl.so
+%%AD_DC%%lib/shared-modules/ldb/aclread.so
+%%AD_DC%%lib/shared-modules/ldb/anr.so
+%%AD_DC%%lib/shared-modules/ldb/descriptor.so
+%%AD_DC%%lib/shared-modules/ldb/dirsync.so
+%%AD_DC%%lib/shared-modules/ldb/extended_dn_in.so
+%%AD_DC%%lib/shared-modules/ldb/extended_dn_out.so
+%%AD_DC%%lib/shared-modules/ldb/extended_dn_store.so
+%%AD_DC%%lib/shared-modules/ldb/instancetype.so
+%%AD_DC%%lib/shared-modules/ldb/lazy_commit.so
+%%AD_DC%%lib/shared-modules/ldb/linked_attributes.so
+%%AD_DC%%lib/shared-modules/ldb/local_password.so
+%%AD_DC%%lib/shared-modules/ldb/new_partition.so
+%%AD_DC%%lib/shared-modules/ldb/objectclass.so
+%%AD_DC%%lib/shared-modules/ldb/objectclass_attrs.so
+%%AD_DC%%lib/shared-modules/ldb/objectguid.so
+%%AD_DC%%lib/shared-modules/ldb/operational.so
+%%AD_DC%%lib/shared-modules/ldb/partition.so
+%%AD_DC%%lib/shared-modules/ldb/password_hash.so
+%%AD_DC%%lib/shared-modules/ldb/ranged_results.so
+%%AD_DC%%lib/shared-modules/ldb/repl_meta_data.so
+%%AD_DC%%lib/shared-modules/ldb/resolve_oids.so
+%%AD_DC%%lib/shared-modules/ldb/rootdse.so
+%%AD_DC%%lib/shared-modules/ldb/samba3sam.so
+%%AD_DC%%lib/shared-modules/ldb/samba3sid.so
+%%AD_DC%%lib/shared-modules/ldb/samba_dsdb.so
+%%AD_DC%%lib/shared-modules/ldb/samba_secrets.so
+%%AD_DC%%lib/shared-modules/ldb/samldb.so
+%%AD_DC%%lib/shared-modules/ldb/schema_data.so
+%%AD_DC%%lib/shared-modules/ldb/schema_load.so
+%%AD_DC%%lib/shared-modules/ldb/secrets_tdb_sync.so
+%%AD_DC%%lib/shared-modules/ldb/show_deleted.so
+%%AD_DC%%lib/shared-modules/ldb/simple_dn.so
+%%AD_DC%%lib/shared-modules/ldb/simple_ldap_map.so
+%%AD_DC%%lib/shared-modules/ldb/subtree_delete.so
+%%AD_DC%%lib/shared-modules/ldb/subtree_rename.so
+%%AD_DC%%lib/shared-modules/ldb/update_keytab.so
+%%AD_DC%%lib/shared-modules/ldb/wins_ldb.so
+%%AD_DC%%lib/shared-modules/process_model/standard.so
+%%AD_DC%%lib/shared-modules/service/cldap.so
+%%AD_DC%%lib/shared-modules/service/dcerpc.so
+%%AD_DC%%lib/shared-modules/service/dns.so
+%%AD_DC%%lib/shared-modules/service/dns_update.so
+%%AD_DC%%lib/shared-modules/service/drepl.so
+%%AD_DC%%lib/shared-modules/service/kcc.so
+%%AD_DC%%lib/shared-modules/service/kdc.so
+%%AD_DC%%lib/shared-modules/service/ldap.so
+%%AD_DC%%lib/shared-modules/service/nbtd.so
+%%AD_DC%%lib/shared-modules/service/ntp_signd.so
+%%AD_DC%%lib/shared-modules/service/s3fs.so
+%%AD_DC%%lib/shared-modules/service/smb.so
+%%AD_DC%%lib/shared-modules/service/web.so
+%%AD_DC%%lib/shared-modules/service/winbindd.so
+%%AD_DC%%lib/shared-modules/service/wrepl.so
+%%AD_DC%%lib/shared-modules/vfs/posix_eadb.so
+%%DEVELOPER%%lib/shared-modules/vfs/nfs4acl_xattr.so
+%%DEVELOPER%%lib/shared-modules/vfs/fake_dfq.so
+%%LDAP%%lib/shared-modules/idmap/rfc2307.so
+%%MODULE_AUTH_SAMBA4%%lib/shared-modules/auth/samba4.so
+%%MODULE_AUTH_SKEL%%lib/shared-modules/auth/skel.so
+%%MODULE_AUTH_UNIX%%lib/shared-modules/auth/unix.so
+%%MODULE_AUTH_WBC%%lib/shared-modules/auth/wbc.so
+%%MODULE_GPEXT_REGISTRY%%lib/shared-modules/gpext/registry.so
+%%MODULE_GPEXT_SCRIPTS%%lib/shared-modules/gpext/scripts.so
+%%MODULE_GPEXT_SECURITY%%lib/shared-modules/gpext/security.so
+%%MODULE_IDMAP_AD%%lib/shared-modules/idmap/ad.so
+%%MODULE_IDMAP_AD%%lib/shared-modules/nss_info/rfc2307.so
+%%MODULE_IDMAP_AD%%lib/shared-modules/nss_info/sfu.so
+%%MODULE_IDMAP_AD%%lib/shared-modules/nss_info/sfu20.so
+%%MODULE_IDMAP_LDAP%%lib/shared-modules/idmap/ldap.so
+%%MODULE_IDMAP_NSS%%lib/shared-modules/idmap/nss.so
+%%MODULE_IDMAP_PASSDB%%lib/shared-modules/idmap/passdb.so
+%%MODULE_IDMAP_TDB%%lib/shared-modules/idmap/tdb.so
+%%MODULE_NSS_INFO_TEMPLATE%%lib/shared-modules/nss_info/template.so
+%%MODULE_PDB_LDAP%%lib/shared-modules/pdb/ldap.so
+%%MODULE_PDB_SAMBA_DSDB%%lib/shared-modules/pdb/samba_dsdb.so
+%%MODULE_PDB_SMBPASSWD%%lib/shared-modules/pdb/smbpasswd.so
+%%MODULE_PDB_TDBSAM%%lib/shared-modules/pdb/tdbsam.so
+%%MODULE_PDB_TEST%%lib/shared-modules/pdb/test.so
+%%MODULE_PDB_WBC_SAM%%lib/shared-modules/pdb/wbc_sam.so
+%%MODULE_PERFCOUNT_TEST%%lib/shared-modules/perfcount/test.so
+%%MODULE_VFS_AIO_PTHREAD%%lib/shared-modules/vfs/aio_pthread.so
+%%MODULE_VFS_CACHEPRIME%%lib/shared-modules/vfs/cacheprime.so
+%%MODULE_VFS_DFS_SAMBA4%%lib/shared-modules/vfs/dfs_samba4.so
+%%MODULE_VFS_FAKE_ACLS%%lib/shared-modules/vfs/fake_acls.so
+%%MODULE_VFS_SHADOW_COPY_TEST%%lib/shared-modules/vfs/shadow_copy_test.so
+%%MODULE_VFS_SKEL_OPAQUE%%lib/shared-modules/vfs/skel_opaque.so
+%%MODULE_VFS_SKEL_TRANSPARENT%%lib/shared-modules/vfs/skel_transparent.so
+lib/shared-modules/auth/script.so
+lib/shared-modules/idmap/autorid.so
+lib/shared-modules/idmap/hash.so
+lib/shared-modules/idmap/rid.so
+lib/shared-modules/idmap/script.so
+lib/shared-modules/idmap/tdb2.so
+%%AD_DC%%lib/shared-modules/ldb/dns_notify.so
+lib/shared-modules/ldb/ildap.so
+lib/shared-modules/ldb/ldbsamba_extensions.so
+%%AD_DC%%lib/shared-modules/ldb/tombstone_reanimate.so
+lib/shared-modules/nss_info/hash.so
+lib/shared-modules/vfs/acl_tdb.so
+lib/shared-modules/vfs/acl_xattr.so
+lib/shared-modules/vfs/aio_fork.so
+lib/shared-modules/vfs/audit.so
+lib/shared-modules/vfs/cap.so
+lib/shared-modules/vfs/catia.so
+lib/shared-modules/vfs/commit.so
+lib/shared-modules/vfs/crossrename.so
+lib/shared-modules/vfs/default_quota.so
+lib/shared-modules/vfs/dirsort.so
+lib/shared-modules/vfs/expand_msdfs.so
+lib/shared-modules/vfs/extd_audit.so
+lib/shared-modules/vfs/fake_perms.so
+lib/shared-modules/vfs/fruit.so
+lib/shared-modules/vfs/full_audit.so
+lib/shared-modules/vfs/linux_xfs_sgid.so
+lib/shared-modules/vfs/media_harmony.so
+lib/shared-modules/vfs/netatalk.so
+lib/shared-modules/vfs/offline.so
+lib/shared-modules/vfs/preopen.so
+lib/shared-modules/vfs/readahead.so
+lib/shared-modules/vfs/readonly.so
+lib/shared-modules/vfs/recycle.so
+lib/shared-modules/vfs/shadow_copy.so
+lib/shared-modules/vfs/shadow_copy2.so
+lib/shared-modules/vfs/shell_snap.so
+lib/shared-modules/vfs/streams_depot.so
+lib/shared-modules/vfs/streams_xattr.so
+lib/shared-modules/vfs/syncops.so
+lib/shared-modules/vfs/time_audit.so
+lib/shared-modules/vfs/unityed_media.so
+lib/shared-modules/vfs/worm.so
+lib/shared-modules/vfs/xattr_tdb.so
+lib/shared-modules/vfs/zfsacl.so
+@dir lib/shared-modules/vfs
+%%AD_DC%%@dir lib/shared-modules/service
+%%AD_DC%%@dir lib/shared-modules/process_model
+@dir lib/shared-modules/perfcount
+@dir lib/shared-modules/pdb
+@dir lib/shared-modules/nss_info
+@dir lib/shared-modules/ldb
+@dir lib/shared-modules/idmap
+@dir lib/shared-modules/gpext
+@dir lib/shared-modules/gensec
+@dir lib/shared-modules/bind9
+@dir lib/shared-modules/auth
+@dir lib/shared-modules
+@dir lib/samba4/private
+@dir lib/samba4
+%%PKGCONFIGDIR%%/dcerpc.pc
+%%PKGCONFIGDIR%%/dcerpc_samr.pc
+%%AD_DC%%%%PKGCONFIGDIR%%/dcerpc_server.pc
+%%PKGCONFIGDIR%%/ndr.pc
+%%PKGCONFIGDIR%%/ndr_krb5pac.pc
+%%PKGCONFIGDIR%%/ndr_nbt.pc
+%%PKGCONFIGDIR%%/ndr_standard.pc
+%%PKGCONFIGDIR%%/netapi.pc
+%%PKGCONFIGDIR%%/samba-credentials.pc
+%%PKGCONFIGDIR%%/samba-hostconfig.pc
+%%PKGCONFIGDIR%%/samba-policy.pc
+%%PKGCONFIGDIR%%/samba-util.pc
+%%PKGCONFIGDIR%%/samdb.pc
+%%PKGCONFIGDIR%%/wbclient.pc
+%%AD_DC%%%%PYTHON_SITELIBDIR%%/samba/dckeytab.so
+%%AD_DC%%%%PYTHON_SITELIBDIR%%/samba/posix_eadb.so
+%%AD_DC%%%%PYTHON_SITELIBDIR%%/samba/xattr_native.so
+%%AD_DC%%%%PYTHON_SITELIBDIR%%/samba/xattr_tdb.so
+%%PYTHON_SITELIBDIR%%/samba/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/_glue.so
+%%PYTHON_SITELIBDIR%%/samba/_ldb.so
+%%PYTHON_SITELIBDIR%%/samba/auth.so
+%%PYTHON_SITELIBDIR%%/samba/com.so
+%%PYTHON_SITELIBDIR%%/samba/common.py
+%%PYTHON_SITELIBDIR%%/samba/credentials.so
+%%PYTHON_SITELIBDIR%%/samba/dbchecker.py
+%%PYTHON_SITELIBDIR%%/samba/dsdb_dns.so
+%%PYTHON_SITELIBDIR%%/samba/remove_dc.py
+%%PYTHON_SITELIBDIR%%/samba/subnets.py
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/atsvc.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/auth.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/base.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/dcerpc.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/dfs.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/dns.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/dnsp.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/dnsserver.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/drsblobs.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/drsuapi.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/echo.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/epmapper.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/idmap.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/initshutdown.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/irpc.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/krb5pac.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/lsa.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/mgmt.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/misc.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/nbt.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/netlogon.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/samr.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/security.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/server_id.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/smb_acl.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/srvsvc.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/svcctl.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/unixinfo.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/winbind.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/winreg.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/wkssvc.so
+%%PYTHON_SITELIBDIR%%/samba/dcerpc/xattr.so
+%%PYTHON_SITELIBDIR%%/samba/descriptor.py
+%%PYTHON_SITELIBDIR%%/samba/drs_utils.py
+%%PYTHON_SITELIBDIR%%/samba/dsdb.so
+%%PYTHON_SITELIBDIR%%/samba/gensec.so
+%%PYTHON_SITELIBDIR%%/samba/getopt.py
+%%PYTHON_SITELIBDIR%%/samba/hostconfig.py
+%%PYTHON_SITELIBDIR%%/samba/idmap.py
+%%PYTHON_SITELIBDIR%%/samba/join.py
+%%PYTHON_SITELIBDIR%%/samba/kcc/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/kcc/debug.py
+%%PYTHON_SITELIBDIR%%/samba/kcc/graph.py
+%%PYTHON_SITELIBDIR%%/samba/kcc/graph_utils.py
+%%PYTHON_SITELIBDIR%%/samba/kcc/kcc_utils.py
+%%PYTHON_SITELIBDIR%%/samba/kcc/ldif_import_export.py
+%%PYTHON_SITELIBDIR%%/samba/messaging.so
+%%PYTHON_SITELIBDIR%%/samba/ms_display_specifiers.py
+%%PYTHON_SITELIBDIR%%/samba/ms_schema.py
+%%PYTHON_SITELIBDIR%%/samba/ndr.py
+%%PYTHON_SITELIBDIR%%/samba/net.so
+%%PYTHON_SITELIBDIR%%/samba/netbios.so
+%%PYTHON_SITELIBDIR%%/samba/netcmd/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/common.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/dbcheck.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/delegation.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/dns.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/domain.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/drs.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/dsacl.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/fsmo.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/gpo.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/group.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/ldapcmp.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/main.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/ntacl.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/processes.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/rodc.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/sites.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/spn.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/testparm.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/time.py
+%%PYTHON_SITELIBDIR%%/samba/netcmd/user.py
+%%PYTHON_SITELIBDIR%%/samba/ntacls.py
+%%PYTHON_SITELIBDIR%%/samba/param.so
+%%PYTHON_SITELIBDIR%%/samba/policy.so
+%%PYTHON_SITELIBDIR%%/samba/provision/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/provision/backend.py
+%%PYTHON_SITELIBDIR%%/samba/provision/common.py
+%%PYTHON_SITELIBDIR%%/samba/provision/sambadns.py
+%%PYTHON_SITELIBDIR%%/samba/registry.so
+%%PYTHON_SITELIBDIR%%/samba/samba3/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/samba3/libsmb_samba_internal.so
+%%PYTHON_SITELIBDIR%%/samba/samba3/param.so
+%%PYTHON_SITELIBDIR%%/samba/samba3/passdb.so
+%%PYTHON_SITELIBDIR%%/samba/samba3/smbd.so
+%%PYTHON_SITELIBDIR%%/samba/samdb.py
+%%PYTHON_SITELIBDIR%%/samba/schema.py
+%%PYTHON_SITELIBDIR%%/samba/sd_utils.py
+%%PYTHON_SITELIBDIR%%/samba/security.so
+%%PYTHON_SITELIBDIR%%/samba/sites.py
+%%PYTHON_SITELIBDIR%%/samba/smb.so
+%%PYTHON_SITELIBDIR%%/samba/subunit/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/subunit/run.py
+%%PYTHON_SITELIBDIR%%/samba/tdb_util.py
+%%PYTHON_SITELIBDIR%%/samba/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/tests/auth.py
+%%PYTHON_SITELIBDIR%%/samba/tests/blackbox/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/tests/blackbox/ndrdump.py
+%%PYTHON_SITELIBDIR%%/samba/tests/blackbox/samba_tool_drs.py
+%%PYTHON_SITELIBDIR%%/samba/tests/common.py
+%%PYTHON_SITELIBDIR%%/samba/tests/core.py
+%%PYTHON_SITELIBDIR%%/samba/tests/credentials.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/array.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/bare.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/dnsserver.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/integer.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/misc.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/raw_protocol.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/registry.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/rpc_talloc.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/rpcecho.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/sam.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/srvsvc.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/testrpc.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/unix.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dns.py
+%%PYTHON_SITELIBDIR%%/samba/tests/docs.py
+%%PYTHON_SITELIBDIR%%/samba/tests/dsdb.py
+%%PYTHON_SITELIBDIR%%/samba/tests/gensec.py
+%%PYTHON_SITELIBDIR%%/samba/tests/get_opt.py
+%%PYTHON_SITELIBDIR%%/samba/tests/hostconfig.py
+%%PYTHON_SITELIBDIR%%/samba/tests/kcc/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/tests/kcc/graph.py
+%%PYTHON_SITELIBDIR%%/samba/tests/kcc/graph_utils.py
+%%PYTHON_SITELIBDIR%%/samba/tests/kcc/kcc_utils.py
+%%PYTHON_SITELIBDIR%%/samba/tests/kcc/ldif_import_export.py
+%%PYTHON_SITELIBDIR%%/samba/tests/libsmb_samba_internal.py
+%%PYTHON_SITELIBDIR%%/samba/tests/messaging.py
+%%PYTHON_SITELIBDIR%%/samba/tests/netcmd.py
+%%PYTHON_SITELIBDIR%%/samba/tests/ntacls.py
+%%PYTHON_SITELIBDIR%%/samba/tests/param.py
+%%PYTHON_SITELIBDIR%%/samba/tests/policy.py
+%%PYTHON_SITELIBDIR%%/samba/tests/posixacl.py
+%%PYTHON_SITELIBDIR%%/samba/tests/provision.py
+%%PYTHON_SITELIBDIR%%/samba/tests/registry.py
+%%PYTHON_SITELIBDIR%%/samba/tests/samba3.py
+%%PYTHON_SITELIBDIR%%/samba/tests/samba3sam.py
+%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/base.py
+%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/gpo.py
+%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/group.py
+%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/ntacl.py
+%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/processes.py
+%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/sites.py
+%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/timecmd.py
+%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/user.py
+%%PYTHON_SITELIBDIR%%/samba/tests/samdb.py
+%%PYTHON_SITELIBDIR%%/samba/tests/security.py
+%%PYTHON_SITELIBDIR%%/samba/tests/source.py
+%%PYTHON_SITELIBDIR%%/samba/tests/strings.py
+%%PYTHON_SITELIBDIR%%/samba/tests/subunitrun.py
+%%PYTHON_SITELIBDIR%%/samba/tests/unicodenames.py
+%%PYTHON_SITELIBDIR%%/samba/tests/upgrade.py
+%%PYTHON_SITELIBDIR%%/samba/tests/upgradeprovision.py
+%%PYTHON_SITELIBDIR%%/samba/tests/upgradeprovisionneeddc.py
+%%PYTHON_SITELIBDIR%%/samba/tests/xattr.py
+%%PYTHON_SITELIBDIR%%/samba/third_party/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/third_party/iso8601/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/third_party/iso8601/iso8601.py
+%%PYTHON_SITELIBDIR%%/samba/third_party/iso8601/test_iso8601.py
+%%PYTHON_SITELIBDIR%%/samba/upgrade.py
+%%PYTHON_SITELIBDIR%%/samba/upgradehelpers.py
+%%PYTHON_SITELIBDIR%%/samba/web_server/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/xattr.py
+@unexec find %D/%%PYTHON_SITELIBDIR%%/samba -name '*.py[co]' -delete >/dev/null 2>&1
+@dir %%PYTHON_SITELIBDIR%%/samba/web_server
+@dir %%PYTHON_SITELIBDIR%%/samba/tests/samba_tool
+@dir %%PYTHON_SITELIBDIR%%/samba/tests/dcerpc
+@dir %%PYTHON_SITELIBDIR%%/samba/tests/blackbox
+@dir %%PYTHON_SITELIBDIR%%/samba/tests
+@dir %%PYTHON_SITELIBDIR%%/samba/samba3
+@dir %%PYTHON_SITELIBDIR%%/samba/provision
+@dir %%PYTHON_SITELIBDIR%%/samba/netcmd
+@dir %%PYTHON_SITELIBDIR%%/samba/dcerpc
+@dir %%PYTHON_SITELIBDIR%%/samba
+%%AD_DC%%%%DATADIR%%/setup/DB_CONFIG
+%%AD_DC%%%%DATADIR%%/setup/ad-schema/MS-AD_Schema_2K8_Attributes.txt
+%%AD_DC%%%%DATADIR%%/setup/ad-schema/MS-AD_Schema_2K8_Classes.txt
+%%AD_DC%%%%DATADIR%%/setup/ad-schema/MS-AD_Schema_2K8_R2_Attributes.txt
+%%AD_DC%%%%DATADIR%%/setup/ad-schema/MS-AD_Schema_2K8_R2_Classes.txt
+%%AD_DC%%%%DATADIR%%/setup/ad-schema/licence.txt
+%%AD_DC%%%%DATADIR%%/setup/aggregate_schema.ldif
+%%AD_DC%%%%DATADIR%%/setup/cn=samba.ldif
+%%AD_DC%%%%DATADIR%%/setup/display-specifiers/DisplaySpecifiers-Win2k0.txt
+%%AD_DC%%%%DATADIR%%/setup/display-specifiers/DisplaySpecifiers-Win2k3.txt
+%%AD_DC%%%%DATADIR%%/setup/display-specifiers/DisplaySpecifiers-Win2k3R2.txt
+%%AD_DC%%%%DATADIR%%/setup/display-specifiers/DisplaySpecifiers-Win2k8.txt
+%%AD_DC%%%%DATADIR%%/setup/display-specifiers/DisplaySpecifiers-Win2k8R2.txt
+%%AD_DC%%%%DATADIR%%/setup/dns_update_list
+%%AD_DC%%%%DATADIR%%/setup/fedora-ds-init.ldif
+%%AD_DC%%%%DATADIR%%/setup/fedorads-dna.ldif
+%%AD_DC%%%%DATADIR%%/setup/fedorads-index.ldif
+%%AD_DC%%%%DATADIR%%/setup/fedorads-linked-attributes.ldif
+%%AD_DC%%%%DATADIR%%/setup/fedorads-pam.ldif
+%%AD_DC%%%%DATADIR%%/setup/fedorads-partitions.ldif
+%%AD_DC%%%%DATADIR%%/setup/fedorads-refint-add.ldif
+%%AD_DC%%%%DATADIR%%/setup/fedorads-refint-delete.ldif
+%%AD_DC%%%%DATADIR%%/setup/fedorads-samba.ldif
+%%AD_DC%%%%DATADIR%%/setup/fedorads-sasl.ldif
+%%AD_DC%%%%DATADIR%%/setup/fedorads.inf
+%%AD_DC%%%%DATADIR%%/setup/idmap_init.ldif
+%%AD_DC%%%%DATADIR%%/setup/krb5.conf
+%%AD_DC%%%%DATADIR%%/setup/memberof.conf
+%%AD_DC%%%%DATADIR%%/setup/mmr_serverids.conf
+%%AD_DC%%%%DATADIR%%/setup/mmr_syncrepl.conf
+%%AD_DC%%%%DATADIR%%/setup/modules.conf
+%%AD_DC%%%%DATADIR%%/setup/named.conf
+%%AD_DC%%%%DATADIR%%/setup/named.conf.dlz
+%%AD_DC%%%%DATADIR%%/setup/named.conf.update
+%%AD_DC%%%%DATADIR%%/setup/named.txt
+%%AD_DC%%%%DATADIR%%/setup/olc_mmr.conf
+%%AD_DC%%%%DATADIR%%/setup/olc_seed.ldif
+%%AD_DC%%%%DATADIR%%/setup/olc_serverid.conf
+%%AD_DC%%%%DATADIR%%/setup/olc_syncrepl.conf
+%%AD_DC%%%%DATADIR%%/setup/olc_syncrepl_seed.conf
+%%AD_DC%%%%DATADIR%%/setup/prefixMap.txt
+%%AD_DC%%%%DATADIR%%/setup/provision.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision.reg
+%%AD_DC%%%%DATADIR%%/setup/provision.zone
+%%AD_DC%%%%DATADIR%%/setup/provision_basedn.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_basedn_modify.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_basedn_options.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_basedn_references.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_computers_add.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_computers_modify.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_configuration.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_configuration_basedn.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_configuration_modify.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_configuration_references.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_dns_accounts_add.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_dns_add_samba.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_dnszones_add.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_dnszones_modify.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_dnszones_partitions.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_group_policy.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_init.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_partitions.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_privilege.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_rootdse_add.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_rootdse_modify.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_schema_basedn.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_schema_basedn_modify.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_self_join.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_self_join_config.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_self_join_modify.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_self_join_modify_config.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_users.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_users_add.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_users_modify.ldif
+%%AD_DC%%%%DATADIR%%/setup/provision_well_known_sec_princ.ldif
+%%AD_DC%%%%DATADIR%%/setup/refint.conf
+%%AD_DC%%%%DATADIR%%/setup/schema-map-fedora-ds-1.0
+%%AD_DC%%%%DATADIR%%/setup/schema-map-openldap-2.3
+%%AD_DC%%%%DATADIR%%/setup/schema_samba4.ldif
+%%AD_DC%%%%DATADIR%%/setup/secrets.ldif
+%%AD_DC%%%%DATADIR%%/setup/secrets_dns.ldif
+%%AD_DC%%%%DATADIR%%/setup/secrets_init.ldif
+%%AD_DC%%%%DATADIR%%/setup/secrets_sasl_ldap.ldif
+%%AD_DC%%%%DATADIR%%/setup/secrets_simple_ldap.ldif
+%%AD_DC%%%%DATADIR%%/setup/share.ldif
+%%AD_DC%%%%DATADIR%%/setup/slapd.conf
+%%AD_DC%%%%DATADIR%%/setup/spn_update_list
+%%AD_DC%%%%DATADIR%%/setup/ypServ30.ldif
+%%AD_DC%%@dir %%DATADIR%%/setup/display-specifiers
+%%AD_DC%%@dir %%DATADIR%%/setup/ad-schema
+%%AD_DC%%@dir %%DATADIR%%/setup
+%%AD_DC%%@dir %%DATADIR%%
+man/man1/dbwrap_tool.1.gz
+man/man1/findsmb.1.gz
+man/man1/gentest.1.gz
+man/man1/locktest.1.gz
+man/man1/log2pcap.1.gz
+man/man1/masktest.1.gz
+man/man1/ndrdump.1.gz
+man/man1/nmblookup.1.gz
+man/man1/ntlm_auth.1.gz
+man/man1/oLschema2ldif.1.gz
+man/man1/profiles.1.gz
+man/man1/regdiff.1.gz
+man/man1/regpatch.1.gz
+man/man1/regshell.1.gz
+man/man1/regtree.1.gz
+man/man1/rpcclient.1.gz
+man/man1/sharesec.1.gz
+man/man1/smbcacls.1.gz
+man/man1/smbclient.1.gz
+man/man1/smbcontrol.1.gz
+man/man1/smbcquotas.1.gz
+man/man1/smbget.1.gz
+man/man1/smbstatus.1.gz
+man/man1/smbtar.1.gz
+man/man1/smbtorture.1.gz
+man/man1/smbtree.1.gz
+man/man1/testparm.1.gz
+man/man1/vfstest.1.gz
+man/man1/wbinfo.1.gz
+man/man5/lmhosts.5.gz
+man/man5/pam_winbind.conf.5.gz
+man/man5/smb.conf.5.gz
+man/man5/smb4.conf.5.gz
+man/man5/smbgetrc.5.gz
+man/man5/smbpasswd.5.gz
+man/man7/samba.7.gz
+man/man7/winbind_krb5_locator.7.gz
+man/man8/cifsdd.8.gz
+man/man8/eventlogadm.8.gz
+man/man8/idmap_ad.8.gz
+man/man8/idmap_autorid.8.gz
+man/man8/idmap_hash.8.gz
+man/man8/idmap_ldap.8.gz
+man/man8/idmap_nss.8.gz
+man/man8/idmap_rfc2307.8.gz
+man/man8/idmap_rid.8.gz
+man/man8/idmap_tdb.8.gz
+man/man8/idmap_tdb2.8.gz
+man/man8/net.8.gz
+man/man8/nmbd.8.gz
+man/man8/pam_winbind.8.gz
+man/man8/pdbedit.8.gz
+man/man8/samba-regedit.8.gz
+man/man8/samba-tool.8.gz
+man/man8/samba.8.gz
+man/man8/smbd.8.gz
+man/man8/smbpasswd.8.gz
+man/man8/smbspool_krb5_wrapper.8.gz
+man/man8/smbspool.8.gz
+man/man8/vfs_acl_tdb.8.gz
+man/man8/vfs_acl_xattr.8.gz
+man/man8/vfs_aio_fork.8.gz
+man/man8/vfs_aio_linux.8.gz
+man/man8/vfs_aio_pthread.8.gz
+man/man8/vfs_audit.8.gz
+man/man8/vfs_btrfs.8.gz
+man/man8/vfs_cacheprime.8.gz
+man/man8/vfs_cap.8.gz
+man/man8/vfs_catia.8.gz
+man/man8/vfs_ceph.8.gz
+man/man8/vfs_commit.8.gz
+man/man8/vfs_crossrename.8.gz
+man/man8/vfs_default_quota.8.gz
+man/man8/vfs_dirsort.8.gz
+man/man8/vfs_extd_audit.8.gz
+man/man8/vfs_fake_perms.8.gz
+man/man8/vfs_fileid.8.gz
+man/man8/vfs_fruit.8.gz
+man/man8/vfs_full_audit.8.gz
+man/man8/vfs_glusterfs.8.gz
+man/man8/vfs_gpfs.8.gz
+man/man8/vfs_linux_xfs_sgid.8.gz
+man/man8/vfs_media_harmony.8.gz
+man/man8/vfs_offline.8.gz
+man/man8/vfs_netatalk.8.gz
+man/man8/vfs_prealloc.8.gz
+man/man8/vfs_preopen.8.gz
+man/man8/vfs_readahead.8.gz
+man/man8/vfs_readonly.8.gz
+man/man8/vfs_recycle.8.gz
+man/man8/vfs_shadow_copy.8.gz
+man/man8/vfs_shadow_copy2.8.gz
+man/man8/vfs_shell_snap.8.gz
+man/man8/vfs_snapper.8.gz
+man/man8/vfs_streams_depot.8.gz
+man/man8/vfs_streams_xattr.8.gz
+man/man8/vfs_syncops.8.gz
+man/man8/vfs_time_audit.8.gz
+man/man8/vfs_tsmsm.8.gz
+man/man8/vfs_unityed_media.8.gz
+man/man8/vfs_worm.8.gz
+man/man8/vfs_xattr_tdb.8.gz
+man/man8/winbindd.8.gz
+@dir /var/run/samba4
+@dir /var/log/samba4
+@dir /var/db/samba4/private
+@dir /var/db/samba4
OpenPOWER on IntegriCloud