Replace Remote LDAP which is connected to itself

NethServer Version: 7.9.2009
Module: Users & Groups

Hi everyone!

I setup my Nethserver more than a year ago and can’t really remember how I was able to use Remote LDAP as account provider which is connected to itself.
I think I was like “It’s working, do not touch it ever again” :joy:

It is connected to itself like this:

The problem here is that I would like to create a new user however, Remote account provider is read-only and can’t find an LDAP manager that can connect to it in read-write mode.

Is there any way to change the provider from Remote to the local one without loosing users?

(I’m afraid that it will not be able to recognize the emails. I have backups but still don’t really want to roll the whole system back.)

Thank you in advance! :slight_smile:

I could reproduce with

config setprop sssd LdapURI ldaps://<LAN IP of Neth>
signal-event nethserver-sssd-update

After this the local LDAP was shown as remote and was read-only.

Here it worked to just change it back to ldap:// The users (and mail addresses) were still there because the LDAP server itself wasn’t touched but it’s always good to have a backup/snapshot in such cases.

config setprop sssd LdapURI ldap://
signal-event nethserver-sssd-update


It seems to be the solution. It shows up as Local LDAP and can create new user.
Thank you so much for your help! :slight_smile:

1 Like