[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [Fwd: Re: slapcat: slap_init no backend for "dc=magtech,dc=com,dc=au"]
Have you tried the Quick Start Guide?
http://www.openldap.org/doc/admin/quickstart.html
Kurt
At 03:21 PM 2002-01-16, Paul Milazzo wrote:
>Thanks for you suggestions (see below), however, I have
>tried making the suffix just
>
>"dc=magtech,dc=com,dc=au, c=AU"
>
>and I still get no joy. I tried leaving the "c" country
>attribute out and no joy there either ....
>
>Can someone supply a sample slapd.conf file as a bare bones
>file with just a root user to define rootdn so I can run it
>against openLDAP 2.0.19. At this stage I'm not sure if the
>problem is within my slapd.conf file OR it's an operating
>system problem (like directory permissions etc ...) or it's
>a slapd problem.
>
>I have made the database directory world readable and
>writeable (/var/lib/ldap rwxrwxrwx) just to remove any
>possible issues with writing to the db file (this is a
>temporary measure to eliminate one source of problems)
>
>I note however that my installation does not have an index
>file, I just have a db2id.gdbm file is this correct ? Am I
>not missing an id2index.gdbm file or something like that or
>is generated after running "slapindex" ?
>
>Regards
>Paul
>
>-------- Original Message --------
>Subject: Re: slapcat: slap_init no backend for
>"dc=magtech,dc=com,dc=au"
>Date: Wed, 16 Jan 2002 08:51:28 +0100
>From: Pierangelo Masarati <masarati@aero.polimi.it>
>Organization: Dipartimento di Ingegneria Aerospaziale
>To: Paul Milazzo <paulm@magtech.com.au>
>CC: OpenLDAP-software@OpenLDAP.org
>References: <3C452A21.10A346DD@magtech.com.au>
>
>Paul Milazzo wrote:
>>
>> I am currently attempting to get an LDAP server running in
>> our organization but I am having a problem getting the LDAP
>> server to return anything meaningfull. I have downloaded and
>> installed OpenLDAP V2.0.19 and edited the slapd.conf file to
>> put in just the DN and Organization entries as shown below :
>>
>> slapd.conf :
>> 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/nadf.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 /etc/openldap/schema/local.schema
>>
>>
>> # Define global ACLs to disable default read access.
>> #include /etc/openldap/slapd.netmeeting.conf
>> 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/slapd.pid
>> argsfile /var/run/slapd.args
>>
>> modulepath /usr/lib/openldap
>> #moduleload back_dnssrv.la
>> #moduleload back_ldap.la
>> #moduleload back_passwd.la
>> #moduleload back_sql.la
>>
>> # To allow TLS-enabled connections, create
>> /usr/share/ssl/certs/slapd.pem
>> # and uncomment the following lines.
>> #TLSCipherSuite HIGH:MEDIUM:+SSLv2
>> TLSCertificateFile /etc/openldap/ldap.pem
>> TLSCertificateKeyFile /etc/openldap/ldap.pem
>> TLSCACertificateFile /etc/openldap/ldap.pem
>>
>> #######################################################################
>> # ldbm database definitions
>> #######################################################################
>>
>>
>> objectclass
>> requires
>> top
>>
>> database ldbm
>> cachesize 1000
>> dbcachesize 100000
>> suffix "o=dc=magtech,dc=com,dc=au, c=AU"
>
> ^^^^^^^^^^
>
>suffix "dc=magtech,dc=com,dc=au, c=AU"
>
>
>Pierangelo
>
>--
>Dr. Pierangelo Masarati | voice: +39 02 2399
>8309
>Dip. Ing. Aerospaziale | fax: +39 02 2399
>8334
>Politecnico di Milano |
>mailto:pierangelo.masarati@polimi.it
>via La Masa 34, 20156 Milano, Italy |
>http://www.aero.polimi.it/~masarati