Results 1 to 2 of 2

Thread: LDAPsearch on an LDAP backup?

  1. #1
    Join Date
    Dec 2006
    Rep Power

    Default LDAPsearch on an LDAP backup?

    We were looking into doing some searches for inactive accounts, however, at the same time, we were working on gathering statistics for some mail migration and this in a sense updated all the last login times.

    So I have the LDAP backups, and was trying to figure out a way to do ldapsearches on a backup. Any ideas other than scripting something together?

    We have a dev environment - I wonder if I could simply restore the LDAP backup to it while everything else is down, do my searches, and then restore the original dev environment LDAP?

    Suggestions welcomed...

  2. #2
    Join Date
    May 2007
    Rep Power


    You could use the Perl Net::LDAP::LDIF module to execute ldap "searches" against the backup files
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    Zimbra :: the leader in open source messaging and collaboration

Similar Threads

  1. ldapsearch weird output sorting
    By nublaii in forum Administrators
    Replies: 0
    Last Post: 11-08-2010, 01:56 AM
  2. Replies: 1
    Last Post: 11-09-2009, 09:35 AM
  3. [SOLVED] ldapsearch returns zero results
    By mohammedking in forum Administrators
    Replies: 3
    Last Post: 09-27-2009, 09:30 PM
  4. [SOLVED] strange ldapsearch issues
    By aurfalien in forum Administrators
    Replies: 12
    Last Post: 03-03-2009, 01:17 PM
  5. Ldap authentication fails but ldapsearch works
    By jherington in forum Installation
    Replies: 3
    Last Post: 11-19-2007, 10:51 PM

Tags for this Thread

Posting Permissions

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