Dediginiz gibi o linki de okumustum evet, ama yetkilendirme vs olmadigi icin baslangicta faydalanabildim ancak. Belge cok guzel ama dedigim gibi, baslangictan sonra birakmistim. Simdi dediginiz gibi bosluklari falan kontrol ettim, ama yine olmadi. Isten zaman buldukca bakiyorum yine buna, birseyler ciktikca yazarim listeye elbette.
Ilginiz icin cok tesekkur ederim.
Iyi Calismalar...
Hakan OZAY
27.06.2006 tarihinde Mesut GÜLNAZ <
[EMAIL PROTECTED]> yazmış:
Aşağıdaki linki incelediğinizi düşünerek schemalarınızı fazlalaştırmanızı
tavsiye edeceğim.. Ayrıca lütfen ama lütfen dosyanızın içerisinde boşluk
bulunmamasına dikkat edin. Yani girdi satır başlarında vs. bunun yanında
LDAP da genellikle "dn.base" bilgilerinini girildiği kısımların
uyuşmamasından kaynaklanan hataları alabilirsiniz. Buna da dikkat ediniz...
http://www.enderunix.org/docs/ldap_kurulum.pdf
Umarım yardımcı olur..
-----Original Message-----
From: Hakan OZAY [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 27, 2006 2:28 PM
To: [email protected]
Subject: [FreeBSD] LDAP Adres Defteri
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
__________ NOD32 1.1602 (20060616) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
---------------------------------------------------------------------
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php

