+ PKG_PATH=/data/packages/SmartOS/2024Q4/x86_64/All
+ /opt/tools/sbin/pkg_add -K /opt/local/pkg libtool-base-2.4.7nb1 gmake-4.4.1 cwrappers-20220403 checkperms-1.12 gcc13-13.3.0 openldap-server-2.6.9 cyrus-sasl-2.1.28nb1 gcc13-libs-13.3.0 libltdl-2.4.7 openldap-client-2.6.9 openssl-3.3.2
pkg_add: package `cwrappers-20220403' already recorded as installed
cyrus-sasl-2.1.28nb1: Creating user ``cyrus''
passwd: password information changed for cyrus
openssl-3.3.2: copying /opt/local/share/examples/openssl/openssl.cnf to /opt/local/etc/openssl/openssl.cnf
openldap-client-2.6.9: copying /opt/local/share/examples/openldap/ldap.conf to /opt/local/etc/openldap/ldap.conf
openldap-server-2.6.9: Creating group ``ldap''
openldap-server-2.6.9: Creating user ``slapd''
passwd: password information changed for slapd
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/collective.ldif to /opt/local/etc/openldap/schema/collective.ldif
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/collective.schema to /opt/local/etc/openldap/schema/collective.schema
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/corba.ldif to /opt/local/etc/openldap/schema/corba.ldif
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/corba.schema to /opt/local/etc/openldap/schema/corba.schema
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/core.ldif to /opt/local/etc/openldap/schema/core.ldif
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/core.schema to /opt/local/etc/openldap/schema/core.schema
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/cosine.ldif to /opt/local/etc/openldap/schema/cosine.ldif
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/cosine.schema to /opt/local/etc/openldap/schema/cosine.schema
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/dsee.ldif to /opt/local/etc/openldap/schema/dsee.ldif
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/dsee.schema to /opt/local/etc/openldap/schema/dsee.schema
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/duaconf.ldif to /opt/local/etc/openldap/schema/duaconf.ldif
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/duaconf.schema to /opt/local/etc/openldap/schema/duaconf.schema
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/dyngroup.ldif to /opt/local/etc/openldap/schema/dyngroup.ldif
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/dyngroup.schema to /opt/local/etc/openldap/schema/dyngroup.schema
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/inetorgperson.ldif to /opt/local/etc/openldap/schema/inetorgperson.ldif
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/inetorgperson.schema to /opt/local/etc/openldap/schema/inetorgperson.schema
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/java.ldif to /opt/local/etc/openldap/schema/java.ldif
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/java.schema to /opt/local/etc/openldap/schema/java.schema
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/misc.ldif to /opt/local/etc/openldap/schema/misc.ldif
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/misc.schema to /opt/local/etc/openldap/schema/misc.schema
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/msuser.ldif to /opt/local/etc/openldap/schema/msuser.ldif
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/msuser.schema to /opt/local/etc/openldap/schema/msuser.schema
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/namedobject.ldif to /opt/local/etc/openldap/schema/namedobject.ldif
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/namedobject.schema to /opt/local/etc/openldap/schema/namedobject.schema
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/nis.ldif to /opt/local/etc/openldap/schema/nis.ldif
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/nis.schema to /opt/local/etc/openldap/schema/nis.schema
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/openldap.ldif to /opt/local/etc/openldap/schema/openldap.ldif
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/openldap.schema to /opt/local/etc/openldap/schema/openldap.schema
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/pmi.ldif to /opt/local/etc/openldap/schema/pmi.ldif
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/schema/pmi.schema to /opt/local/etc/openldap/schema/pmi.schema
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/slapd.conf to /opt/local/etc/openldap/slapd.conf
openldap-server-2.6.9: copying /opt/local/share/examples/openldap/slapd.ldif to /opt/local/etc/openldap/slapd.ldif
===========================================================================
This package has SMF support.  You may use svcadm(1M) to 'enable', 'disable'
or 'restart' services.  To enable the instance(s) for this package, run:

	/usr/sbin/svcadm enable -r svc:/pkgsrc/openldap-server:default

Use svcs(1) to check on service status.  See smf(5) for more information.

The PKG_SKIP_SMF variable was set or automatic import of SMF manifests
failed.  You must import the SMF manifest manually with:

	/usr/sbin/svccfg import /opt/local/lib/svc/manifest/openldap-server.xml

===========================================================================
pkg_add: package `cyrus-sasl-2.1.28nb1' was already installed as dependency, now marked as installed manually
pkg_add: package `gcc13-libs-13.3.0' 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
pkg_add: package `openldap-client-2.6.9' was already installed as dependency, now marked as installed manually
pkg_add: package `openssl-3.3.2' was already installed as dependency, now marked as installed manually
===========================================================================
$NetBSD: MESSAGE,v 1.5 2024/04/24 12:46:59 jperkin 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".

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:

  /usr/bin/chown -R slapd:ldap /var/openldap/openldap-data/*
  /usr/bin/chown :ldap /opt/local/etc/openldap/slapd.conf
  /usr/bin/chmod 640 /opt/local/etc/openldap/slapd.conf

You may have to repeat the first command after running administrative tools
such as slapadd and slapindex as root.
===========================================================================