LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 03-13-2009, 05:45 AM   #1
john_es
LQ Newbie
 
Registered: Mar 2009
Posts: 15

Rep: Reputation: 0
Password change with OpenLDAP 2.4.11


I've got ldap and samba running on an ubuntu box. I followed a couple different guides and there seems to be some overlap and it has me a bit confused.

It's OpenLDAP 2.4.11.


I notice that my cn=admin... password is stored in:

- /etc/ldapscripts/ldapscripts.passwd
- /etc/ldap.secret

Couple questions:
- I want to change the ldap password...
- Should the password be stored in the files above?
- What is the point of storing the password in /etc/ldapscripts/ldapscripts.passwd?
- How do I change/update the password for ldap?
- Do I modify the /etc/ldap.secret file myself, or dpkg-reconfigure, or something else?

I know that after I do that, I need to let samba know about this password change via:
sudo smbpasswd -W
Setting stored password for "cn=admin,dc=collins" in secrets.tdb
New SMB password:
Retype new SMB password:

Am I missing something? I notice that the rootpw is not set in the /etc/ldap.conf file.

Anyway, thanks for any tips you can provide.
 
Old 03-13-2009, 06:04 AM   #2
john_es
LQ Newbie
 
Registered: Mar 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Looks like in the /etc/ldapscripts/ldapscripts.conf, there's a setting for the BINDPWDFILE = BINDPWDFILE="/etc/ldapscripts/ldapscripts.passwd"

So that answers at least that part...

I guess what I am trying to sort out, it that if I change my ldap admin password, what things do I need to do to do so?
 
Old 03-13-2009, 06:11 AM   #3
john_es
LQ Newbie
 
Registered: Mar 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Oh, here are the guides I was following... forgot to add them to the original post:

https://help.ubuntu.com/community/Op...-OrgInfo-Posix
https://help.ubuntu.com/8.10/serverg...ap-server.html
https://help.ubuntu.com/8.10/serverg...amba-ldap.html
 
  


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
Change my root password in Debian Linux if I have the current password? panseluta Linux - Newbie 2 12-28-2008 02:02 AM
How to import windows network username & password to OpenLdap aminsa Linux - Enterprise 3 07-29-2007 07:41 PM
openLDAP orginal user/password? paul_mat Linux - Networking 1 07-20-2005 01:09 PM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 09:39 AM


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