LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-16-2008, 04:48 AM   #1
rozilla
Member
 
Registered: Dec 2006
Distribution: Ubuntu 8.04
Posts: 72

Rep: Reputation: 15
Unhappy Lost my LDAP leases


We've got ldap running on our Ubuntu 8.04 server. Yesterday, while ifconfigging some machines, I was moving around the room a lot and eventually, due to lack of concentration and general stressedness (the library staff are such a pain in the neck!) I wound up with several ldapvi editors open simultaneously.
I didn't even realize the problem this caused, until I got a call from a professor who could no longer log into her desktop. A certain IP range requires LDAP authentication to log in, and when your machine is not in that IP, using your LDAP login won't get you in, of course. I got into her machine and realized her IP had changed. It's not supposed to do that. I checked our dynamically created DHCP list (updated by: sh -x /root/bin/ldap2dhcp.sh) and saw that most of the machines had become unregistered from LDAP.

The dhcpd log shows a whole bunch of these errors:

Quote:
Sep 15 15:48:38 firewall dhcpd: DHCPREQUEST for <IP#> from <MACAddr> via eth1: unknown lease <aforementioned IP#>.
The first time this error shows up is Sep 15 15:30:52, according to the dhcpd log. Is there anyway at all for me to do something like a rollback to that point in time, to reverse this whole mess? :-(

Last edited by rozilla; 09-16-2008 at 05:02 AM.
 
Old 09-16-2008, 05:26 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Did the editor create various invisible backup files you can use to recover the original configuration?
 
Old 09-16-2008, 06:55 AM   #3
rozilla
Member
 
Registered: Dec 2006
Distribution: Ubuntu 8.04
Posts: 72

Original Poster
Rep: Reputation: 15
I can't find the backup files. Where do I look?
 
  


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
DHCPD no free leases HiOctane21 Linux - Networking 6 10-02-2013 11:21 PM
lost ldap admin password irvken Linux - Software 1 12-20-2007 02:03 AM
dhcpd.leases desertwanderer Linux - Server 0 10-25-2007 03:39 PM
dhclient Leases help yannifan Linux - Networking 4 02-26-2007 12:17 AM
dhcp not writing leases oberon-ken-obi Linux - Newbie 8 04-14-2005 01:44 PM

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

All times are GMT -5. The time now is 07:17 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration