LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-29-2011, 04:49 AM   #1
sheelavantar
Member
 
Registered: Aug 2010
Posts: 69

Rep: Reputation: 1
How to delete LDAP Data base bdb


Please let me know how to delete/flush complete LDAP database ? I tried deleting all files from /var/openldap-data. but still top level data base attributes remains.

initially I had set shadowExpire,shadowFlag etc, I want to remove all these.

Kindly help me to build my new database.

LDAP server log for your reference.

ber_dump: buf=0x9a0ba80 ptr=0x9a0bab5 end=0x9a0bb3d len=136
0000: 00 81 85 04 04 68 6f 73 74 04 11 61 75 74 68 6f .....host..autho
0010: 72 69 7a 65 64 53 65 72 76 69 63 65 04 0c 73 68 rizedService..sh
0020: 61 64 6f 77 45 78 70 69 72 65 04 0a 73 68 61 64 adowExpire..shad
0030: 6f 77 46 6c 61 67 04 0e 73 68 61 64 6f 77 49 6e owFlag..shadowIn
0040: 61 63 74 69 76 65 04 10 73 68 61 64 6f 77 4c 61 active..shadowLa
0050: 73 74 43 68 61 6e 67 65 04 09 73 68 61 64 6f 77 stChange..shadow
0060: 4d 61 78 04 09 73 68 61 64 6f 77 4d 69 6e 04 0d Max..shadowMin..
0070: 73 68 61 64 6f 77 57 61 72 6e 69 6e 67 04 09 75 shadowWarning..u
0080: 69 64 4e 75 6d 62 65 72 idNumber

Thanks and Regards,
Vijay S.
 
Old 08-30-2011, 12:38 AM   #2
sheelavantar
Member
 
Registered: Aug 2010
Posts: 69

Original Poster
Rep: Reputation: 1
I deleted all the files from /usr/local/var/openldap-data. to remove the database entries.

Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP config, no bdb option RHEL4 donanap Linux - Enterprise 2 07-31-2009 02:25 AM
script to delete files base don size jonabyte Linux - General 8 10-24-2008 10:21 AM
Can we point to a specific LDAP base in squirrelmail just like in a thunderbird Niceman2005 Linux - Software 0 05-29-2006 08:34 PM
Need Help, LDAP + BDB issue wslyhbb Linux - Software 7 04-25-2006 08:23 PM
Mysql-BDB Data Base driver rwelch Linux - General 1 03-19-2003 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration