Results 1 to 5 of 5

Thread: [SOLVED] Missing slapd.conf

  1. #1
    supradave is offline Intermediate Member
    Join Date
    Aug 2009
    Posts
    19
    Rep Power
    5

    Default [SOLVED] Missing slapd.conf

    I'm trying to run
    Code:
    slapcat -f slapd.conf
    and I get the error:

    Code:
    openldap/sbin/slapcat -f openldap-2.4.21.7z/etc/openldap/slapd.conf
    Unrecognized database type (bdb)
    openldap-2.4.21.7z/etc/openldap/slapd.conf: line 53: <database> failed init (bdb)
    slapcat: bad configuration file!
    So, in /opt/zimbra, I do:
    Code:
    find . -print | grep slapd.conf
    ./openldap-2.4.21.7z/share/man/man5/slapd.conf.5
    ./openldap-2.4.21.7z/share/man/man5/slapd-config.5
    ./openldap-2.4.21.7z/etc/openldap/slapd.conf
    ./openldap-2.4.21.7z/etc/openldap/slapd.conf.default
    So, I looked into slapd.conf and saw that the dc was my-domain and I switched that to the appropriate domain. But still no go.

    Any ideas?

    Dave


    Release 6.0.6_GA_2330.UBUNTU8 UBUNTU8 FOSS edition.

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    What are you trying to do exactly ?

  3. #3
    supradave is offline Intermediate Member
    Join Date
    Aug 2009
    Posts
    19
    Rep Power
    5

    Default slapcat

    slapcat is a tool for dumping ldap account data to stdout or a file. At least on my old OpenExchange system, this is how it's done. Since the tool is available on the Zimbra box, I presume that it would do the same thing.

    I'm just trying to dump the ldap account data so I can glean better how to import my old ldap data.

    Also, I'd like to be able to do comprehensive backups.

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Code:
    su - zimbra
    mkdir /tmp/ldapbackup
    /opt/zimbra/libexec/zmslapcat /tmp/ldapbackup

  5. #5
    supradave is offline Intermediate Member
    Join Date
    Aug 2009
    Posts
    19
    Rep Power
    5

    Default Thanks.

    That solved it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] upgrading to latest 4.5 release
    By ak2009 in forum Installation
    Replies: 6
    Last Post: 01-17-2009, 09:08 AM
  2. Help! Upgrade problems from 5.09 to 5.10
    By gtr33m in forum Installation
    Replies: 17
    Last Post: 11-13-2008, 04:20 AM
  3. Zimbra OSS 4.5.11 Re-install
    By newmember in forum Installation
    Replies: 0
    Last Post: 09-09-2008, 10:26 PM
  4. 4.5.11 to 5.06 Migration Suggestion
    By newmember in forum Migration
    Replies: 15
    Last Post: 09-02-2008, 06:59 PM
  5. Traslation SVN tree status
    By meikka in forum I18N/L10N - Translations
    Replies: 7
    Last Post: 02-13-2007, 11:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •