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

Re: How to add an entry




Chris Zimmerman wrote:

> Mario Scovazzi wrote:
>
> > Hi,
> > I'm starting using OPENLDAP and I'm not able to add an
> > entry to the LDAP directory from the client (LDAP Browser\Editor
> > v 2.5 by Jarek Gawor).
> > The server is on a machine with openBSD version 2.3.
> > The slapd.conf file is the following:
> >
> > # See slapd.conf(5) for details on configuration options.
> > # This file should NOT be world readable.
> > #
> > include         /usr/local/etc/openldap/slapd.at.conf
> > include         /usr/local/etc/openldap/slapd.oc.conf
> > schemacheck     on
> > referral        ldap://ldap.itd.umich.edu
> >
> > sizelimit         25
> > timelimit        5
> >
> > pidfile         /usr/local/var/slapd.pid
> > argsfile       /usr/local/var/slapd.args
> >
> > #######################################################################
> > # ldbm database definitions
> > #######################################################################
> > database         ldbm
> > readonly         on
> > cachesize       1000
> > dbcachesize   100000
> > suffix              "o=CSP, c=IT"
> > suffix              "o=Your Organization Name, c=US"
> > directory        /usr/local/ldap
> > rootdn            "cn=root, o=CSP, c=IT"
> > #rootdn          "cn=root, o=Your Organization Name, c=US"
> > rootpw            Wail
> > # cleartext passwords, especially for the rootdn, should
> > # be avoid.  See slapd.conf(5) for details.
> > lastmod           on
> > # access to attr=email
> > #     by self write
> > #     by dn="cn=Mario, ou=Members, o=CSP, c=IT" write
> > #     by * write
> > access to * by * write
> >
> > Thanks
> > Mario
>
> You have the database in read-only.
>
> Chris Zimmerman
>
>   ------------------------------------------------------------------------
>
>   Chris Zimmerman <czimmer@e-docs.net>
>   Systems Analyst
>   e-DOCS.net
>
>   Chris Zimmerman
>   Systems Analyst  <czimmer@e-docs.net>
>   e-DOCS.net
>                    Netscape Conference Address
>   Additional Information:
>   Last Name   Zimmerman
>   First Name  Chris
>   Version     2.1





Thanks


I changed the option
readonly on
into
readonly off
but I cannot add an entry.
The LDAP Browser\Editor show me the error:
failed to add the entry
cn=Mario, ou=Members, o=CSP, c=IT.

Thanks
Mario