database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
ㆍLDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
LDAP Q&A 2291 게시물 읽기
No. 2291
설치 및 실행 오류 도와주세요
작성자
양현(ssasl)
작성일
2006-10-09 17:30ⓒ
2006-10-09 17:40ⓜ
조회수
9,411

운영체제 : Red Hat 4.0


Berkeley DB : db-4.1.24.tar.gz


openldap : openldap-2.3.27


    압축 풀고 ....

    # cd dist                      (컴파일은 이 디렉토리에서 한다)

    # ./configure --prefix=/usr/local/db2 (prefix는 DB가 설치될 디렉토리이다)

    # make                         (Berkeley DB library 생성)

    # make install                 (Berkeley DB library 설치)

 

 

- OpenLDAP 컴파일

    # cd /usr/local/src/openldap-2.3.27       (소스 디렉토리로 이동)

    # ./configure --prefix=/usr/local/ldap (/usr/local/ldap를 prefix로 주고 컴파

일)

    # make depend                          

    # make                                 

    # cd tests                             

    # make

    # cd ..

    # make install              



==>실행하면

[root@ldap openldap]# ./libexec/slapd -h ldap://localhost:389 -f etc/openldap/slapd.conf


또다른 실행 ==> [root@ldap openldap]# ./libexec/slapd -f etc/openldap/slapd.conf


==>로그 확인 하면

[root@ldap ~]# tail -f /var/log/messagesOct  9 17:28:32 ldap slapd[30317]: sql_select option missing

Oct  9 17:28:32 ldap slapd[30317]: auxpropfunc error no mechanism available


위와 같이 나와서 데몬이 올라 오지 않습니다.


slapd.conf 파일내용


#

# See slapd.conf(5) for details on configuration options.

# This file should NOT be world readable.

#

include  /usr/local/ldap/etc/openldap/schema/core.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  /usr/local/ldap/var/run/slapd.pid

argsfile /usr/local/ldap/var/run/slapd.args

# Load dynamic backend modules:

# modulepath /usr/local/ldap/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:

# 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=database,dc=dumam,dc=com"

rootdn  "cn=Manager,dc=dumam,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  didgus

# The database directory MUST exist prior to running slapd AND

# should only be accessible by the slapd and slap tools.

# Mode 700 recommended.

directory /usr/local/ldap/var/openldap-data

# Indices to maintain

index objectClass eq



좀 도와 주십시요 꾸벅

한 일주일 되었나봐요 휴 ~~


          

이 글에 대한 댓글이 총 2건 있습니다.
http://www.seojinint.co.kr/mboard.asp?strBoardID=OPENLDAP
답변을 참조하세요.

맞게 되면 답변 달아주세요. 거의 대부분이 이런 문제 일겁니다.
송상준(sjsong)님이 2006-10-10 01:33에 작성한 댓글입니다.
이 댓글은 2006-10-10 01:35에 마지막으로 수정되었습니다.
env CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include \
-I/usr/local/ssl/include/openssl \
-I/usr/local/include" LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib \
-L/usr/local/lib" ./configure --prefix=/usr/local/openldap --with-tls --enable-slurpd --enable-crypt --enable-syslog --sysconfdir=/etc



버젼을 조금 바꾸고 db쪽 지정하였더니 잘 됩니다.
감사 합니다.
양현(ssasl)님이 2006-10-11 22:08에 작성한 댓글입니다.
[Top]
No.
제목
작성자
작성일
조회
2298SunOne Ldap 에서 뭐가 자꾸 안되는데요.. [1]
ldap 초보
2006-10-13
8018
2297line 46: AttributeType not found: "name"
양현
2006-10-12
8189
2296헉 core.schema 어떻게 하나요 ㅠㅠ [2]
양현
2006-10-11
7431
2291설치 및 실행 오류 도와주세요 [2]
양현
2006-10-09
9411
2289ldap과 메일과 그룹 [1]
mithrandir
2006-10-08
7727
2288OpenLDAP 초보입니다. 설치 도와주세요... [1]
LDAP초보
2006-09-29
8270
2287도와주세요. [1]
경우
2006-09-25
8194
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.017초, 이곳 서비스는
	PostgreSQL v16.4로 자료를 관리합니다