openldap+jamm
Marcio Silva - EsyWorld <[email protected]> Thu, 19 Feb 2009 20:41:16 -0300
| Newsgroups | gmane.mail.jamm.user |
|---|---|
| Message-ID | <[email protected]> |
--===============8680279408116623513==
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Tahoma">Hi,<br>
<br>
I'm trying to follow this:
<a class="moz-txt-link-freetext"
href="http://wanderingbarque.com/howtos/mailserver/mailserver.html">http://wanderingbarque.com/howtos/mailserver/mailserver.html</a>
<br>
<br>
But, when I try to start ldap service, it returns this error:<br>
<br>
Starting ldap-serverstartproc: exit status of parent of
/usr/lib/openldap/slapd: 1<br>
failed<br>
<br>
And nothing more. The slapd.conf is:<br>
<br>
#<br>
# See slapd.conf(5) for details on configuration options.<br>
# This file should NOT be world readable.<br>
#<br>
include /etc/openldap/schema/core.schema<br>
include /etc/openldap/schema/cosine.schema<br>
include /etc/openldap/schema/inetorgperson.schema<br>
include /etc/openldap/schema/rfc2307bis.schema<br>
include /etc/openldap/schema/yast.schema<br>
include /etc/openldap/schema/nis.schema<br>
include /etc/openldap/schema/jamm.schema<br>
<br>
password-hash {CRYPT}<br>
<br>
# Define global ACLs to disable default read access.<br>
<br>
# Do not enable referrals until AFTER you have a working directory<br>
# service AND an understanding of referrals.<br>
#referral <a class="moz-txt-link-freetext"
href="ldap://root.openldap.org">ldap://root.openldap.org</a><br>
<br>
pidfile /var/run/slapd/slapd.pid<br>
argsfile /var/run/slapd/slapd.args<br>
<br>
# Load dynamic backend modules:<br>
# modulepath /usr/lib/openldap/modules<br>
# moduleload back_bdb.la<br>
# moduleload back_hdb.la<br>
# moduleload back_ldap.la<br>
<br>
# Sample security restrictions<br>
# Require integrity protection (prevent hijacking)<br>
# Require 112-bit (3DES or better) encryption for updates<br>
# Require 63-bit encryption for simple bind<br>
# security ssf=1 update_ssf=112 simple_bind=64<br>
<br>
# Sample access control policy:<br>
# Root DSE: allow anyone to read it<br>
# Subschema (sub)entry DSE: allow anyone to read it<br>
# Other DSEs:<br>
# Allow self write access to user password<br>
# Allow anonymous users to authenticate<br>
# Allow read access to everything else<br>
# Directives needed to implement policy:<br>
#access to dn.base=""<br>
# Directives needed to implement policy:<br>
#access to dn.base=""<br>
# by * read<br>
#<br>
#access to dn.base="cn=Subschema"<br>
# by * read<br>
#<br>
#access to attrs=userPassword,userPKCS12<br>
# by self write<br>
# by * auth<br>
#<br>
#access to attrs=shadowLastChange<br>
# by self write<br>
# by * read<br>
#<br>
#access to *<br>
# by * read<br>
<br>
access to dn=".*,jvd=([^,]+),o=testpostfix,dc=esy,dc=com,dc=br"<br>
attr=userPassword<br>
by self write<br>
by
group/jammPostmaster/roleOccupant="cn=postmaster,jvd=$1,o=testpostfix,dc=esy,dc=com,dc=br"
write<br>
by dn="cn=dovecot,dc=esy,dc=com,dc=br" read<br>
by anonymous auth<br>
by * none<br>
<br>
access to dn=".*,jvd=([^,]+),o=testpostfix,dc=esy,dc=com,dc=br"<br>
by self write<br>
by
group/jammPostmaster/roleOccupant="cn=postmaster,jvd=$1,o=testpostfix,dc=esy,dc=com,dc=br"
write<br>
by * read<br>
<br>
access to *<br>
by * read<br>
<br>
# if no access controls are present, the default policy<br>
# allows anyone and everyone to read anything but restricts<br>
# updates to rootdn. (e.g., "access to * by * read")<br>
#<br>
# rootdn can always read and write EVERYTHING!<br>
<br>
#######################################################################<br>
# BDB database definitions<br>
#######################################################################<br>
<br>
database ldbm<br>
suffix "dc=esy,dc=com,dc=br"<br>
checkpoint 1024 5<br>
cachesize 10000<br>
rootdn "cn=Marcio,dc=esy,dc=com,dc=br"<br>
# Cleartext passwords, especially for the rootdn, should<br>
# be avoid. See slappasswd(8) and slapd.conf(5) for details.<br>
# Use of strong authentication encouraged.<br>
rootpw {SSHA}0ZaEA1vIVuc7dQVX1nEjUKKCIFNhgMor<br>
# The database directory MUST exist prior to running slapd AND<br>
# should only be accessible by the slapd and slap tools.<br>
# Mode 700 recommended.<br>
directory /var/lib/ldap<br>
# Indices to maintain<br>
index objectClass eq<br>
<br>
<br>
<br>
jamm.schema comes from jamm-0.9.6<br>
<br>
I've googled a lot, didn't find anything useful.<br>
<br>
Can anyone help?<br>
<br>
Tks,<br>
Marcio<br>
</font></font><font size="-1"><font face="Tahoma"><br>
<br>
</font></font><font size="-1"><font face="Tahoma"><br>
</font></font>
</body>
</html>
--===============8680279408116623513==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
--===============8680279408116623513==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Jamm-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jamm-users
--===============8680279408116623513==--