revisited slapcat -l d:\file.ldif -f D:\Imail\OpenLDAP\Bin\slapd.conf -n 1 Note the full directory qualification for the config file
----- Original Message ----- From: "Doug Anderson" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, July 25, 2005 10:48 AM Subject: Re: [IMail Forum] slapcat: bad configuration file > D:\Imail\OpenLDAP\Bin\slapcat -l d:\imail\backup.ldif -f > D:\Imail\OpenLDAP\Bin\slapd.conf -n 1 > > ----- Original Message ----- > From: "Chris Jensen" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Saturday, July 23, 2005 7:08 AM > Subject: [IMail Forum] slapcat: bad configuration file > > > Hi, > I've just upgraded to IMail 8.15 (from 7.07). I'm interested in trying > to extract LDIF files from the new OpenLDAP server. > > I've tried using slapcat, but it gives the following error > slapcat: bad configuration file! > Using the debug options give no additional information. > > I haven't touched the slapd.conf file since the upgrade. The LDAP > server is otherwise functioning correctly. > > Can anyone suggest how to correct this? > > Regards > Chris Jensen > > Here is the slapd.conf file: > # the ucdata path must be the first line in the config file > # the ldap server will cease to funtion if it is not - DO NOT remove this > entry > ucdata-path C:/IMAIL/OpenLDAP/share/ucdata > # > # Schemas > # > include schema/core.schema > include schema/cosine.schema > include schema/inetorgperson.schema > include schema/nis.schema > # > # Process Info > # > pidfile slapd.pid > argsfile slapd.args > # > # Logging Info > # > loglevel 296 > local4.debug slapd.log > # > # ACL > # > access to * > by * read > access to attrs=userPassword > by * auth > allow bind_v2 > ##++ educational-experience.com > > database bdb > directory openldap-data/educational-experience.com > suffix "o=educational-experience.com" > rootdn "cn=root,o=educational-experience.com" > rootpw **** > defaultaccess read > schemacheck on > lastmod on > index cn,sn,st pres,eq,sub > index ou pres,eq,sub > index objectClass eq > > ##-- educational-experience.com > ##++ teacherdirect.co.nz > > database bdb > directory openldap-data/teacherdirect.co.nz > suffix "o=teacherdirect.co.nz" > rootdn "cn=root,o=teacherdirect.co.nz" > rootpw **** > defaultaccess read > schemacheck on > lastmod on > index cn,sn,st pres,eq,sub > index ou pres,eq,sub > index objectClass eq > > ##-- teacherdirect.co.nz > ##++ toysandmore.com.au > > database bdb > directory openldap-data/toysandmore.com.au > suffix "o=toysandmore.com.au" > rootdn "cn=root,o=toysandmore.com.au" > rootpw **** > defaultaccess read > schemacheck on > lastmod on > index cn,sn,st pres,eq,sub > index ou pres,eq,sub > index objectClass eq > > ##-- toysandmore.com.au > ##++ edex.com.au > > database bdb > directory openldap-data/edex.com.au > suffix "o=edex.com.au" > rootdn "cn=root,o=edex.com.au" > rootpw **** > defaultaccess read > schemacheck on > lastmod on > index cn,sn,st pres,eq,sub > index ou pres,eq,sub > index objectClass eq > > ##-- edex.com.au > > To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html > List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ > Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ > --- > [This E-mail scanned for viruses by Declude Virus] > > > --- > [This E-mail scanned for viruses by Declude Virus] > > > To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html > List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ > Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ > --- > [This E-mail scanned for viruses by Declude Virus] > > --- [This E-mail scanned for viruses by Declude Virus] To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
