+ PKG_PATH=/nfs/packages/Linux/el7/trunk/x86_64/All + /opt/tools/sbin/pkg_add -K /usr/pkg/.pkgdb digest-20220214 libtool-base-2.4.7nb1 mktools-20220614 nbpatch-20151107 cwrappers-20220403 checkperms-1.12 openldap-server-2.6.5 openssl-1.1.1u openldap-client-2.6.5 cyrus-sasl-2.1.28nb1 unixodbc-2.3.11 libltdl-2.4.7 pkg_add: package `mktools-20220614' already recorded as installed pkg_add: package `cwrappers-20220403' already recorded as installed cyrus-sasl-2.1.28nb1: Creating user ``cyrus'' openssl-1.1.1u: copying /usr/pkg/share/examples/openssl/openssl.cnf to /usr/pkg/etc/openssl/openssl.cnf openldap-client-2.6.5: copying /usr/pkg/share/examples/openldap/ldap.conf to /usr/pkg/etc/openldap/ldap.conf unixodbc-2.3.11: copying /usr/pkg/share/examples/unixodbc/odbc.ini to /usr/pkg/etc/odbc.ini openldap-server-2.6.5: Creating group ``ldap'' openldap-server-2.6.5: Creating user ``slapd'' openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/collective.ldif to /usr/pkg/etc/openldap/schema/collective.ldif openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/collective.schema to /usr/pkg/etc/openldap/schema/collective.schema openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/corba.ldif to /usr/pkg/etc/openldap/schema/corba.ldif openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/corba.schema to /usr/pkg/etc/openldap/schema/corba.schema openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/core.ldif to /usr/pkg/etc/openldap/schema/core.ldif openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/core.schema to /usr/pkg/etc/openldap/schema/core.schema openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/cosine.ldif to /usr/pkg/etc/openldap/schema/cosine.ldif openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/cosine.schema to /usr/pkg/etc/openldap/schema/cosine.schema openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/dsee.ldif to /usr/pkg/etc/openldap/schema/dsee.ldif openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/dsee.schema to /usr/pkg/etc/openldap/schema/dsee.schema openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/duaconf.ldif to /usr/pkg/etc/openldap/schema/duaconf.ldif openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/duaconf.schema to /usr/pkg/etc/openldap/schema/duaconf.schema openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/dyngroup.ldif to /usr/pkg/etc/openldap/schema/dyngroup.ldif openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/dyngroup.schema to /usr/pkg/etc/openldap/schema/dyngroup.schema openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/inetorgperson.ldif to /usr/pkg/etc/openldap/schema/inetorgperson.ldif openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/inetorgperson.schema to /usr/pkg/etc/openldap/schema/inetorgperson.schema openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/java.ldif to /usr/pkg/etc/openldap/schema/java.ldif openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/java.schema to /usr/pkg/etc/openldap/schema/java.schema openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/misc.ldif to /usr/pkg/etc/openldap/schema/misc.ldif openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/misc.schema to /usr/pkg/etc/openldap/schema/misc.schema openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/msuser.ldif to /usr/pkg/etc/openldap/schema/msuser.ldif openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/msuser.schema to /usr/pkg/etc/openldap/schema/msuser.schema openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/namedobject.ldif to /usr/pkg/etc/openldap/schema/namedobject.ldif openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/namedobject.schema to /usr/pkg/etc/openldap/schema/namedobject.schema openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/nis.ldif to /usr/pkg/etc/openldap/schema/nis.ldif openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/nis.schema to /usr/pkg/etc/openldap/schema/nis.schema openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/openldap.ldif to /usr/pkg/etc/openldap/schema/openldap.ldif openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/openldap.schema to /usr/pkg/etc/openldap/schema/openldap.schema openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/pmi.ldif to /usr/pkg/etc/openldap/schema/pmi.ldif openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/schema/pmi.schema to /usr/pkg/etc/openldap/schema/pmi.schema openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/slapd.conf to /usr/pkg/etc/openldap/slapd.conf openldap-server-2.6.5: copying /usr/pkg/share/examples/openldap/slapd.ldif to /usr/pkg/etc/openldap/slapd.ldif =========================================================================== The following files should be created for openldap-server-2.6.5: /etc/rc.d/slapd (m=0755) [/usr/pkg/share/examples/rc.d/slapd] =========================================================================== pkg_add: package `openssl-1.1.1u' was already installed as dependency, now marked as installed manually pkg_add: package `openldap-client-2.6.5' was already installed as dependency, now marked as installed manually pkg_add: package `cyrus-sasl-2.1.28nb1' was already installed as dependency, now marked as installed manually pkg_add: package `unixodbc-2.3.11' was already installed as dependency, now marked as installed manually pkg_add: package `libltdl-2.4.7' was already installed as dependency, now marked as installed manually =========================================================================== $NetBSD: MESSAGE,v 1.4 2017/07/26 09:21:10 hauke Exp $ cyrus-sasl-2.1.28nb1 by default does *not* install any authentication plugin modules. Until the necessary authentication plugin modules are installed, e.g. security/cy2-crammd5 or security/cy2-gssapi, you will probably get errors about "no appropriate mechs available". The configuration files for applications using the sasl2 libraries used to be in /usr/pkg/lib/sasl2/, but are now expected in /usr/pkg/etc/sasl2/. You need to move them after upgrading the pkg. cyrus-sasl-2.1.28nb1 will use the following directory as the default path to its plugin modules: /usr/pkg/lib/sasl2 The search path for plugin modules can be customized by setting the SASL_PATH variable to a colon-delimted list of directories in the shell environment. To allow plaintext authentication without using the auxprop mechanism, the package security/cyrus-saslauthd should be installed. =========================================================================== =========================================================================== $NetBSD: MESSAGE.common,v 1.1 2008/09/12 11:28:34 ghen Exp $ Note to users who have been running slapd as root before: As slapd now runs unprivileged by default (as slapd:ldap, you'll have to adapt some permissions: /bin/chown -R slapd:ldap /var/openldap/openldap-data/* /bin/chown :ldap /usr/pkg/etc/openldap/slapd.conf /bin/chmod 640 /usr/pkg/etc/openldap/slapd.conf You may have to repeat the first command after running administrative tools such as slapadd and slapindex as root. ===========================================================================