Hi All,
is there a specific occ command to ‘disable’ a specific LDAP config from the command line?
I can only find a delete command.
Hi All,
is there a specific occ command to ‘disable’ a specific LDAP config from the command line?
I can only find a delete command.
ok solved the problem myself after some occ digging;
sudo -u www-data php occ ldap:set-config s02 ldapConfigurationActive 0
where s02 is the ldap config ID and 0 = disabled
Thank you for posting this!
Because of this post I was able to get into the NC settings and disable a bad config (admin settings page was throwing an Internal Service Error when LDAP was enabled. Disabling the LDAP plugin removes the config options.) While I had to completely delete the LDAP entry and re-add it, I did not lose any data or settings while doing that!
Thank you
Awesome bro, you save my life/time
This saved my life. Thanks!
Heya,
on moving to Hub 9 (30.0.2) I got the same LDAP error and I could stop it using
sudo -u www-data php occ ldap:delete-config s01
Hope that this helps anyone.
Cheers,
Antonio