I commented out the dc=my-domain,dc=com and tried again, this is the resutls again with the slapd.conf.
[EMAIL PROTECTED] openldap]# /usr/local/openldap/sbin/slapadd -l /usr/local/openxchange/share/init_ldap.ldif Segmentation fault [EMAIL PROTECTED] openldap]# cat /usr/local/openldap/etc/openldap/slapd.conf include /usr/local/openldap/etc/openldap/schema/core.schema pidfile /usr/local/openldap/var/run/slapd.pid argsfile /usr/local/openldap/var/run/slapd.args ####################################################################### # BDB database definitions ####################################################################### database bdb #suffix "dc=my-domain,dc=com" #rootdn "cn=Manager,dc=my-domain,dc=com" # 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 directory /usr/local/openldap/var/openldap-data # Indices to maintain index objectClass eq #include /usr/local/openldap/etc/openldap/schema/core.schema include /usr/local/openldap/etc/openldap/schema/cosine.schema include /usr/local/openldap/etc/openldap/schema/nis.schema include /usr/local/openldap/etc/openldap/schema/inetorgperson.schema include /usr/local/openxchange/share/openxchange.schema database bdb suffix "dc=tux,dc=st" rootdn "cn=admin,dc=tux,dc=st" rootpw secret directory /usr/local/openldap/var/openldap-data index objectClass eq index uid,mailEnabled,cn,sn,givenname,lnetMailAccess,alias,loginDestination eq,sub index memberUid eq access to dn.subtree="ou=Users,ou=OxObjects,dc=tux,dc=st" by self write by users write by anonymous auth access to dn.subtree="ou=Groups,ou=OxObjects,dc=tux,dc=st" by self write by users write by anonymous [EMAIL PROTECTED] openldap]# On 2/26/06, Dieter Schicker <[EMAIL PROTECTED]> wrote: > > The question is: > > Do you want to set up a domain "dc=my-domain,dc=com" or a domain > "dc=tux,dc=st"? > Delete the appropriate entries! > > -- Didi > > Amy And wrote: > > no, can I just delete the second one? Is that where the error is > > coming from? > > > > On 2/26/06, *Dieter Schicker* <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > > Do you really want to setup _two_ databases with _two_ ldap realms? > > > > -- Didi > > > > Amy And wrote: > > > > > Hello, > > >This is my third time around with a fresh install of mandriva > > 2006. I am > > >having trouble with slapd.conf I know which line it does not > > like, but dont > > >know what it really wants there. I have included the error > > message as well > > >as my slapd.conf > > > > > >any help would be greatly appreciated! > > > > > > > > >Error.... > > >[EMAIL PROTECTED] openldap]# /usr/local/openldap/sbin/slapadd -l > > >/usr/local/openxchange/share/init_ldap.ldif > > >/usr/local/openldap/etc/openldap/slapd.conf: line 92: expecting > > <access> got > > >"writest" > > > > > >I FIXED LINE 92 BY CHANGING IT TO WRITE > > > > > >then got... > > > > > > Thank you! I change it and it read that line fine, then it hit > > this error.. > > > > > > > > >/usr/local/openldap/etc/openldap/slapd.conf: line 97: expecting > > <access> got > > >"authexit" > > > > > >I CHANGED "AUTHEXIT" TO "AUTH", now i am getting this error... > > > > > >[EMAIL PROTECTED] openldap]# /usr/local/openldap/sbin/slapadd -l > > >/usr/local/openxchange/share/init_ldap.ldif > > >slapadd: line 6: database (dc=my-domain,dc=com) not configured to > > hold > > >"dc=tux,dc=st" > > >slapadd: line 6: database (dc=my-domain,dc=com) not configured to > > hold > > >"dc=tux,dc=st" > > > > > >would that be a problem with my rootdn? > > > > > >Thanks!! > > > > > >slapd.conf.... > > > > > >[EMAIL PROTECTED] openldap]# cat > /usr/local/openldap/etc/openldap/slapd.conf > > > > > >include /usr/local/openldap/etc/openldap/schema/core.schema > > > > > >pidfile /usr/local/openldap/var/run/slapd.pid > > >argsfile /usr/local/openldap/var/run/slapd.args > > > > > >database bdb > > >suffix "dc=my-domain,dc=com" > > >rootdn "cn=Manager,dc=my-domain,dc=com" > > > > > >rootpw secret > > >directory /usr/local/openldap/var/openldap-data > > ># Indices to maintain > > >index objectClass eq > > > > > >#include > /usr/local/openldap/etc/openldap/schema/core.schema > > >include > /usr/local/openldap/etc/openldap/schema/cosine.schema > > >include /usr/local/openldap/etc/openldap/schema/nis.schema > > >include > > /usr/local/openldap/etc/openldap/schema/inetorgperson.schema > > >include /usr/local/openxchange/share/openxchange.schema > > > > > >#pidfile > > >/usr/local/openldap/var/run/slapd.pid > > > > > >#argsfile /usr/local/openldap/var/run/slapd.args > > > > > >database bdb > > >suffix "dc=tux,dc=st" > > >rootdn "cn=admin,dc=tux,dc=st" > > >rootpw secret > > > > > >directory /usr/local/openldap/var/openldap-data > > > > > >index objectClass eq > > >index > > > >uid,mailEnabled,cn,sn,givenname,lnetMailAccess,alias,loginDestination > > eq,sub > > >index memberUid eq > > > > > >access to dn.subtree="ou=Users,ou=OxObjects,dc=tux,dc=st" > > > by self write > > > by users write > > > by anonymous auth > > > > > >access to dn.subtree="ou=Groups,ou=OxObjects,dc=tux,dc=st" > > > by self write > > > by users write > > > by anonymous auth[ [EMAIL PROTECTED] openldap]# > > > > > > > > > > > > > > >
