diff options
author | ryoon <ryoon@pkgsrc.org> | 2015-05-12 12:19:52 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2015-05-12 12:19:52 +0000 |
commit | 7854e3c1811fee587770b16d2bcdd36c051eb216 (patch) | |
tree | b3ae0b195cfa89e41220eb04112d22349f560b75 /net | |
parent | 33d41a0d2c1c1dbe8091a20097539fef2c6e0946 (diff) | |
download | pkgsrc-7854e3c1811fee587770b16d2bcdd36c051eb216.tar.gz |
Import samba-4.2.1 as net/samba4.
Samba is the standard Windows interoperability suite of programs
for Linux and Unix.
Samba is Free Software licensed under the GNU General Public License,
the Samba project is a member of the Software Freedom Conservancy.
Since 1992, Samba has provided secure, stable and fast file and
print services for all clients using the SMB/CIFS protocol, such
as all versions of DOS and Windows, OS/2, Linux and many others.
Samba is an important component to seamlessly integrate Linux/Unix
Servers and Desktops into Active Directory environments. It can
function both as a domain controller or as a regular domain member.
This package tracks 4.x branch release.
Diffstat (limited to 'net')
-rw-r--r-- | net/samba4/DESCR | 15 | ||||
-rw-r--r-- | net/samba4/MESSAGE | 13 | ||||
-rw-r--r-- | net/samba4/Makefile | 187 | ||||
-rw-r--r-- | net/samba4/PLIST | 796 | ||||
-rw-r--r-- | net/samba4/distinfo | 7 | ||||
-rw-r--r-- | net/samba4/files/adduser.sh | 161 | ||||
-rw-r--r-- | net/samba4/files/deluser.sh | 68 | ||||
-rwxr-xr-x | net/samba4/files/nmbd.sh | 22 | ||||
-rw-r--r-- | net/samba4/files/samba.sh | 18 | ||||
-rwxr-xr-x | net/samba4/files/smbd.sh | 33 | ||||
-rw-r--r-- | net/samba4/files/smf/manifest.xml | 42 | ||||
-rw-r--r-- | net/samba4/files/winbindd.sh | 18 | ||||
-rw-r--r-- | net/samba4/hacks.mk | 3 | ||||
-rw-r--r-- | net/samba4/options.mk | 84 | ||||
-rw-r--r-- | net/samba4/patches/patch-source4_scripting_wsript_build | 17 | ||||
-rw-r--r-- | net/samba4/patches/patch-testprogs_blackbox_dbcheck-oldrelease.sh | 29 |
16 files changed, 1513 insertions, 0 deletions
diff --git a/net/samba4/DESCR b/net/samba4/DESCR new file mode 100644 index 00000000000..07d828f2143 --- /dev/null +++ b/net/samba4/DESCR @@ -0,0 +1,15 @@ +Samba is the standard Windows interoperability suite of programs +for Linux and Unix. + +Samba is Free Software licensed under the GNU General Public License, +the Samba project is a member of the Software Freedom Conservancy. + +Since 1992, Samba has provided secure, stable and fast file and +print services for all clients using the SMB/CIFS protocol, such +as all versions of DOS and Windows, OS/2, Linux and many others. + +Samba is an important component to seamlessly integrate Linux/Unix +Servers and Desktops into Active Directory environments. It can +function both as a domain controller or as a regular domain member. + +This package tracks 4.x branch release. diff --git a/net/samba4/MESSAGE b/net/samba4/MESSAGE new file mode 100644 index 00000000000..2b7e7bbab62 --- /dev/null +++ b/net/samba4/MESSAGE @@ -0,0 +1,13 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1 2015/05/12 12:19:52 ryoon Exp $ + +For ActiveDirectory/Domain Controller, use: + + ${RCD_SCRIPTS_DIR}/samba start + +For traditional simple CIFS file sharing, use: + + ${RCD_SCRIPTS_DIR}/nmbd start + ${RCD_SCRIPTS_DIR}/winbindd start + ${RCD_SCRIPTS_DIR}/smbd start +=========================================================================== diff --git a/net/samba4/Makefile b/net/samba4/Makefile new file mode 100644 index 00000000000..c01b238e759 --- /dev/null +++ b/net/samba4/Makefile @@ -0,0 +1,187 @@ +# $NetBSD: Makefile,v 1.1 2015/05/12 12:19:52 ryoon Exp $ + +DISTNAME= samba-${VERSION} +CATEGORIES= net +MASTER_SITES= http://download.samba.org/pub/samba/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.samba.org/ +COMMENT= SMB/CIFS protocol server suite +LICENSE= gnu-gpl-v3 + +VERSION= 4.2.1 +CONFLICTS+= ja-samba-[0-9]* pam-smbpass-[0-9]* tdb-[0-9]* winbind-[0-9]* + +BUILD_DEFS+= VARBASE + +.include "../../mk/bsd.prefs.mk" + +SMB_LIB?= ${PREFIX}/lib + +PKG_SYSCONFSUBDIR= samba +SMB_SHAREDSTATE?= ${PREFIX}/com +SMB_LOCALSTATE?= ${VARBASE} +SMB_INFO?= ${PREFIX}/info +SMB_MAN?= ${PREFIX}/${PKGMANDIR} +SMB_STATE?= ${VARBASE}/run +SMB_PRIVATE?= ${SMB_LIB}/samba/private +SMB_PID?= ${VARBASE}/run +SMB_CACHE?= ${VARBASE}/cache +SMB_LOCK?= ${VARBASE}/run +SMB_LOGFILEBASE?= ${VARBASE}/log +SMB_SOCKETS?= ${VARBASE}/run +SMB_MODULES?= ${SMB_LIB}/samba +SMB_PRIVATELIB?= ${SMB_LIB}/samba/private +SMB_PRIVSOCKETS?= ${VARBASE}/run +SMB_CONFIG?= ${PKG_SYSCONFDIR} +SMB_DATAROOT?= ${PREFIX}/share/samba +SMB_LOCALE?= ${PREFIX}/share/locale +SMB_DOC?= ${PREFIX}/share/doc/samba +SMB_PAMMODULES?= ${SMB_LIB}/samba/security + +FILES_SUBST+= SMB_CONFIG=${SMB_CONFIG} +FILES_SUBST+= SMB_PID=${SMB_PID} + +# mktemp is useful for the replacement adduser script, but don't require +# a full dependency since it's not actually needed by samba. +USE_TOOLS+= gmake mktemp perl:run + +REPLACE_PERL= script/findsmb.in + +USE_GNU_ICONV= yes # FIXME: something doesn't work on NetBSD + +# Debugging +#CONFIGURE_ARGS+= -vvv +#CONFIGURE_ARGS+= --enable-developer +#CONFIGURE_ARGS+= --fatal-errors + +HAS_CONFIGURE= yes +CONFIGURE_ENV+= XSLTPROC=${FALSE} # suppress generation of man pages +CONFIGURE_ARGS+= --libdir=${SAMBA_LIB} +CONFIG_SHELL= ${PYTHONBIN} +CONFIGURE_SCRIPT= ${WRKSRC}/buildtools/bin/waf +CONFIGURE_ARGS+= configure +CONFIGURE_ARGS+= --prefix=${PREFIX} +CONFIGURE_ARGS+= --infodir=${SMB_INFO} +CONFIGURE_ARGS+= --mandir=${SMB_MAN} +CONFIGURE_ARGS+= --datarootdir=${SMB_DATAROOT} +CONFIGURE_ARGS+= --localedir=${SMB_LOCALE} +CONFIGURE_ARGS+= --docdir=${SMB_DOC} +CONFIGURE_ARGS+= --with-statedir=${SMB_STATE} +CONFIGURE_ARGS+= --with-privatedir=${SMB_PRIVATE} +CONFIGURE_ARGS+= --with-piddir=${SMB_PID} +CONFIGURE_ARGS+= --with-cachedir=${SMB_CACHE} +CONFIGURE_ARGS+= --with-lockdir=${SMB_LOCK} +CONFIGURE_ARGS+= --with-logfilebase=${SMB_LOGFILEBASE} +CONFIGURE_ARGS+= --with-sockets-dir=${SMB_SOCKETS} +CONFIGURE_ARGS+= --with-modulesdir=${SMB_MODULES} +CONFIGURE_ARGS+= --with-privatelibdir=${SMB_PRIVATELIB} +CONFIGURE_ARGS+= --with-privileged-socket-dir=${SMB_PRIVSOCKETS} +CONFIGURE_ARGS+= --with-configdir=${SMB_CONFIG} +CONFIGURE_ARGS+= --with-libiconv=${BUILDLINK_PREFIX.iconv} +CONFIGURE_ARGS+= --with-gettext=${BUILDLINK_PREFIX.gettext} +#CONFIGURE_ARGS+= --bundled-libraries=com_err +CONFIGURE_ARGS+= --enable-gnutls +CONFIGURE_ARGS+= --with-system-mitkrb5 +CONFIGURE_ARGS+= --abi-check-disable +#CONFIGURE_ARGS+= --bundled-libraries=!crypto,ldb,ntdb,talloc,tdb,tevent +.if defined(MAKE_JOBS_SAFE) && !empty(MAKE_JOBS_SAFE:M[nN][oO]) +CONFIGURE_ARGS+= --jobs=1 +.else +CONFIGURE_ARGS+= --jobs=${MAKE_JOBS} +.endif + +# for binbind option build. +LDFLAGS+= -Wl,--allow-shlib-undefined +LDFLAGS+= ${COMPILER_RPATH_FLAG}${SMB_PRIVATELIB} + +.include "options.mk" + +PLIST_VARS+= macosx + +.if ${OPSYS} == "Darwin" +PLIST.macosx= yes +.endif + +.if ${_OPSYS_SHLIB_TYPE} == "dylib" +PLIST_SUBST+= LIBEXT=dylib +SAMBA_LIBEXT= dylib +.else +PLIST_SUBST+= LIBEXT=so +SAMBA_LIBEXT= so +.endif + +.if !defined(PWD_MKDB) +PWD_MKDB!= ${TYPE} pwd_mkdb 2>&1 | \ + ${AWK} '/not found/ { print "pwd_mkdb"; exit } { print $$3 }' +MAKEFLAGS+= PWD_MKDB=${PWD_MKDB:Q} +.endif +FILES_SUBST+= MKTEMP=${MKTEMP:Q} +FILES_SUBST+= PWD_MKDB=${PWD_MKDB:Q} + +INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR} + +DOCDIR= share/doc/${PKGBASE} +EGDIR= share/examples/${PKGBASE} +CONF_FILES= ${PREFIX}/${EGDIR}/smb.conf.default ${SMB_CONFIG}/smb.conf +OWN_DIRS_PERMS= ${SMB_PRIVATE} ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700 +RCD_SCRIPTS+= samba nmbd smbd ${WINBINDD_RCD_SCRIPT} + +SUBST_CLASSES+= paths +SUBST_MESSAGE.paths= Fixing paths. +SUBST_FILES.paths= ${WRKDIR}/adduser.sh ${WRKDIR}/deluser.sh +SUBST_STAGE.paths= post-patch +SUBST_SED.paths+= -e 's,@AWK@,${AWK},g' +SUBST_SED.paths+= -e 's,@CAT@,${CAT},g' +SUBST_SED.paths+= -e 's,@MKTEMP@,${MKTEMP},g' +SUBST_SED.paths+= -e 's,@RM@,${RM},g' +SUBST_SED.paths+= -e 's,@PWD_MKDB@,${PWD_MKDB},g' +SUBST_SED.paths+= -e 's,@SH@,${SH},g' + +SUBST_CLASSES+= logpath +SUBST_MESSAGE.logpath= Fixing log path. +SUBST_FILES.logpath= examples/smb.conf.default +SUBST_STAGE.logpath= pre-configure +SUBST_SED.logpath+= -e 's,/usr/local/samba/var/log.%m,${SMB_LOGFILEBASE}/log.%m,g' + +post-extract: + ${CP} ${FILESDIR}/adduser.sh ${FILESDIR}/deluser.sh ${WRKDIR} + +post-install: + set -e ; cd ${WRKSRC}/docs-xml/registry; for f in *.reg; do \ + ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/${DOCDIR}/$${f}; \ + done + ${INSTALL_SCRIPT} ${WRKDIR}/adduser.sh \ + ${DESTDIR}${PREFIX}/${EGDIR}/adduser.sh + ${INSTALL_SCRIPT} ${WRKDIR}/deluser.sh \ + ${DESTDIR}${PREFIX}/${EGDIR}/deluser.sh + ${INSTALL_DATA} ${WRKSRC}/examples/LDAP/samba.schema \ + ${DESTDIR}${PREFIX}/${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/smb.conf.default \ + ${DESTDIR}${PREFIX}/${EGDIR} + +REPLACE_PERL= pidl/pidl +REPLACE_PYTHON= buildtools/bin/waf \ + source4/setup/* \ + source4/scripting/bin/* \ + lib/subunit/python/subunit/run.py \ + lib/subunit/python/subunit/tests/sample-script.py \ + lib/subunit/python/subunit/tests/sample-two-script.py \ + lib/tevent/tevent.py + +.include "../../lang/python/application.mk" + +PY_PATCHPLIST= yes +.include "../../lang/python/extension.mk" + +.if ${OPSYS} == "Linux" +.include "../../devel/libuuid/buildlink3.mk" +.endif +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/popt/buildlink3.mk" +.include "../../devel/readline/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../security/gnutls/buildlink3.mk" +.include "../../security/mit-krb5/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/samba4/PLIST b/net/samba4/PLIST new file mode 100644 index 00000000000..6f61a8ebb39 --- /dev/null +++ b/net/samba4/PLIST @@ -0,0 +1,796 @@ +@comment $NetBSD: PLIST,v 1.1 2015/05/12 12:19:52 ryoon Exp $ +bin/cifsdd +bin/dbwrap_tool +bin/eventlogadm +bin/gentest +bin/ldbadd +bin/ldbdel +bin/ldbedit +bin/ldbmodify +bin/ldbrename +bin/ldbsearch +bin/locktest +bin/masktest +bin/ndrdump +bin/net +bin/nmblookup +bin/ntdbbackup +bin/ntdbdump +bin/ntdbrestore +bin/ntdbtool +bin/ntlm_auth +bin/oLschema2ldif +bin/pdbedit +bin/pidl +bin/profiles +bin/regdiff +bin/regpatch +bin/regshell +bin/regtree +bin/rpcclient +bin/sharesec +bin/smbcacls +bin/smbclient +bin/smbcontrol +bin/smbcquotas +bin/smbget +bin/smbpasswd +bin/smbspool +bin/smbstatus +bin/smbta-util +bin/smbtar +bin/smbtorture +bin/smbtree +bin/tdbbackup +bin/tdbdump +bin/tdbrestore +bin/tdbtool +bin/testparm +bin/wbinfo +include/charset.h +include/core/doserr.h +include/core/error.h +include/core/hresult.h +include/core/ntstatus.h +include/core/werror.h +include/credentials.h +include/dcerpc.h +include/dlinklist.h +include/domain_credentials.h +include/gen_ndr/atsvc.h +include/gen_ndr/auth.h +include/gen_ndr/dcerpc.h +include/gen_ndr/drsblobs.h +include/gen_ndr/drsuapi.h +include/gen_ndr/epmapper.h +include/gen_ndr/krb5pac.h +include/gen_ndr/lsa.h +include/gen_ndr/mgmt.h +include/gen_ndr/misc.h +include/gen_ndr/nbt.h +include/gen_ndr/ndr_atsvc.h +include/gen_ndr/ndr_atsvc_c.h +include/gen_ndr/ndr_dcerpc.h +include/gen_ndr/ndr_drsblobs.h +include/gen_ndr/ndr_drsuapi.h +include/gen_ndr/ndr_epmapper.h +include/gen_ndr/ndr_epmapper_c.h +include/gen_ndr/ndr_krb5pac.h +include/gen_ndr/ndr_mgmt.h +include/gen_ndr/ndr_mgmt_c.h +include/gen_ndr/ndr_misc.h +include/gen_ndr/ndr_nbt.h +include/gen_ndr/ndr_samr.h +include/gen_ndr/ndr_samr_c.h +include/gen_ndr/ndr_svcctl.h +include/gen_ndr/ndr_svcctl_c.h +include/gen_ndr/netlogon.h +include/gen_ndr/samr.h +include/gen_ndr/security.h +include/gen_ndr/server_id.h +include/gen_ndr/svcctl.h +include/gensec.h +include/ldap-util.h +include/ldap_errors.h +include/ldap_message.h +include/ldap_ndr.h +include/ldb_wrap.h +include/libsmbclient.h +include/lookup_sid.h +include/machine_sid.h +include/ndr.h +include/ndr/ndr_dcerpc.h +include/ndr/ndr_drsblobs.h +include/ndr/ndr_drsuapi.h +include/ndr/ndr_nbt.h +include/ndr/ndr_svcctl.h +include/netapi.h +include/param.h +include/passdb.h +include/policy.h +include/pytalloc.h +include/read_smb.h +include/registry.h +include/roles.h +include/rpc_common.h +include/samba/session.h +include/samba/version.h +include/samba_util.h +include/share.h +include/smb2.h +include/smb2_constants.h +include/smb2_create_blob.h +include/smb2_lease.h +include/smb2_lease_struct.h +include/smb2_signing.h +include/smb_cli.h +include/smb_cliraw.h +include/smb_common.h +include/smb_composite.h +include/smb_constants.h +include/smb_ldap.h +include/smb_raw.h +include/smb_raw_interfaces.h +include/smb_raw_signing.h +include/smb_raw_trans2.h +include/smb_request.h +include/smb_seal.h +include/smb_signing.h +include/smb_unix_ext.h +include/smb_util.h +include/smbconf.h +include/smbldap.h +include/tdr.h +include/torture.h +include/tsocket.h +include/tsocket_internal.h +include/tstream_smbXcli_np.h +include/util/attr.h +include/util/blocking.h +include/util/byteorder.h +include/util/data_blob.h +include/util/debug.h +include/util/fault.h +include/util/idtree.h +include/util/idtree_random.h +include/util/memory.h +include/util/safe_string.h +include/util/signal.h +include/util/string_wrappers.h +include/util/substitute.h +include/util/talloc_stack.h +include/util/tevent_ntstatus.h +include/util/tevent_unix.h +include/util/tevent_werror.h +include/util/time.h +include/util/xfile.h +include/util_ldb.h +include/wbclient.h +lib/libdcerpc-atsvc.so +lib/libdcerpc-atsvc.so.0 +lib/libdcerpc-atsvc.so.0.0.1 +lib/libdcerpc-binding.so +lib/libdcerpc-binding.so.0 +lib/libdcerpc-binding.so.0.0.1 +lib/libdcerpc-samr.so +lib/libdcerpc-samr.so.0 +lib/libdcerpc-samr.so.0.0.1 +lib/libdcerpc.so +lib/libdcerpc.so.0 +lib/libdcerpc.so.0.0.1 +lib/libgensec.so +lib/libgensec.so.0 +lib/libgensec.so.0.0.1 +lib/libndr-krb5pac.so +lib/libndr-krb5pac.so.0 +lib/libndr-krb5pac.so.0.0.1 +lib/libndr-nbt.so +lib/libndr-nbt.so.0 +lib/libndr-nbt.so.0.0.1 +lib/libndr-standard.so +lib/libndr-standard.so.0 +lib/libndr-standard.so.0.0.1 +lib/libndr.so +lib/libndr.so.0 +lib/libndr.so.0.0.3 +lib/libnetapi.so +lib/libnetapi.so.0 +lib/libnss_winbind.so +lib/libregistry.so +lib/libregistry.so.0 +lib/libregistry.so.0.0.1 +lib/libsamba-credentials.so +lib/libsamba-credentials.so.0 +lib/libsamba-credentials.so.0.0.1 +lib/libsamba-hostconfig.so +lib/libsamba-hostconfig.so.0 +lib/libsamba-hostconfig.so.0.0.1 +lib/libsamba-passdb.so +lib/libsamba-passdb.so.0 +lib/libsamba-passdb.so.0.24.1 +lib/libsamba-policy.so +lib/libsamba-policy.so.0 +lib/libsamba-policy.so.0.0.1 +lib/libsamba-util.so +lib/libsamba-util.so.0 +lib/libsamba-util.so.0.0.1 +lib/libsamdb.so +lib/libsamdb.so.0 +lib/libsamdb.so.0.0.1 +lib/libsmbclient-raw.so +lib/libsmbclient-raw.so.0 +lib/libsmbclient-raw.so.0.0.1 +lib/libsmbclient.so +lib/libsmbclient.so.0 +lib/libsmbclient.so.0.2.1 +lib/libsmbconf.so +lib/libsmbconf.so.0 +lib/libsmbldap.so +lib/libsmbldap.so.0 +lib/libtevent-util.so +lib/libtevent-util.so.0 +lib/libtevent-util.so.0.0.1 +lib/libtorture.so +lib/libtorture.so.0 +lib/libtorture.so.0.0.1 +lib/libwbclient.so +lib/libwbclient.so.0 +lib/libwbclient.so.0.12 +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/CUtil.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Compat.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Dump.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Expr.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/IDL.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/NDR.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/ODL.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Samba3/ClientNDR.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Samba3/ServerNDR.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Samba4.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Samba4/COM/Header.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Samba4/COM/Proxy.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Samba4/COM/Stub.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Samba4/Header.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Samba4/NDR/Client.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Samba4/NDR/Parser.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Samba4/NDR/Server.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Samba4/Python.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Samba4/TDR.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Samba4/Template.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Typelist.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Util.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Wireshark/Conformance.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Pidl/Wireshark/NDR.pm +${PERL5_SUB_INSTALLVENDORLIB}/Parse/Yapp/Driver.pm +lib/pkgconfig/dcerpc.pc +lib/pkgconfig/dcerpc_atsvc.pc +lib/pkgconfig/dcerpc_samr.pc +lib/pkgconfig/gensec.pc +lib/pkgconfig/ndr.pc +lib/pkgconfig/ndr_krb5pac.pc +lib/pkgconfig/ndr_nbt.pc +lib/pkgconfig/ndr_standard.pc +lib/pkgconfig/netapi.pc +lib/pkgconfig/registry.pc +lib/pkgconfig/samba-credentials.pc +lib/pkgconfig/samba-hostconfig.pc +lib/pkgconfig/samba-policy.pc +lib/pkgconfig/samba-util.pc +lib/pkgconfig/samdb.pc +lib/pkgconfig/smbclient-raw.pc +lib/pkgconfig/smbclient.pc +lib/pkgconfig/torture.pc +lib/pkgconfig/wbclient.pc +${PYSITELIB}/_tevent.so +${PYSITELIB}/ldb.so +${PYSITELIB}/ntdb.so +${PYSITELIB}/samba/__init__.py +${PYSITELIB}/samba/_glue.so +${PYSITELIB}/samba/_ldb.so +${PYSITELIB}/samba/auth.so +${PYSITELIB}/samba/com.so +${PYSITELIB}/samba/common.py +${PYSITELIB}/samba/credentials.so +${PYSITELIB}/samba/dbchecker.py +${PYSITELIB}/samba/dcerpc/__init__.py +${PYSITELIB}/samba/dcerpc/atsvc.so +${PYSITELIB}/samba/dcerpc/auth.so +${PYSITELIB}/samba/dcerpc/base.so +${PYSITELIB}/samba/dcerpc/dcerpc.so +${PYSITELIB}/samba/dcerpc/dfs.so +${PYSITELIB}/samba/dcerpc/dns.so +${PYSITELIB}/samba/dcerpc/dnsp.so +${PYSITELIB}/samba/dcerpc/dnsserver.so +${PYSITELIB}/samba/dcerpc/drsblobs.so +${PYSITELIB}/samba/dcerpc/drsuapi.so +${PYSITELIB}/samba/dcerpc/echo.so +${PYSITELIB}/samba/dcerpc/epmapper.so +${PYSITELIB}/samba/dcerpc/idmap.so +${PYSITELIB}/samba/dcerpc/initshutdown.so +${PYSITELIB}/samba/dcerpc/irpc.so +${PYSITELIB}/samba/dcerpc/krb5pac.so +${PYSITELIB}/samba/dcerpc/lsa.so +${PYSITELIB}/samba/dcerpc/mgmt.so +${PYSITELIB}/samba/dcerpc/misc.so +${PYSITELIB}/samba/dcerpc/nbt.so +${PYSITELIB}/samba/dcerpc/netlogon.so +${PYSITELIB}/samba/dcerpc/samr.so +${PYSITELIB}/samba/dcerpc/security.so +${PYSITELIB}/samba/dcerpc/server_id.so +${PYSITELIB}/samba/dcerpc/smb_acl.so +${PYSITELIB}/samba/dcerpc/srvsvc.so +${PYSITELIB}/samba/dcerpc/svcctl.so +${PYSITELIB}/samba/dcerpc/unixinfo.so +${PYSITELIB}/samba/dcerpc/winbind.so +${PYSITELIB}/samba/dcerpc/winreg.so +${PYSITELIB}/samba/dcerpc/wkssvc.so +${PYSITELIB}/samba/dcerpc/xattr.so +${PYSITELIB}/samba/descriptor.py +${PYSITELIB}/samba/drs_utils.py +${PYSITELIB}/samba/dsdb.so +${PYSITELIB}/samba/external/__init__.py +${PYSITELIB}/samba/external/dns/__init__.py +${PYSITELIB}/samba/external/dns/dnssec.py +${PYSITELIB}/samba/external/dns/e164.py +${PYSITELIB}/samba/external/dns/edns.py +${PYSITELIB}/samba/external/dns/entropy.py +${PYSITELIB}/samba/external/dns/exception.py +${PYSITELIB}/samba/external/dns/flags.py +${PYSITELIB}/samba/external/dns/hash.py +${PYSITELIB}/samba/external/dns/inet.py +${PYSITELIB}/samba/external/dns/ipv4.py +${PYSITELIB}/samba/external/dns/ipv6.py +${PYSITELIB}/samba/external/dns/message.py +${PYSITELIB}/samba/external/dns/name.py +${PYSITELIB}/samba/external/dns/namedict.py +${PYSITELIB}/samba/external/dns/node.py +${PYSITELIB}/samba/external/dns/opcode.py +${PYSITELIB}/samba/external/dns/query.py +${PYSITELIB}/samba/external/dns/rcode.py +${PYSITELIB}/samba/external/dns/rdata.py +${PYSITELIB}/samba/external/dns/rdataclass.py +${PYSITELIB}/samba/external/dns/rdataset.py +${PYSITELIB}/samba/external/dns/rdatatype.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/AFSDB.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/CERT.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/CNAME.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/DLV.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/DNAME.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/DNSKEY.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/DS.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/GPOS.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/HINFO.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/HIP.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/ISDN.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/LOC.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/MX.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/NS.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/NSEC.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/NSEC3.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/NSEC3PARAM.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/PTR.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/RP.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/RRSIG.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/RT.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/SOA.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/SPF.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/SSHFP.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/TXT.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/X25.py +${PYSITELIB}/samba/external/dns/rdtypes/ANY/__init__.py +${PYSITELIB}/samba/external/dns/rdtypes/IN/A.py +${PYSITELIB}/samba/external/dns/rdtypes/IN/AAAA.py +${PYSITELIB}/samba/external/dns/rdtypes/IN/APL.py +${PYSITELIB}/samba/external/dns/rdtypes/IN/DHCID.py +${PYSITELIB}/samba/external/dns/rdtypes/IN/IPSECKEY.py +${PYSITELIB}/samba/external/dns/rdtypes/IN/KX.py +${PYSITELIB}/samba/external/dns/rdtypes/IN/NAPTR.py +${PYSITELIB}/samba/external/dns/rdtypes/IN/NSAP.py +${PYSITELIB}/samba/external/dns/rdtypes/IN/NSAP_PTR.py +${PYSITELIB}/samba/external/dns/rdtypes/IN/PX.py +${PYSITELIB}/samba/external/dns/rdtypes/IN/SRV.py +${PYSITELIB}/samba/external/dns/rdtypes/IN/WKS.py +${PYSITELIB}/samba/external/dns/rdtypes/IN/__init__.py +${PYSITELIB}/samba/external/dns/rdtypes/__init__.py +${PYSITELIB}/samba/external/dns/rdtypes/dsbase.py +${PYSITELIB}/samba/external/dns/rdtypes/mxbase.py +${PYSITELIB}/samba/external/dns/rdtypes/nsbase.py +${PYSITELIB}/samba/external/dns/rdtypes/txtbase.py +${PYSITELIB}/samba/external/dns/renderer.py +${PYSITELIB}/samba/external/dns/resolver.py +${PYSITELIB}/samba/external/dns/reversename.py +${PYSITELIB}/samba/external/dns/rrset.py +${PYSITELIB}/samba/external/dns/set.py +${PYSITELIB}/samba/external/dns/tokenizer.py +${PYSITELIB}/samba/external/dns/tsig.py +${PYSITELIB}/samba/external/dns/tsigkeyring.py +${PYSITELIB}/samba/external/dns/ttl.py +${PYSITELIB}/samba/external/dns/update.py +${PYSITELIB}/samba/external/dns/version.py +${PYSITELIB}/samba/external/dns/wiredata.py +${PYSITELIB}/samba/external/dns/zone.py +${PYSITELIB}/samba/external/extras/__init__.py +${PYSITELIB}/samba/external/extras/tests/__init__.py +${PYSITELIB}/samba/external/extras/tests/test_extras.py +${PYSITELIB}/samba/external/subunit/__init__.py +${PYSITELIB}/samba/external/subunit/chunked.py +${PYSITELIB}/samba/external/subunit/details.py +${PYSITELIB}/samba/external/subunit/filters.py +${PYSITELIB}/samba/external/subunit/iso8601.py +${PYSITELIB}/samba/external/subunit/progress_model.py +${PYSITELIB}/samba/external/subunit/run.py +${PYSITELIB}/samba/external/subunit/test_results.py +${PYSITELIB}/samba/external/subunit/tests/TestUtil.py +${PYSITELIB}/samba/external/subunit/tests/__init__.py +${PYSITELIB}/samba/external/subunit/tests/sample-script.py +${PYSITELIB}/samba/external/subunit/tests/sample-two-script.py +${PYSITELIB}/samba/external/subunit/tests/test_chunked.py +${PYSITELIB}/samba/external/subunit/tests/test_details.py +${PYSITELIB}/samba/external/subunit/tests/test_progress_model.py +${PYSITELIB}/samba/external/subunit/tests/test_run.py +${PYSITELIB}/samba/external/subunit/tests/test_subunit_filter.py +${PYSITELIB}/samba/external/subunit/tests/test_subunit_stats.py +${PYSITELIB}/samba/external/subunit/tests/test_subunit_tags.py +${PYSITELIB}/samba/external/subunit/tests/test_tap2subunit.py +${PYSITELIB}/samba/external/subunit/tests/test_test_protocol.py +${PYSITELIB}/samba/external/subunit/tests/test_test_results.py +${PYSITELIB}/samba/external/testtools/__init__.py +${PYSITELIB}/samba/external/testtools/_compat2x.py +${PYSITELIB}/samba/external/testtools/_compat3x.py +${PYSITELIB}/samba/external/testtools/_spinner.py +${PYSITELIB}/samba/external/testtools/compat.py +${PYSITELIB}/samba/external/testtools/content.py +${PYSITELIB}/samba/external/testtools/content_type.py +${PYSITELIB}/samba/external/testtools/deferredruntest.py +${PYSITELIB}/samba/external/testtools/distutilscmd.py +${PYSITELIB}/samba/external/testtools/helpers.py +${PYSITELIB}/samba/external/testtools/matchers/__init__.py +${PYSITELIB}/samba/external/testtools/matchers/_basic.py +${PYSITELIB}/samba/external/testtools/matchers/_datastructures.py +${PYSITELIB}/samba/external/testtools/matchers/_dict.py +${PYSITELIB}/samba/external/testtools/matchers/_doctest.py +${PYSITELIB}/samba/external/testtools/matchers/_exception.py +${PYSITELIB}/samba/external/testtools/matchers/_filesystem.py +${PYSITELIB}/samba/external/testtools/matchers/_higherorder.py +${PYSITELIB}/samba/external/testtools/matchers/_impl.py +${PYSITELIB}/samba/external/testtools/monkey.py +${PYSITELIB}/samba/external/testtools/run.py +${PYSITELIB}/samba/external/testtools/runtest.py +${PYSITELIB}/samba/external/testtools/tags.py +${PYSITELIB}/samba/external/testtools/testcase.py +${PYSITELIB}/samba/external/testtools/testresult/__init__.py +${PYSITELIB}/samba/external/testtools/testresult/doubles.py +${PYSITELIB}/samba/external/testtools/testresult/real.py +${PYSITELIB}/samba/external/testtools/tests/__init__.py +${PYSITELIB}/samba/external/testtools/tests/helpers.py +${PYSITELIB}/samba/external/testtools/tests/matchers/__init__.py +${PYSITELIB}/samba/external/testtools/tests/matchers/helpers.py +${PYSITELIB}/samba/external/testtools/tests/matchers/test_basic.py +${PYSITELIB}/samba/external/testtools/tests/matchers/test_datastructures.py +${PYSITELIB}/samba/external/testtools/tests/matchers/test_dict.py +${PYSITELIB}/samba/external/testtools/tests/matchers/test_doctest.py +${PYSITELIB}/samba/external/testtools/tests/matchers/test_exception.py +${PYSITELIB}/samba/external/testtools/tests/matchers/test_filesystem.py +${PYSITELIB}/samba/external/testtools/tests/matchers/test_higherorder.py +${PYSITELIB}/samba/external/testtools/tests/matchers/test_impl.py +${PYSITELIB}/samba/external/testtools/tests/test_compat.py +${PYSITELIB}/samba/external/testtools/tests/test_content.py +${PYSITELIB}/samba/external/testtools/tests/test_content_type.py +${PYSITELIB}/samba/external/testtools/tests/test_deferredruntest.py +${PYSITELIB}/samba/external/testtools/tests/test_distutilscmd.py +${PYSITELIB}/samba/external/testtools/tests/test_fixturesupport.py +${PYSITELIB}/samba/external/testtools/tests/test_helpers.py +${PYSITELIB}/samba/external/testtools/tests/test_monkey.py +${PYSITELIB}/samba/external/testtools/tests/test_run.py +${PYSITELIB}/samba/external/testtools/tests/test_runtest.py +${PYSITELIB}/samba/external/testtools/tests/test_spinner.py +${PYSITELIB}/samba/external/testtools/tests/test_tags.py +${PYSITELIB}/samba/external/testtools/tests/test_testcase.py +${PYSITELIB}/samba/external/testtools/tests/test_testresult.py +${PYSITELIB}/samba/external/testtools/tests/test_testsuite.py +${PYSITELIB}/samba/external/testtools/tests/test_with_with.py +${PYSITELIB}/samba/external/testtools/testsuite.py +${PYSITELIB}/samba/external/testtools/utils.py +${PYSITELIB}/samba/gensec.so +${PYSITELIB}/samba/getopt.py +${PYSITELIB}/samba/hostconfig.py +${PYSITELIB}/samba/idmap.py +${PYSITELIB}/samba/join.py +${PYSITELIB}/samba/kcc_utils.py +${PYSITELIB}/samba/messaging.so +${PYSITELIB}/samba/ms_display_specifiers.py +${PYSITELIB}/samba/ms_schema.py +${PYSITELIB}/samba/ndr.py +${PYSITELIB}/samba/net.so +${PYSITELIB}/samba/netbios.so +${PYSITELIB}/samba/netcmd/__init__.py +${PYSITELIB}/samba/netcmd/common.py +${PYSITELIB}/samba/netcmd/dbcheck.py +${PYSITELIB}/samba/netcmd/delegation.py +${PYSITELIB}/samba/netcmd/dns.py +${PYSITELIB}/samba/netcmd/domain.py +${PYSITELIB}/samba/netcmd/drs.py +${PYSITELIB}/samba/netcmd/dsacl.py +${PYSITELIB}/samba/netcmd/fsmo.py +${PYSITELIB}/samba/netcmd/gpo.py +${PYSITELIB}/samba/netcmd/group.py +${PYSITELIB}/samba/netcmd/ldapcmp.py +${PYSITELIB}/samba/netcmd/main.py +${PYSITELIB}/samba/netcmd/ntacl.py +${PYSITELIB}/samba/netcmd/processes.py +${PYSITELIB}/samba/netcmd/rodc.py +${PYSITELIB}/samba/netcmd/sites.py +${PYSITELIB}/samba/netcmd/spn.py +${PYSITELIB}/samba/netcmd/testparm.py +${PYSITELIB}/samba/netcmd/time.py +${PYSITELIB}/samba/netcmd/user.py +${PYSITELIB}/samba/netcmd/vampire.py +${PYSITELIB}/samba/ntacls.py +${PYSITELIB}/samba/param.so +${PYSITELIB}/samba/policy.so +${PYSITELIB}/samba/provision/__init__.py +${PYSITELIB}/samba/provision/backend.py +${PYSITELIB}/samba/provision/common.py +${PYSITELIB}/samba/provision/sambadns.py +${PYSITELIB}/samba/registry.so +${PYSITELIB}/samba/samba3/__init__.py +${PYSITELIB}/samba/samba3/libsmb_samba_internal.so +${PYSITELIB}/samba/samba3/param.so +${PYSITELIB}/samba/samba3/passdb.so +${PYSITELIB}/samba/samba3/smbd.so +${PYSITELIB}/samba/samdb.py +${PYSITELIB}/samba/schema.py +${PYSITELIB}/samba/sd_utils.py +${PYSITELIB}/samba/security.so +${PYSITELIB}/samba/sites.py +${PYSITELIB}/samba/smb.so +${PYSITELIB}/samba/tdb_util.py +${PYSITELIB}/samba/tests/__init__.py +${PYSITELIB}/samba/tests/auth.py +${PYSITELIB}/samba/tests/blackbox/__init__.py +${PYSITELIB}/samba/tests/blackbox/ndrdump.py +${PYSITELIB}/samba/tests/blackbox/samba_tool_drs.py +${PYSITELIB}/samba/tests/common.py +${PYSITELIB}/samba/tests/core.py +${PYSITELIB}/samba/tests/credentials.py +${PYSITELIB}/samba/tests/dcerpc/__init__.py +${PYSITELIB}/samba/tests/dcerpc/bare.py +${PYSITELIB}/samba/tests/dcerpc/dnsserver.py +${PYSITELIB}/samba/tests/dcerpc/misc.py +${PYSITELIB}/samba/tests/dcerpc/registry.py +${PYSITELIB}/samba/tests/dcerpc/rpc_talloc.py +${PYSITELIB}/samba/tests/dcerpc/rpcecho.py +${PYSITELIB}/samba/tests/dcerpc/sam.py +${PYSITELIB}/samba/tests/dcerpc/srvsvc.py +${PYSITELIB}/samba/tests/dcerpc/testrpc.py +${PYSITELIB}/samba/tests/dcerpc/unix.py +${PYSITELIB}/samba/tests/dns.py +${PYSITELIB}/samba/tests/docs.py +${PYSITELIB}/samba/tests/dsdb.py +${PYSITELIB}/samba/tests/gensec.py +${PYSITELIB}/samba/tests/getopt.py +${PYSITELIB}/samba/tests/hostconfig.py +${PYSITELIB}/samba/tests/libsmb_samba_internal.py +${PYSITELIB}/samba/tests/messaging.py +${PYSITELIB}/samba/tests/netcmd.py +${PYSITELIB}/samba/tests/ntacls.py +${PYSITELIB}/samba/tests/param.py +${PYSITELIB}/samba/tests/policy.py +${PYSITELIB}/samba/tests/posixacl.py +${PYSITELIB}/samba/tests/provision.py +${PYSITELIB}/samba/tests/registry.py +${PYSITELIB}/samba/tests/samba3.py +${PYSITELIB}/samba/tests/samba3sam.py +${PYSITELIB}/samba/tests/samba_tool/__init__.py +${PYSITELIB}/samba/tests/samba_tool/base.py +${PYSITELIB}/samba/tests/samba_tool/gpo.py +${PYSITELIB}/samba/tests/samba_tool/group.py +${PYSITELIB}/samba/tests/samba_tool/ntacl.py +${PYSITELIB}/samba/tests/samba_tool/processes.py +${PYSITELIB}/samba/tests/samba_tool/timecmd.py +${PYSITELIB}/samba/tests/samba_tool/user.py +${PYSITELIB}/samba/tests/samdb.py +${PYSITELIB}/samba/tests/security.py +${PYSITELIB}/samba/tests/source.py +${PYSITELIB}/samba/tests/strings.py +${PYSITELIB}/samba/tests/subunitrun.py +${PYSITELIB}/samba/tests/unicodenames.py +${PYSITELIB}/samba/tests/upgrade.py +${PYSITELIB}/samba/tests/upgradeprovision.py +${PYSITELIB}/samba/tests/upgradeprovisionneeddc.py +${PYSITELIB}/samba/tests/xattr.py +${PYSITELIB}/samba/upgrade.py +${PYSITELIB}/samba/upgradehelpers.py +${PYSITELIB}/samba/web_server/__init__.py +${PYSITELIB}/samba/xattr.py +${PYSITELIB}/talloc.so +${PYSITELIB}/tdb.so +${PYSITELIB}/tevent.py +lib/samba/auth/script.so +lib/samba/idmap/ad.so +lib/samba/idmap/autorid.so +lib/samba/idmap/hash.so +lib/samba/idmap/rfc2307.so +lib/samba/idmap/rid.so +lib/samba/idmap/tdb2.so +lib/samba/ldb/asq.so +lib/samba/ldb/ildap.so +lib/samba/ldb/ldbsamba_extensions.so +lib/samba/ldb/paged_results.so +lib/samba/ldb/paged_searches.so +lib/samba/ldb/rdn_name.so +lib/samba/ldb/sample.so +lib/samba/ldb/server_sort.so +lib/samba/ldb/skel.so +lib/samba/ldb/tdb.so +lib/samba/nss_info/hash.so +lib/samba/nss_info/rfc2307.so +lib/samba/nss_info/sfu.so +lib/samba/nss_info/sfu20.so +lib/samba/private/libCHARSET3-samba4.so +lib/samba/private/libLIBWBCLIENT-OLD-samba4.so +lib/samba/private/libMESSAGING-samba4.so +lib/samba/private/libaddns-samba4.so +lib/samba/private/libads-samba4.so +lib/samba/private/libasn1util-samba4.so +lib/samba/private/libauth-sam-reply-samba4.so +lib/samba/private/libauth-samba4.so +lib/samba/private/libauth-unix-token-samba4.so +lib/samba/private/libauth4-samba4.so +lib/samba/private/libauthkrb5-samba4.so +lib/samba/private/libccan-samba4.so +lib/samba/private/libcli-cldap-samba4.so +lib/samba/private/libcli-ldap-common-samba4.so +lib/samba/private/libcli-ldap-samba4.so +lib/samba/private/libcli-nbt-samba4.so +lib/samba/private/libcli-smb-common-samba4.so +lib/samba/private/libcli-spoolss-samba4.so +lib/samba/private/libcliauth-samba4.so +lib/samba/private/libcluster-samba4.so +lib/samba/private/libcmdline-credentials-samba4.so +lib/samba/private/libdbwrap-samba4.so +lib/samba/private/libdcerpc-samba-samba4.so +lib/samba/private/libdcerpc-samba4.so +lib/samba/private/libdfs-server-ad-samba4.so +lib/samba/private/libdnsserver-common-samba4.so +lib/samba/private/libdsdb-module-samba4.so +lib/samba/private/liberrors-samba4.so +lib/samba/private/libevents-samba4.so +lib/samba/private/libflag-mapping-samba4.so +lib/samba/private/libgpo-samba4.so +lib/samba/private/libgse-samba4.so +lib/samba/private/libhttp-samba4.so +lib/samba/private/libidmap-samba4.so +lib/samba/private/libinterfaces-samba4.so +lib/samba/private/libkrb5samba-samba4.so +lib/samba/private/libldb-cmdline-samba4.so +lib/samba/private/libldb.so.1 +lib/samba/private/libldb.so.1.1.20 +lib/samba/private/libldbsamba-samba4.so +lib/samba/private/liblibcli-lsa3-samba4.so +lib/samba/private/liblibcli-netlogon3-samba4.so +lib/samba/private/liblibsmb-samba4.so +lib/samba/private/libmsrpc3-samba4.so +lib/samba/private/libndr-samba-samba4.so +lib/samba/private/libndr-samba4.so +lib/samba/private/libnet-keytab-samba4.so +lib/samba/private/libnetif-samba4.so +lib/samba/private/libnon-posix-acls-samba4.so +lib/samba/private/libnpa-tstream-samba4.so +lib/samba/private/libnss-info-samba4.so +lib/samba/private/libntdb.so.1 +lib/samba/private/libntdb.so.1.0 +lib/samba/private/libpopt-samba3-samba4.so +lib/samba/private/libprinting-migrate-samba4.so +lib/samba/private/libpyldb-util.so.1 +lib/samba/private/libpyldb-util.so.1.1.20 +lib/samba/private/libpytalloc-util.so.2 +lib/samba/private/libpytalloc-util.so.2.1.2 +lib/samba/private/libreplace-samba4.so +lib/samba/private/libsamba-cluster-support-samba4.so +lib/samba/private/libsamba-debug-samba4.so +lib/samba/private/libsamba-modules-samba4.so +lib/samba/private/libsamba-net-samba4.so +lib/samba/private/libsamba-python-samba4.so +lib/samba/private/libsamba-security-samba4.so +lib/samba/private/libsamba-sockets-samba4.so +lib/samba/private/libsamba3-util-samba4.so +lib/samba/private/libsamdb-common-samba4.so +lib/samba/private/libsecrets3-samba4.so +lib/samba/private/libserver-role-samba4.so +lib/samba/private/libshares-samba4.so +lib/samba/private/libsmb-transport-samba4.so +lib/samba/private/libsmbd-base-samba4.so +lib/samba/private/libsmbd-conn-samba4.so +lib/samba/private/libsmbd-shim-samba4.so +lib/samba/private/libsmbldaphelper-samba4.so +lib/samba/private/libsmbpasswdparser-samba4.so +lib/samba/private/libsmbregistry-samba4.so +lib/samba/private/libsocket-blocking-samba4.so +lib/samba/private/libsubunit-samba4.so +lib/samba/private/libtalloc.so.2 +lib/samba/private/libtalloc.so.2.1.2 +lib/samba/private/libtdb-compat-samba4.so +lib/samba/private/libtdb-wrap-samba4.so +lib/samba/private/libtdb.so.1 +lib/samba/private/libtdb.so.1.3.4 +lib/samba/private/libtevent.so.0 +lib/samba/private/libtevent.so.0.9.24 +lib/samba/private/libtrusts-util-samba4.so +lib/samba/private/libutil-cmdline-samba4.so +lib/samba/private/libutil-ntdb-samba4.so +lib/samba/private/libutil-reg-samba4.so +lib/samba/private/libutil-setid-samba4.so +lib/samba/private/libutil-tdb-samba4.so +lib/samba/private/libwinbind-client-samba4.so +lib/samba/private/libxattr-tdb-samba4.so +${PLIST.pam}lib/samba/security/pam_smbpass.so +${PLIST.pam}lib/samba/security/pam_winbind.so +lib/samba/vfs/acl_tdb.so +lib/samba/vfs/acl_xattr.so +lib/samba/vfs/aio_fork.so +lib/samba/vfs/aio_posix.so +lib/samba/vfs/aio_pthread.so +lib/samba/vfs/audit.so +lib/samba/vfs/cap.so +lib/samba/vfs/catia.so +lib/samba/vfs/commit.so +lib/samba/vfs/crossrename.so +lib/samba/vfs/default_quota.so +lib/samba/vfs/expand_msdfs.so +lib/samba/vfs/extd_audit.so +lib/samba/vfs/fake_perms.so +lib/samba/vfs/fruit.so +lib/samba/vfs/full_audit.so +lib/samba/vfs/linux_xfs_sgid.so +lib/samba/vfs/media_harmony.so +lib/samba/vfs/netatalk.so +${PLIST.fam}lib/samba/vfs/notify_fam.so +lib/samba/vfs/preopen.so +lib/samba/vfs/readahead.so +lib/samba/vfs/readonly.so +lib/samba/vfs/recycle.so +lib/samba/vfs/scannedonly.so +lib/samba/vfs/shadow_copy.so +lib/samba/vfs/shadow_copy2.so +lib/samba/vfs/smb_traffic_analyzer.so +lib/samba/vfs/streams_depot.so +lib/samba/vfs/streams_xattr.so +lib/samba/vfs/time_audit.so +lib/samba/vfs/worm.so +lib/samba/vfs/xattr_tdb.so +lib/winbind_krb5_locator.so +man/man1/pidl.1 +man/man3/Parse::Pidl::Dump.3 +man/man3/Parse::Pidl::NDR.3 +man/man3/Parse::Pidl::Util.3 +man/man3/Parse::Pidl::Wireshark::Conformance.3 +man/man3/Parse::Pidl::Wireshark::NDR.3 +sbin/nmbd +sbin/smbd +${PLIST.winbind}sbin/winbindd +share/doc/samba/NT4-Locking.reg +share/doc/samba/NT4_PlainPassword.reg +share/doc/samba/Win-2Kx-XPP-DeleteCachedProfiles.reg +share/doc/samba/Win-2Kx-XPP-ForceLocalProfile.reg +share/doc/samba/Win-NT-DeleteRoamingProfile.reg +share/doc/samba/Win2000_PlainPassword.reg +share/doc/samba/Win7_Samba3DomainMember.reg +share/doc/samba/Win95_PlainPassword.reg +share/doc/samba/Win98_PlainPassword.reg +share/doc/samba/Win9X-CacheHandling.reg +share/doc/samba/WinME_PlainPassword.reg +share/doc/samba/WinXP_PlainPassword.reg +share/doc/samba/WindowsTerminalServer.reg +share/examples/samba/adduser.sh +share/examples/samba/deluser.sh +${PLIST.pam}share/examples/samba/pam_smbpass/kdc-pdc +${PLIST.pam}share/examples/samba/pam_smbpass/password-mature +${PLIST.pam}share/examples/samba/pam_smbpass/password-migration +${PLIST.pam}share/examples/samba/pam_smbpass/password-sync +share/examples/samba/samba.schema +share/examples/samba/smb.conf.default +share/samba/codepages/lowcase.dat +share/samba/codepages/upcase.dat +share/samba/codepages/valid.dat +@pkgdir etc/samba diff --git a/net/samba4/distinfo b/net/samba4/distinfo new file mode 100644 index 00000000000..4a352be370f --- /dev/null +++ b/net/samba4/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2015/05/12 12:19:52 ryoon Exp $ + +SHA1 (samba-4.2.1.tar.gz) = f5d0471efc459898344866b5bc518c80ce67e8d5 +RMD160 (samba-4.2.1.tar.gz) = 539f915c0c80cf67b8a73b6d7924804609801fb8 +Size (samba-4.2.1.tar.gz) = 20701467 bytes +SHA1 (patch-source4_scripting_wsript_build) = 91c99acc8cbadbd8d19400d466491c1da3e42527 +SHA1 (patch-testprogs_blackbox_dbcheck-oldrelease.sh) = c651014e5e703041a5bcf83f71a1d36c3f5f3309 diff --git a/net/samba4/files/adduser.sh b/net/samba4/files/adduser.sh new file mode 100644 index 00000000000..aeabd42a5ae --- /dev/null +++ b/net/samba4/files/adduser.sh @@ -0,0 +1,161 @@ +#!@SH@ +# +# $NetBSD: adduser.sh,v 1.1 2015/05/12 12:19:52 ryoon Exp $ +# +# This is an adduser script for NetBSD systems whose useradd(8) doesn't +# accept "$" in the username. This script may be used for the +# "add machine script" in smb.conf. + +awkprog="@AWK@" +catprog="@CAT@" +mktempprog="@MKTEMP@" +pwdmkdbprog="@PWD_MKDB@" +rmprog="@RM@" + +progname=adduser + +usage() { + echo "Usage: $progname [-c comment] [-d homedir] [-n] [-r low..high]" + echo " [-s shell] -g gid name" + exit 1 +} + +isnum() { + case "$1" in + 0[0-9]*|*[!0-9]*) + return 1 + ;; + esac + return 0 +} + +doit="" +gid="" +minuid=1000 +maxuid=60000 +comment="" +homedir="" +shell=/sbin/nologin + +while getopts c:d:g:nr:s: flag; do + case $flag in + c) comment="${OPTARG}" ;; + d) homedir="${OPTARG}" ;; + g) gid="${OPTARG}" ;; + n) doit=":" ;; + r) minuid=${OPTARG%%..*}; maxuid=${OPTARG##*..} ;; + s) shell="${OPTARG}" ;; + esac +done +shift `expr $OPTIND - 1` + +if [ $# -lt 1 ]; then + usage +fi + +name="$1" +if [ -z "$gid" ]; then + echo "$progname: \`-g gid' is a required option" 1>&2 + exit 1 +fi +if ! isnum "$gid"; then + echo "$progname: \`$gid' is not a valid gid" 1>&2 + exit 1 +fi +if ! isnum "$minuid"; then + echo "$progname: \`$minuid' is not a valid minimum uid" 1>&2 + exit 1 +fi +if ! isnum "$maxuid"; then + echo "$progname: \`$maxuid' is not a valid maximum uid" 1>&2 + exit 1 +fi +if [ $minuid -gt $maxuid ]; then + echo "$progname: \`$minuid..$maxuid' is not a valid range" 1>&2 + exit 1 +fi +case "$comment" in +*:*) + echo "$progname: \`$comment' is not a valid comment" 1>&2 + exit 1 + ;; +esac +case "$homedir" in +*:*) + echo "$progname: \`$homedir' is not a valid home directory" 1>&2 + exit 1 + ;; +%*) + # This is an unsubstituted variable (probably %H in smbd). + # Silently change this to a proper default. + # + homedir="/nonexistent" + ;; +esac +case "$shell" in +*:*) + echo "$progname: \`$shell' is not a valid shell" 1>&2 + exit 1 + ;; +esac +case "$name" in +*:*) + echo "$progname: \`$name' is not a valid username" 1>&2 + exit 1 + ;; +esac + +ptmp=`$mktempprog -q /etc/ptmp` +case "$ptmp" in +/etc/ptmp) + ;; +*) + echo "$progname: can't create /etc/ptmp" 1>&2 + exit 1 + ;; +esac + +if [ ! -f /etc/master.passwd ]; then + echo "$progname: /etc/master.passwd not found" 1>&2 + $rmprog -f $ptmp + exit 1 +fi + +$catprog /etc/master.passwd >> $ptmp + +uid=` \ + $awkprog -v minuid=$minuid -v maxuid=maxuid ' \ + BEGIN { FS = ":" } \ + { seen_uids[$3] = 1 } \ + END { \ + uid = minuid; \ + while (uid <= maxuid) { \ + if (uid in seen_uids) { \ + uid++; \ + continue; \ + } \ + print uid; \ + exit; \ + } \ + print -1; \ + }' $ptmp \ +` +if [ $uid -lt 0 ]; then + echo "$progname: no uid can be allocated in $minuid..$maxuid" 1>&2 + $rmprog -f $ptmp + exit 1 +fi + +case "${name}" in +*$) : ${comment:=${name%%[$]*} samba machine account} ;; +*) : ${comment:=${name} samba user} ;; +esac +entry="${name}:*:${uid}:${gid}::0:0:${comment}:${homedir}:${shell}" + +echo "$entry" >> $ptmp + +$doit $pwdmkdbprog -p -u "${name}" $ptmp +rc=$? + +$rmprog -f $ptmp +exit $rc diff --git a/net/samba4/files/deluser.sh b/net/samba4/files/deluser.sh new file mode 100644 index 00000000000..3901efa74f0 --- /dev/null +++ b/net/samba4/files/deluser.sh @@ -0,0 +1,68 @@ +#!@SH@ +# +# $NetBSD: deluser.sh,v 1.1 2015/05/12 12:19:52 ryoon Exp $ +# +# This is a deluser script for NetBSD systems whose userdel(8) doesn't +# accept "$" in the username. + +awkprog="@AWK@" +mktempprog="@MKTEMP@" +pwdmkdbprog="@PWD_MKDB@" +rmprog="@RM@" + +progname=deluser + +usage() { + echo "Usage: $progname [-n] name" + exit 1 +} + +doit="" + +while getopts n flag; do + case $flag in + n) doit=":" ;; + esac +done +shift `expr $OPTIND - 1` + +if [ $# -lt 1 ]; then + usage +fi + +name="$1" + +case "$name" in +*:*) + echo "$progname: \`$name' is not a valid user name" 1>&2 + exit 1 +esac + +ptmp=`$mktempprog -q /etc/ptmp` +case "$ptmp" in +/etc/ptmp) + ;; +*) + echo "$progname: can't create /etc/ptmp" 1>&2 + exit 1 + ;; +esac + +if [ ! -f /etc/master.passwd ]; then + echo "$progname: /etc/master.passwd not found" 1>&2 + $rmprog -f $ptmp + exit 1 +fi + +$awkprog -v name="${name}" ' \ + BEGIN { FS = ":" } \ + { \ + if ($1 != name) \ + print $0; \ + }' /etc/master.passwd > $ptmp + +$doit $pwdmkdbprog -p $ptmp +rc=$? + +$rmprog -f $ptmp +exit $rc diff --git a/net/samba4/files/nmbd.sh b/net/samba4/files/nmbd.sh new file mode 100755 index 00000000000..75b30b365a3 --- /dev/null +++ b/net/samba4/files/nmbd.sh @@ -0,0 +1,22 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: nmbd.sh,v 1.1 2015/05/12 12:19:52 ryoon Exp $ +# +# PROVIDE: nmbd +# REQUIRE: DAEMON + +. /etc/rc.subr + +name="nmbd" +rcvar=$name +command="@PREFIX@/sbin/${name}" +pidfile="@SMB_PID@/${name}.pid" +required_files="@SMB_CONFIG@/smb.conf" +extra_commands="reload" +command_args="-D" # _must_ start as daemon from rc.d; + # add more flags through ${${name}_flags} + +reload_cmd=":" # avoid dumping debug output on SIGHUP + +load_rc_config $name +run_rc_command "$1" diff --git a/net/samba4/files/samba.sh b/net/samba4/files/samba.sh new file mode 100644 index 00000000000..0a3a7d998b5 --- /dev/null +++ b/net/samba4/files/samba.sh @@ -0,0 +1,18 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: samba.sh,v 1.1 2015/05/12 12:19:52 ryoon Exp $ +# +# PROVIDE: samba +# REQUIRE: DAEMON + +. /etc/rc.subr + +name="samba" +rcvar=$name +command="@PREFIX@/sbin/${name}" +pidfile="@SMB_PID@/${name}.pid" +required_files="@SMB_CONFIG@/smb.conf" +extra_commands="reload" + +load_rc_config $name +run_rc_command "$1" diff --git a/net/samba4/files/smbd.sh b/net/samba4/files/smbd.sh new file mode 100755 index 00000000000..37bb8084b73 --- /dev/null +++ b/net/samba4/files/smbd.sh @@ -0,0 +1,33 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: smbd.sh,v 1.1 2015/05/12 12:19:52 ryoon Exp $ +# +# PROVIDE: smbd + +. /etc/rc.subr + +name="smbd" +rcvar=$name +command="@PREFIX@/sbin/${name}" +pidfile="@SMB_PID@/${name}.pid" +required_files="@SMB_CONFIG@/smb.conf" +extra_commands="reload" +command_args="-D" # _must_ start as daemon from rc.d; + # add more flags through ${${name}_flags} + +# load_rc_config_var() from /etc/rc.subr on the netbsd-3 branch, for +# the benefit of platforms with older versions of /etc/rc.subr. +# +load_rc_config_var() +{ + eval $(eval '( + load_rc_config '$1' >/dev/null; + if [ -n "${'$2'}" -o "${'$2'-UNSET}" != "UNSET" ]; then + echo '$2'=\'\''${'$2'}\'\''; + fi + )' ) +} + +load_rc_config $name +load_rc_config_var nmbd nmbd +run_rc_command "$1" diff --git a/net/samba4/files/smf/manifest.xml b/net/samba4/files/smf/manifest.xml new file mode 100644 index 00000000000..d4c20ef05e8 --- /dev/null +++ b/net/samba4/files/smf/manifest.xml @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> +<service_bundle type='manifest' name='@SMF_NAME@'> +<service name='@SMF_PREFIX@/@SMF_NAME@' type='service' version='1'> + <dependency name='fs-root' grouping='require_all' restart_on='none' type='service'> + <service_fmri value='svc:/system/filesystem/root' /> + </dependency> + <dependency name='network-service' grouping='require_all' restart_on='none' type='service'> + <service_fmri value='svc:/network/service'/> + </dependency> + + <instance name='smbd' enabled='false'> + <exec_method name='start' type='method' exec='@PREFIX@/sbin/smbd -D' timeout_seconds='0'/> + <exec_method name='stop' type='method' exec=':kill' timeout_seconds='30'/> + <exec_method name='refresh' type='method' exec=':kill -HUP' timeout_seconds='0'/> + <template> + <common_name> + <loctext xml:lang='C'>Samba SMB/CIFS services</loctext> + </common_name> + <documentation> + <manpage title='smbd' section='8' manpath='man'/> + </documentation> + </template> + </instance> + + <instance name='nmbd' enabled='false'> + <exec_method name='start' type='method' exec='@PREFIX@/sbin/nmbd -D' timeout_seconds='0'/> + <exec_method name='stop' type='method' exec=':kill' timeout_seconds='30'/> + <exec_method name='refresh' type='method' exec=':kill -HUP' timeout_seconds='0'/> + <template> + <common_name> + <loctext xml:lang='C'>Samba NetBIOS name server</loctext> + </common_name> + <documentation> + <manpage title='nmbd' section='8' manpath='man'/> + </documentation> + </template> + </instance> + + <stability value='Unstable'/> +</service> +</service_bundle> diff --git a/net/samba4/files/winbindd.sh b/net/samba4/files/winbindd.sh new file mode 100644 index 00000000000..a2eb808aa86 --- /dev/null +++ b/net/samba4/files/winbindd.sh @@ -0,0 +1,18 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: winbindd.sh,v 1.1 2015/05/12 12:19:52 ryoon Exp $ +# +# PROVIDE: winbindd +# REQUIRE: DAEMON + +. /etc/rc.subr + +name="winbindd" +rcvar=$name +command="@PREFIX@/sbin/${name}" +pidfile="@SMB_PID@/${name}.pid" +required_files="@SMB_CONFIG@/smb.conf" +extra_commands="reload" + +load_rc_config $name +run_rc_command "$1" diff --git a/net/samba4/hacks.mk b/net/samba4/hacks.mk new file mode 100644 index 00000000000..d9cbf3d7747 --- /dev/null +++ b/net/samba4/hacks.mk @@ -0,0 +1,3 @@ +# $NetBSD: hacks.mk,v 1.1 2015/05/12 12:19:52 ryoon Exp $ + +.include "../../net/samba/hacks.mk" diff --git a/net/samba4/options.mk b/net/samba4/options.mk new file mode 100644 index 00000000000..ceda523f8cd --- /dev/null +++ b/net/samba4/options.mk @@ -0,0 +1,84 @@ +# $NetBSD: options.mk,v 1.1 2015/05/12 12:19:52 ryoon Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.samba4 +PKG_SUPPORTED_OPTIONS= fam pam winbind # cups # cups option is broken for me. +PKG_SUGGESTED_OPTIONS= pam winbind + +.include "../../mk/bsd.fast.prefs.mk" + +SAMBA_ACL_OPSYS= AIX Darwin FreeBSD HPUX IRIX Linux OSF1 SunOS +.if !empty(SAMBA_ACL_OPSYS:M${OPSYS}) +PKG_SUPPORTED_OPTIONS+= acl +.endif + +.include "../../mk/bsd.options.mk" + +### +### Access Control List support. +### +.if !empty(PKG_OPTIONS:Macl) +CONFIGURE_ARGS+= --with-acl-support +.else +CONFIGURE_ARGS+= --without-acl-support +.endif + +### +### Native CUPS support for providing printing services. +### +PLIST_VARS+= cups +.if !empty(PKG_OPTIONS:Mcups) +. include "../../print/cups/buildlink3.mk" +CONFIGURE_ARGS+= --enable-cups +PLIST.cups= yes +INSTALLATION_DIRS+= libexec/cups/backend +.else +CONFIGURE_ARGS+= --disable-cups +.endif + +### +### File Alteration Monitor support. +### +PLIST_VARS+= fam +.if !empty(PKG_OPTIONS:Mfam) +. include "../../mk/fam.buildlink3.mk" +CONFIGURE_ARGS+= --with-fam +PLIST.fam= yes +.else +CONFIGURE_ARGS+= --without-fam +.endif + +### +### Support PAM authentication and build smbpass and winbind PAM modules. +### +PLIST_VARS+= pam +.if !empty(PKG_OPTIONS:Mpam) +. include "../../mk/pam.buildlink3.mk" + +CONFIGURE_ARGS+= --with-pam +CONFIGURE_ARGS+= --with-pam_smbpass +CONFIGURE_ARGS+= --with-pammodulesdir=${SMB_PAMMODULES} +PLIST.pam= yes +INSTALLATION_DIRS+= ${EGDIR}/pam_smbpass + +.PHONY: samba-pam-smbpass-install +post-install: samba-pam-smbpass-install +samba-pam-smbpass-install: + cd ${WRKSRC}/source3/pam_smbpass/samples; for f in [a-z]*; do \ + ${INSTALL_DATA} $${f} \ + ${DESTDIR}${PREFIX}/${EGDIR}/pam_smbpass/$${f}; \ + done +.else +CONFIGURE_ARGS+= --without-pam +.endif + +### +### Support querying a PDC for domain user and group information, e.g., +### through NSS or PAM. +### +PLIST_VARS+= winbind +.if !empty(PKG_OPTIONS:Mwinbind) +CONFIGURE_ARGS+= --with-winbind +PLIST.winbind= yes +.else +CONFIGURE_ARGS+= --without-winbind +.endif diff --git a/net/samba4/patches/patch-source4_scripting_wsript_build b/net/samba4/patches/patch-source4_scripting_wsript_build new file mode 100644 index 00000000000..230cd5b07c0 --- /dev/null +++ b/net/samba4/patches/patch-source4_scripting_wsript_build @@ -0,0 +1,17 @@ +$NetBSD: patch-source4_scripting_wsript_build,v 1.1 2015/05/12 12:19:52 ryoon Exp $ + +Avoid getting strange ending # character on interpreter +name like: +#!/usr/pkg/bin/python2.7# + +--- source4/scripting/wscript_build.orig 2013-04-09 17:14:59.000000000 +0900 ++++ source4/scripting/wscript_build 2013-06-07 20:41:22.000000000 +0900 +@@ -9,7 +9,7 @@ if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLE + if sbin_files: + bld.INSTALL_FILES('${SBINDIR}', + sbin_files, +- chmod=MODE_755, python_fixup=True, flat=True) ++ chmod=MODE_755, python_fixup=False, flat=True) + + if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'): + bld.INSTALL_FILES('${BINDIR}', diff --git a/net/samba4/patches/patch-testprogs_blackbox_dbcheck-oldrelease.sh b/net/samba4/patches/patch-testprogs_blackbox_dbcheck-oldrelease.sh new file mode 100644 index 00000000000..8cec8a6076b --- /dev/null +++ b/net/samba4/patches/patch-testprogs_blackbox_dbcheck-oldrelease.sh @@ -0,0 +1,29 @@ +$NetBSD: patch-testprogs_blackbox_dbcheck-oldrelease.sh,v 1.1 2015/05/12 12:19:52 ryoon Exp $ + +ERROR: [check-portability.awk] + +--- testprogs/blackbox/dbcheck-oldrelease.sh.orig 2013-09-27 19:35:31.000000000 +0900 ++++ testprogs/blackbox/dbcheck-oldrelease.sh 2013-11-02 11:59:48.000000000 +0900 +@@ -55,19 +55,19 @@ dbcheck_acl_reset_clean() { + } + + referenceprovision() { +- if [ x$RELEASE == x"release-4-0-0" ]; then ++ if [ x$RELEASE = x"release-4-0-0" ]; then + $PYTHON $BINDIR/samba-tool domain provision --server-role="dc" --domain=SAMBA --host-name=ares --realm=${RELEASE}.samba.corp --targetdir=$PREFIX_ABS/${RELEASE}_reference --use-ntvfs --host-ip=127.0.0.1 --host-ip6=::1 + fi + } + + ldapcmp() { +- if [ x$RELEASE == x"release-4-0-0" ]; then ++ if [ x$RELEASE = x"release-4-0-0" ]; then + $PYTHON $BINDIR/samba-tool ldapcmp tdb://$PREFIX_ABS/${RELEASE}_reference/private/sam.ldb tdb://$PREFIX_ABS/${RELEASE}/private/sam.ldb --two --skip-missing-dn --filter=dnsRecord + fi + } + + ldapcmp_sd() { +- if [ x$RELEASE == x"release-4-0-0" ]; then ++ if [ x$RELEASE = x"release-4-0-0" ]; then + $PYTHON $BINDIR/samba-tool ldapcmp tdb://$PREFIX_ABS/${RELEASE}_reference/private/sam.ldb tdb://$PREFIX_ABS/${RELEASE}/private/sam.ldb --two --sd --skip-missing-dn + fi + } |