Para linuxer
Mohon bantuannya untuk menggantikan Exchange server sebagai MTA saya pilih
postfix, tetapi saya
mengalami kesulitan tidak adanya address book yg dapat digunakan end user
intranet di tempat kami, 
alternatifnya aku pakai OPENLDAP server.Tetapi timbul masalah pada saat
nambah data 
di address book sering error tolong dibantu 

MANDRAKE 9.
OPENLDAP
ISI SLAPD.CONF :
===============================================================
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.6 2001/04/20 23:32:43
kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
# Modified by Christian Zoffoli <[EMAIL PROTECTED]>
# Version 0.2
#

include /usr/share/openldap/schema/core.schema
include /usr/share/openldap/schema/cosine.schema
include /usr/share/openldap/schema/corba.schema
include /usr/share/openldap/schema/inetorgperson.schema
include /usr/share/openldap/schema/java.schema
include /usr/share/openldap/schema/krb5-kdc.schema
include /usr/share/openldap/schema/kerberosobject.schema
include /usr/share/openldap/schema/misc.schema
include /usr/share/openldap/schema/nis.schema
include /usr/share/openldap/schema/openldap.schema

#include /usr/share/openldap/schema/rfc822-MailMember.schema
#include /usr/share/openldap/schema/pilot.schema
#include /usr/share/openldap/schema/autofs.schema
#include /usr/share/openldap/schema/samba.schema
#include /usr/share/openldap/schema/qmail.schema
#include /usr/share/openldap/schema/mull.schema
#include /usr/share/openldap/schema/netscape-profile.schema
#include /usr/share/openldap/schema/trust.schema
#include /usr/share/openldap/schema/dns.schema
#include /usr/share/openldap/schema/cron.schema

include /etc/openldap/schema/local.schema


# Define global ACLs to disable default read access.
include         /etc/openldap/slapd.access.conf
# 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/ldap/slapd.pid
argsfile        /var/run/ldap/slapd.args

modulepath      /usr/lib/openldap
#moduleload      back_dnssrv.la
#moduleload      back_ldap.la
#moduleload      back_passwd.la
#moduleload      back_sql.la

# SASL config
#sasl-host ldap.example.com

# To allow TLS-enabled connections, create /usr/share/ssl/certs/slapd.pem
# and uncomment the following lines.
#TLSRandFile            /dev/random
#TLSCipherSuite         HIGH:MEDIUM:+SSLv2
TLSCertificateFile      /etc/ssl/openldap/ldap.pem
TLSCertificateKeyFile   /etc/ssl/openldap/ldap.pem
#TLSCACertificatePath   /etc/ssl/openldap/
TLSCACertificateFile    /etc/ssl/openldap/ldap.pem
#TLSVerifyClient 0


#######################################################################
# ldbm database definitions
#######################################################################

database        ldbm
suffix          "dc=example,dc=com"
#suffix         "o=My Organization Name,c=US"
rootdn          "cn=Manager,dc=example,dc=com"
#rootdn         "cn=Manager,o=My Organization Name,c=US"
# Cleartext passwords, especially for the rootdn, should
# be avoided.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
# rootpw                secret
# rootpw                {crypt}ijFYNcSNctBYg

# The database directory MUST exist prior to running slapd AND 
# should only be accessable by the slapd/tools. Mode 700 recommended.
directory       /var/lib/ldap

# Indices to maintain
#index  objectClass                             eq
index   objectClass,uid,uidNumber,gidNumber     eq
index   cn,mail,surname,givenname               eq,subinitial

# logging
loglevel 256

# Basic ACL
access to attr=userPassword
        by self write
        by anonymous auth
        by dn="uid=root,ou=People,dc=example,dc=com" write
        by * none

access to *
        by dn="uid=root,ou=People,dc=example,dc=com" write
        by * read
===============================================================

[EMAIL PROTECTED] openldap]# service ldap start
ldaps
Starting slapd (ldap + ldaps):                                  [  OK  ]
[EMAIL PROTECTED] openldap]# ldapsearch -x -b '' -s base '(objectclass=*)'
namingContexts
version: 2
#
# filter: (objectclass=*)
# requesting: namingContexts 
#
#
dn:
namingContexts: dc=example,dc=com
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
[EMAIL PROTECTED] openldap]#
[EMAIL PROTECTED] root]# ldapadd -x -D "cn=root,dc=example,dc=com" -W 
Enter LDAP Password: 
dn: uid=setijo,dc=example,dc=com
uid: setijo
cn: setijo agus
givenname: agus
sn: User
mail: [EMAIL PROTECTED]
objectClass: top
objectClass: mailRecipient
objectClass: person
objectClass: inetOrgPerson
^D
adding new entry "uid=setijo,dc=example,dc=com"
ldap_add: No such object
        additional info: parent does not exist

ldif_record() = 32
[EMAIL PROTECTED] root]# 






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Kirim email ke