[Date Prev][Date Next] [Chronological] [Thread] [Top]

openldapaci



Hi all,

	I have tried this approach.  But it doesn't work.  Is there any workaround.  
Shall i have to put something in access.conf.  Because, when i tried to 
update any attribute(self) it gives an error "Insufficient access rights".  
Currently my slapd.conf dont have anything related with the acl's.
My Slapd.conf and access.conf are give below.

                  


  sladp.conf

------------------------------------------------
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.7 2001/09/27 20:00:31 
kurt Exp $
#
# 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
include         /usr/local/etc/openldap/schema/raghu.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/var/slapd.pid
argsfile        /usr/local/var/slapd.args
 
# Load dynamic backend modules:
# modulepath    /usr/local/libexec/openldap
# moduleload    back_ldap.la
# moduleload    back_ldbm.la
# moduleload    back_passwd.la
# moduleload    back_shell.la
 
include /usr/local/etc/openldap/access.conf
 
#
# Sample Access Control
#       Allow read access of root DSE
#       Allow self write access
#       Allow authenticated users read access
#       Allow anonymous users to authenticate
#

# ldbm database definitions
#######################################################################
 
database        ldbm
suffix          "o=waterford.org"
#suffix         "o=My Organization Name,c=US"
rootdn          "cn=Manager,o=waterford.org"
#rootdn         "cn=Manager,o=My Organization Name,c=US"
# 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/tools. Mode 700 recommended.
directory       /usr/local/var/openldap-ldbm
# Indices to maintain
index   objectClass     eq



----------------------------------------------------------------------------


My access.conf is

                                    Access.conf

----------------------------------------------------------------

access to * by aci write 

--------------------------------------------------------------


Eagerly waiting for any reply
Thanks & Regards
Raghu


----------  Forwarded Message  ----------
Subject: RE: openldapaci
Date: Thu, 29 Nov 2001 09:31:24 -0600
From: "Kevin J. McCarthy" <kevin@kogz.com>
To: "M.Raghu Babu" <rmovva@waterford.org>, <openldap-software@OpenLDAP.org>


1.2.3#entry#grant;r,s,w,c;[all]#self#

check here for details:

http://www.openldap.org/faq/data/cache/634.html

kevin

-----Original Message-----
From: M.Raghu Babu [mailto:rmovva@waterford.org]
Sent: Thursday, November 29, 2001 5:19 AM
To: openldap-software@OpenLDAP.org
Subject: openldapaci


Hi all,
    I was trying to store the aci's in the directory itself.  The
advantage
of this approach is that I dont need to restart the server after each
change.
But the problem is that i cannot be able to modify self information.
How can
a aci be written so that it can modify it's own information.

thanks & Regards
M.Raghu Babu

-------------------------------------------------------

-- 
M.Raghu Babu