掲示板

Problem on pressing Add button in LDAP servers

12年前 に David Calap によって更新されました。

Problem on pressing Add button in LDAP servers

New Member 投稿: 20 参加年月日: 12/01/12 最新の投稿
Hi all,

I have installed LR 6.1 GA on my localhost and is working perfectly. But now I need to install it on another machine, I have installed it and it looks like everything works fine but when I try to Add an LDAP server when I press the Add button it goes to 'General' instead of the adding LDAP Server configuration page.

No message logs or anything that helps.

The difference between the one which is working (localhost) and the other liferay is, in the button code:

localhost button:

<input class="aui-button-input" id="_130_addButton" onclick="location.href = 'http\x3a\x2f\x2flocalhost\x3a8080\x2fgroup\x2fcontrol_panel\x2fmanage\x3fp_p_id\x3d130\x26p_p_lifecycle\x3d0\x26p_p_state\x3dmaximized\x26p_p_mode\x3dview\x26doAsGroupId\x3d18324\x26refererPlid\x3d18335\x26_130_struts_action\x3d\x252Fportal_settings\x252Fedit_ldap_server\x26_130_redirect\x3dhttp\x253A\x252F\x252Flocalhost\x253A8080\x252Fgroup\x252Fcontrol_panel\x252Fmanage\x253Fp_p_id\x253D130\x2526p_p_lifecycle\x253D0\x2526p_p_state\x253Dmaximized\x2526p_p_mode\x253Dview\x2526doAsGroupId\x253D18324\x2526refererPlid\x253D18335\x2526_130_refererPlid\x253D18335\x2526_130_doAsGroupId\x253D18324\x2523_LFR_FN_authentication';" type="button" value="Añadir">


remote machine button:

<input class="aui-button-input" id="_130_addButton" onclick="location.href = location.href.replace(location.hash, '');" type="button" value="Add">


Obviously the URL generated when I press the button is different on each case.

Any idea or help with that?

Thx in advance.
12年前 に Pablo Severin によって更新されました。

RE: Problem on pressing Add button in LDAP servers

New Member 投稿: 2 参加年月日: 12/03/23 最新の投稿
Hello,

I have the exact same problem.
First installation on a windows XP and the LDAP button shows the configuration page.
I took the exact same zip file and moved to a Unbuntu 10.04 server and the LDAP button sends me to the general page.
Nothing in logs.

Any help appreciated,

Thanks,

Just tried with a brand new Debian Squeeze and the problem persist.
I must add that these are virtual machines on VMware ESXi
thumbnail
12年前 に David H Nebinger によって更新されました。

RE: Problem on pressing Add button in LDAP servers

Liferay Legend 投稿: 14915 参加年月日: 06/09/02 最新の投稿
Did you set up the virtual host, mail domain, etc. in the settings in the control panel?

It looks like the OP's links on the second system are still referencing localhost...
12年前 に Pablo Severin によって更新されました。

RE: Problem on pressing Add button in LDAP servers

New Member 投稿: 2 参加年月日: 12/03/23 最新の投稿
Thanks David,

That did the trick!
thumbnail
11年前 に Paulo Grell によって更新されました。

RE: Problem on pressing Add button in LDAP servers

New Member 投稿: 4 参加年月日: 10/03/10 最新の投稿
Perfect, this works for me, thanks David.
thumbnail
8年前 に Karthik Nainupatruni によって更新されました。

RE: Problem on pressing Add button in LDAP servers

Junior Member 投稿: 28 参加年月日: 15/05/05 最新の投稿
Hi David,

i too had the same problem, while hitting ADD button in Ldap section ,it is navigating to General section.
in My portal setting page i have mentioned details as below:

Virtual host:
xxx.com

Mail Domain:
xxx.com

Regards,
Karthik.N
7年前 に Sri Thota によって更新されました。

RE: Problem on pressing Add button in LDAP servers

New Member 投稿: 1 参加年月日: 12/08/03 最新の投稿
I have resolved this issue by adding the following properties in portal-ext file .

tunnel.servlet.hosts.allowed=127.0.0.1,SERVER_IP

redirect.url.security.mode=domain

redirect.url.domains.allowed=
10年前 に Jason Low によって更新されました。

RE: Problem on pressing Add button in LDAP servers

New Member 投稿: 1 参加年月日: 13/07/25 最新の投稿
I have had this problem and found that if I use a browser on the same machine as the web server it works. Once the LDAP server is added a remote browser can then be used to change the details.

Jason
thumbnail
7年前 に Andrew Jardine によって更新されました。

RE: Problem on pressing Add button in LDAP servers

Liferay Legend 投稿: 2416 参加年月日: 10/12/22 最新の投稿
Yeesh -- what if that is not an option? What about cases where you are using a pure server that has no UI?