发新话题
打印

[求助] 按freebsd solution安装postfix+openldap启动问题。

按freebsd solution安装postfix+openldap启动问题。

freebsd6.1 ports安装,openldap启动失败,请帮忙看看。

显示错误:

slapd[98306]: sql_select option missing
slapd[98306]: auxpropfunc error no mechanism available

slapd -d 256:

@(#) $OpenLDAP: slapd 2.3.38 (Oct 23 2007 22:28:25) $
        root@xena.abc.org:/usr/ports/net/openldap23-server/work/openldap-2.3.38/servers/slapd
Oct 24 08:49:47 xena slapd[98306]: sql_select option missing
Oct 24 08:49:47 xena slapd[98306]: auxpropfunc error no mechanism available
bdb_db_open: Warning - No DB_CONFIG file found in directory /var/db/openldap-data: (2)
Expect poor performance for suffix dc=abc.org.
slapd starting


以下是slapd.conf:


# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/nis.schema
include         /usr/local/etc/openldap/schema/extmail.schema


# Define global ACLs to disable default read access.

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral       ldap://root.openldap.org

pidfile         /var/run/openldap/slapd.pid
argsfile        /var/run/openldap/slapd.args

# Load dynamic backend modules:
modulepath      /usr/local/libexec/openldap
moduleload      back_bdb
moduleload      back_ldap
# moduleload    back_ldbm
# moduleload    back_passwd
# moduleload    back_shell

# Sample security restrictions
#       Require integrity protection (prevent hijacking)
#       Require 112-bit (3DES or better) encryption for updates
#       Require 63-bit encryption for simple bind
# security ssf=1 update_ssf=112 simple_bind=64

# Sample access control policy:
#       Root DSE: allow anyone to read it
#       Subschema (sub)entry DSE: allow anyone to read it
#       Other DSEs:
#               Allow self write access
#               Allow authenticated users read access
#               Allow anonymous users to authenticate
#       Directives needed to implement policy:
# access to dn.base="" by * read
# access to dn.base="cn=Subschema" by * read
# access to *
#       by self write
#       by users read
#       by anonymous auth
#
# if no access controls are present, the default policy
# allows anyone and everyone to read anything but restricts
# updates to rootdn.  (e.g., "access to * by * read"
#
# rootdn can always read and write EVERYTHING!

#######################################################################
# BDB database definitions
#######################################################################

database        bdb
suffix          "dc=abc.org"
rootdn          "cn=Manager,dc=abc.org"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd( and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw          secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory       /var/db/openldap-data
# Indices to maintain
index   objectClass     eq
index   mail,active,virtualDomain,mailLocalAddress         eq,pres

# Performance tuning directives
sizelimit       5000
threads         8
idletimeout     14400
cachesize       10000
checkpoint      256     15

TOP

常回家顶顶!!!你首页占个位置不容易啊

真是棒极了!!你首页占个位置不容易啊


传统的营销手段 服饰批发-效率低逐渐被淘汰 以速度慢,


想我们的go Good敬爱的非常厉害战士们敬礼!

发电机-专业生产销售柴油发电机组
物资回收公司-能让我们的家园变得更美丽的企业
上海空调移机-空调移机最新技术和全国各地的经销商
会展搭建-展会的展位设计搭建工程
空调拆装

TOP

发新话题