Change account provider setting / Re-install from scratch

ldap
openldap
v7

(Pasquale Inglese) #1

NethServer Version: NethServer release 7.5.1804 (final)
Module: ldap

Hi all,
after a hurried installation of Account provider (LDAP) I realized that the URI is ldap://127.0.0.1 and is not reachable from the LAN by third-party applications.
Is there any way to change LdapURI from ldap://127.0.0.1 to ldap://subdomain.mydomain.com without data loss?
Is there a possibility to edit the settings without doing damage or do I have to uninstall and install from scratch?

Thanks,
Pasquale


(Marc) #2

I think, on the client, you can just replace the host address in the URI with the server IP or FQDN. Make sure openldap service’s port is accessible from green zone.

Here’s and example of a 3rd. party app connecting to ldap:


NethServer developer documentation have more info that could be of use.


(Pasquale Inglese) #3

carry over the commands used to change LdapURI if they can be useful to others:

config setprop sssd LdapURI ldaps://directory.domain.tld
signal-event nethserver-sssd-save