Foren

Problem on pressing Add button in LDAP servers

David Calap, geändert vor 12 Jahren.

Problem on pressing Add button in LDAP servers

New Member Beiträge: 20 Beitrittsdatum: 12.01.12 Neueste Beiträge
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.
Pablo Severin, geändert vor 12 Jahren.

RE: Problem on pressing Add button in LDAP servers

New Member Beiträge: 2 Beitrittsdatum: 23.03.12 Neueste Beiträge
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
David H Nebinger, geändert vor 12 Jahren.

RE: Problem on pressing Add button in LDAP servers

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
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...
Pablo Severin, geändert vor 12 Jahren.

RE: Problem on pressing Add button in LDAP servers

New Member Beiträge: 2 Beitrittsdatum: 23.03.12 Neueste Beiträge
Thanks David,

That did the trick!
thumbnail
Paulo Grell, geändert vor 11 Jahren.

RE: Problem on pressing Add button in LDAP servers

New Member Beiträge: 4 Beitrittsdatum: 10.03.10 Neueste Beiträge
Perfect, this works for me, thanks David.
thumbnail
Karthik Nainupatruni, geändert vor 8 Jahren.

RE: Problem on pressing Add button in LDAP servers

Junior Member Beiträge: 28 Beitrittsdatum: 05.05.15 Neueste Beiträge
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
Sri Thota, geändert vor 8 Jahren.

RE: Problem on pressing Add button in LDAP servers

New Member Beitrag: 1 Beitrittsdatum: 03.08.12 Neueste Beiträge
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=
Jason Low, geändert vor 10 Jahren.

RE: Problem on pressing Add button in LDAP servers

New Member Beitrag: 1 Beitrittsdatum: 25.07.13 Neueste Beiträge
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
Andrew Jardine, geändert vor 8 Jahren.

RE: Problem on pressing Add button in LDAP servers

Liferay Legend Beiträge: 2416 Beitrittsdatum: 22.12.10 Neueste Beiträge
Yeesh -- what if that is not an option? What about cases where you are using a pure server that has no UI?