Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LAM cannot update initial configuration #82

Closed
sogyals429 opened this issue Dec 11, 2019 · 5 comments
Closed

LAM cannot update initial configuration #82

sogyals429 opened this issue Dec 11, 2019 · 5 comments

Comments

@sogyals429
Copy link

After I setup LAM then i am not able to update the config. The page is stuck in a loop.
I have attached the screenshot of before and after below.
Screen Shot 2019-12-11 at 4 32 21 pm
Screen Shot 2019-12-11 at 4 32 30 pm

@gruberroland
Copy link
Contributor

What exactly do you mean with "stuck in a loop"? Does the save button show the edit page again and again? Are values not saved?

@sogyals429
Copy link
Author

Yes when i click on the save button it asks for the lam password and then redirects back to the same screen with the values unchanged.

The ldap account manager is running on centos 7 and I am guessing its an issue with the OS as it was working fine on Ubunutu. The only thing is that I am not able to figure out what setting in the OS is causing the isse.

Any help would be appreciated. Thanks.

@sogyals429
Copy link
Author

sogyals429 commented Dec 13, 2019

After checking the HTTPD logs i found this error that is being logged.

PHP Notice: Undefined index: header in /usr/share/ldap-account-manager/templates/config/confmain.php on line 153

Undefined index: header in /usr/share/ldap-account-manager/templates/config/confmain.php on line 153, referer: https://directory.dev1.littlepay.io/lam/templates/config/moduleSettings.php

@sogyals429
Copy link
Author

sogyals429 commented Dec 13, 2019

I figured the issue out. It's cause I have two ldap servers on a load balancer hence the page was switching between both the instances. Apologies for the trouble.

@gruberroland
Although I would like to request a feature for allowing replication for LDAP Account Manager

@gruberroland
Copy link
Contributor

See here: https://www.ldap-account-manager.org/static/doc/manual/aph.html
Basically, you need to activate session stickiness on the LB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants