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

Re: slapcat: slap_init no backend for "dc=magtech,dc=com,dc=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