Selamlar;

FreeBSD 6.1 uzerine OpenLdap 2.2.30 kurdum. Amacim LDAP Adres Defteri kullanmak. Ancak adres defterini bir turlu yazmaya acamadim. Soyle ki; Thunderbird ve Outlok uzerinden adres defterine ulasabiliyorum ancak yazamiyorum. Asagida slapd.conf dosyasini yazacagim. Bu ayarlar birebirdir(deneme yaptigim icin example olarak duruyor henuz). Acaba sorun ne olabilir? Acikcasi ben cok daraldim, 2 gundur gece-gunduz buna bakiyorum(bu haliyle calistirmam bile uzun zaman aldi), ama halen anlayamadim.
Ayriyetten phpldapadmin kurdum, onda da Manager olarak baglandigim zaman ekleme yapabilmeme ragmen(gayet dogal olarak), AbkMgr olarak baglandigimda su hatayi veriyor(baglantiyi cozemedim):

Error

Our attempts to find your SCHEMA for "attributetypes" has return UNEXPECTED results.

(We expected a "resource" in the $schema array but it wasnt there.)

Please contact the phpLDAPadmin developers and let them know:
  • Which LDAP server you are running, including which version
  • What OS it is running on
  • Which version of PHP
  • As well as a link to some documentation that describes how to obtain the SCHEMA information

We'll then add support for your LDAP server in an upcoming release.

Dump of $schema_search:
a:1:{s:5:"count";i:0;}


SLAPD.CONF DOSYASI

[EMAIL PROTECTED] ~]# cat /usr/local/etc/openldap/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/inetorgperson.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.la
# moduleload    back_ldap.la
# moduleload    back_ldbm.la
# moduleload    back_passwd.la
# moduleload    back_shell.la

# 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:

#
# 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!

access to dn.base="" by * read
access to dn.base="dc=example,dc=com" by * read
access to dn.base="ou=Users,dc=example,dc=com" by * read

# abkmgr can read/write the address book, visitor can read, others nothing
access to dn.subtree="ou=ABook,dc=example,dc=com"
        by dn.base="uid=AbkMgr,ou=Users,dc=example,dc=com" write
        by dn.base="uid=Visitor,ou=Users,dc=example,dc=com" read

# let everyone know the list of users (but not their passwords etc)
access to dn.children="ou=Users,dc=example,dc=com" attr=userPassword
        by self write
        by anonymous auth
        by * none

access to dn.children="ou=Users,dc=example,dc=com"
        by self write
        by * read


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

database        bdb
suffix          "dc=example,dc=com"
rootdn          "uid=Manager,ou=Users,dc=example,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) 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/openldap-data
# Indices to maintain
index   objectClass     eq


Tesekkurler
Kolay Gelsin...

Hakan OZAY


Cevap