LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-08-2008, 07:10 PM   #1
centos
LQ Newbie
 
Registered: May 2008
Posts: 9

Rep: Reputation: 0
HOW TO RESET LDAP server password?


Everyone has good and bad days. The bad has come to my when one of IT's left company without saying "good bye" and leaving the most important
stuff: server passwords !!!!!!!!!!

I know root password to CENTOS 4.4 server. There is openLDAP server
that keeps all users (file,printer server) passwords. i am able to configure LDPA files and has SSH key. But dont want to messed up totaly
the most important server. If you have any technical advice please share. Thank You for any.

Adi
 
Old 11-08-2008, 07:11 PM   #2
centos
LQ Newbie
 
Registered: May 2008
Posts: 9

Original Poster
Rep: Reputation: 0
I need to add I need manager password in LDAP server to be reset withount knowing that (original prevous) password.
 
Old 11-08-2008, 07:50 PM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Do you mean the one in /etc/openldap/slapd.conf?

Use slappasswd to generate a new one.

Last edited by billymayday; 11-08-2008 at 08:10 PM.
 
Old 11-09-2008, 02:23 PM   #4
centos
LQ Newbie
 
Registered: May 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Thank You Billymayday. I have never thought that would be so easy. However, using that slappasswd under root@IP account is going only to change openLDAP manager password or all structure of LDAP (database, users, etc.)? We have already created database in openLDAP with hundred users. That database keeps their passwords for samba accounts. I am new to linux and dont want to messed up anything. I found usefull link:
http://www.linuxhomenetworking.com/w...ot.22_password

that shows step be step how to setup openLDAP with detailed configuration. Please advice. Thanks for any!!!
 
Old 11-09-2008, 02:54 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
It's the manager account. Keep a copy of slapd.conf as a backup.
 
Old 11-16-2008, 02:45 PM   #6
centos
LQ Newbie
 
Registered: May 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Yes issue has been resolved.
 
  


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
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 05:11 AM
reset password on LAMP SERVER hendoc Linux - Server 1 07-19-2007 06:36 PM
web based reset password for ldap/ADS paul_mat Linux - Software 0 05-17-2006 10:05 PM
Compare LDAP password with php crypt password coolamit78 Linux - Networking 1 01-30-2006 06:35 AM
password reset problems with ssh/ldap cary_anderson Red Hat 0 01-24-2006 12:40 PM


All times are GMT -5. The time now is 07:03 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