View previous topic :: View next topic |
Author |
Message |
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Aug 24, 2010 3:28 pm Post subject: phpldapadmin |
|
|
How do you change the password for phpldapadmin?
searched their website but can not find how to change.
thanks |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Aug 24, 2010 3:35 pm Post subject: |
|
|
phpldapadmin is a client only, you need to change the password to openldap in /etc/openldap/slapd.conf
Code: | rootpw {SSHA}CMsEaYBDv2oO0TVpeCr0cwQVfTBm8/pJ |
Just type "slappasswd" enter your password, copy/paste your password in slapd.conf
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Aug 24, 2010 3:43 pm Post subject: |
|
|
I had already tried that. Sorry, should have said that. Then I restarted openldap. However, when I go to web login, it still takes 'toor' as the passwd.
What am I doing wrong? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Aug 24, 2010 3:57 pm Post subject: |
|
|
You need to restart openldap with "/etc/rc.d/rc.openldap restart"
also your login dn: on phpldapadmin should match with slapd.conf rootdn
e.g. cn=Manager,dc=sms,dc=org
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Aug 24, 2010 4:06 pm Post subject: |
|
|
I did all that. Here is something interesting.
I can login with new slappasswd that I created or with 'toor'. rootdn is correct.
Do we have some type of loop or misconfig/ |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Aug 24, 2010 4:20 pm Post subject: |
|
|
have you removed
Code: | rootpw {SSHA}CMsEaYBDv2oO0TVpeCr0cwQVfTBm8/pJ |
or just commented with "#"?
Remove it and restart openldap.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Aug 24, 2010 4:38 pm Post subject: |
|
|
okay deleted rootpw. Can still login with 'toor' but not with slappaswd that I created. |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Aug 24, 2010 4:51 pm Post subject: |
|
|
Do not delete all rootpw entries in slapd.conf.
You also need to change the password once you login to
Code: | dn: cn=manager,dc=sms,dc=org
cn: manager
description: LDAP manager
objectclass: simpleSecurityObject
objectclass: organizationalRole
objectclass: top
userpassword: {SSHA}CMsEaYBDv2oO0TVpeCr0cwQVfTBm8/pJ
|
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Aug 24, 2010 5:06 pm Post subject: |
|
|
I am not sure what you are saying here. Are you saying to login to phpldapadmin/
If not, those entries do not exist in slapd.conf. |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Aug 24, 2010 5:35 pm Post subject: |
|
|
Yes, login to phpldapadmin and look for cn=Manager and change it's password.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Aug 24, 2010 7:16 pm Post subject: |
|
|
thanks will do. |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Aug 24, 2010 7:31 pm Post subject: |
|
|
I was wondering if I could get a refund?
It worked. Now I am sorta secure |
|
Back to top |
|
|