Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
phpldapadmin
View previous topic :: View next topic  
Author Message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Tue Aug 24, 2010 3:28 pm    Post subject: phpldapadmin Reply with quote

How do you change the password for phpldapadmin?

searched their website but can not find how to change.

thanks
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Aug 24, 2010 3:35 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Tue Aug 24, 2010 3:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Aug 24, 2010 3:57 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Tue Aug 24, 2010 4:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Aug 24, 2010 4:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Tue Aug 24, 2010 4:38 pm    Post subject: Reply with quote

okay deleted rootpw. Can still login with 'toor' but not with slappaswd that I created.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Aug 24, 2010 4:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Tue Aug 24, 2010 5:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Aug 24, 2010 5:35 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Tue Aug 24, 2010 7:16 pm    Post subject: Reply with quote

thanks will do.
Back to top
View user's profile Send private message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Tue Aug 24, 2010 7:31 pm    Post subject: Reply with quote

I was wondering if I could get a refund?

Wink

It worked. Now I am sorta secure Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional