tpc99 Contributor.
Contributor.
759 views

How to set a new LDAP Password at server.conf file

Hi guys,

I have a doubt and I would apreciate your help.
I am changing the host and password of the LDAP server used by PPM 9.14 to authenticate users at the file server.conf. But the new password is not encrypted and I don't know if I have to use !# delimiters or not. 

Actual File:
com.kintana.core.server.KINTANA_LDAP_PASSWORD=#!#encrypted string#!#

At new file I must replace it with:

A) com.kintana.core.server.KINTANA_LDAP_PASSWORD=#!#unencrypted string#!#

B) com.kintana.core.server.KINTANA_LDAP_PASSWORD=#!unencrypted string!#

C) com.kintana.core.server.KINTANA_LDAP_PASSWORD=unencrypted string

I checked at the installation file but I could not clear about it.  There is no need of encryption in my case. Thank you in advance!

0 Likes
6 Replies
tpc99 Contributor.
Contributor.

Re: How to set a new LDAP Password at server.conf file

oh, and if you please could confirm to me what is the correct server.conf I am supposed to change at the servers it would be great. I found two of them> D:\PPM_Home\ directory and D:\PPM_Home\Server_Conf or should I replace both of them? 

0 Likes
Outstanding Contributor.. Amishra Outstanding Contributor..
Outstanding Contributor..

Re: How to set a new LDAP Password at server.conf file

Hi there,

The easiest way to update such things is by running kConfig command. Please take a backup of the exisiting server.conf, before making any changes. 

Steps below:

1) Stop PPM

2) Launch Cygwin and go to <PPM_HOME>/bin 

3) sh kConfig.sh - swing

4) It will launch a PPM install screen, select the language 

5) Select what you want to do (in this case 'Update server.conf paramters')

6) Select category of server.conf parameters (in your case selecte 'LDAP parameters')

7) Click Next, you will get to update LDAP username, password, url etc. 

😎 Once done, click next and finish it. 

After you have exited from the config screen, run kUpdateHtml.sh and restart your PPM. 

 

Finally, you should be updating server.conf present only in <PPM_HOME>/server.conf, the one is <PPM_HOME>/directory could be a backup. 

Hope this helps

Regards,
Ajay Mishra
tpc99 Contributor.
Contributor.

Re: How to set a new LDAP Password at server.conf file

Thanks a lot, I will try it and let you know the result.

0 Likes
tpc99 Contributor.
Contributor.

Re: How to set a new LDAP Password at server.conf file

Hello,
I did everthing as your guide but the authentication doesn't work as screenshot below.

What else could I try to solve this issue? The LDAP server resource checked that no request is reaching there, additional to that I verified that there is no network barriers denying the communication. The LDAP server uses FIPS mode and BASE-64 encoded X509 certificate file format.

PPM_LDAP_Error.JPG

0 Likes
MIF Super Contributor.
Super Contributor.

Re: How to set a new LDAP Password at server.conf file

Hello,

It seems to be configuration format issue or networking issue.
Can you please post your LDAP_URL and LDAP_SSL_PORT parameters in the server.conf. 

--Remember to give Kudos if you like the solution.

Murat Akbar
MIF Software & Consultancy - Istanbul
http://www.mif.com.tr
0 Likes
Super Contributor.. skbd Super Contributor..
Super Contributor..

Re: How to set a new LDAP Password at server.conf file

After running kConfig.sh, your entries in server.conf should end up looking something like this:

com.kintana.core.server.KINTANA_LDAP_ID=MyLDAPID

com.kintana.core.server.LDAP_URL=ldap://auth.myldapserver.com:999

com.kintana.core.server.KINTANA_LDAP_PASSWORD=#!#--lots of stuff here--#!#

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.