Hi to everybody,
I have an OPNSense 20.1.3 running as an OpenVPN server, that authenticates users against an OpenLDAP server.
300 users imported from the LDAP until now and currently 100 users connected.
My problem is that when trying to import the remaining users that are defined on the LDAP, the process takes a really long time, aprox. 5" with one user, 30" with 100 users. It's not a linear relationship.
Could it be that some resources are locked? (e.g.: a file being written).
Doesn't seem to be a hardware problem. Load an memory usage are very low.
If someone could give me a hand on this problem it would be much appreciated.
Thanks,
Norberto
Hi.
I reboot the firewall and the LDAP import times returned to normal values (aprox 1 sec for one user).
I don't think this is because few users were connected.
During the "long" imports I noticed that the config.xml was continuously changing the "time" value in:
<revision>
<username>exnaltalef@10.180.0.27</username>
<time>1584580036.1892</time>
<description>/system_usermanager_import_ldap.php made changes</description>
</revision>
- From cli is it possible restart the web interface without affecting any service ?
Thanks
Hi.
The problem reappeared and apparently only occurs when there are many (100 or more) users connected to the VPN.
Any idea ?
Thanks