LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-28-2004, 06:47 AM   #1
armagdon
LQ Newbie
 
Registered: Nov 2004
Posts: 5

Rep: Reputation: 0
ldap problem about delete rendom users


hi every body,

i have ldap server on SLES as PDC and windows and linux machine login to it ,i have problem with ldap when created user account and machine account the user is login successfuly not problem after 3days or more when display ldap users and computers by GQ program i don't saw the machines name for users accounts and machines names for some users that i created it befor , i don't what's the problem becouse the users couldn't login to domain , i suggest the bdb backend plz i want your advice for this case .
 
Old 12-28-2004, 07:59 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Have you tried verifying the berkeley database?

1) Stop the ldap process
2) "cd" to the ldap database directory
3) Run "db_verify" - see if it passes the test.
 
Old 12-28-2004, 08:11 AM   #3
armagdon
LQ Newbie
 
Registered: Nov 2004
Posts: 5

Original Poster
Rep: Reputation: 0
i do it and this is ou put from command
# db_verify /var/lib/ldap/*


db_verify: Page 0: bad magic number 0
db_verify: Page 0: bad page size 0
db_verify: DB->verify: /var/lib/ldap/__db.001: DB_VERIFY_BAD: Database verification failed
 
Old 12-28-2004, 08:34 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Well at least you know there is a problem with the database now. You can use db_recover to try and repair the database. I would make a copy of the database directory before you try making any changes. Take a look at "man db_recover" for instructions.

If db_verify is still failing then you can try using db_dump and db_load to extract and reimport the data into an empty database. If that fails then I think you should just resort to a recent good backup.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
can i delete all the users except...... wangjinyi Linux - Security 10 10-23-2005 09:04 PM
ldap as auth server, users sometimes unknown ?? rhoekstra Fedora 2 09-05-2005 01:39 AM
how to delete users? centr0 Linux - Newbie 11 03-10-2003 12:22 PM
Any LDAP users out there? tarballed Linux - Networking 4 02-05-2003 08:14 PM
how do i delete users? ShawnD Linux - General 9 07-22-2002 10:06 AM


All times are GMT -5. The time now is 09:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration