user_ldap icon indicating copy to clipboard operation
user_ldap copied to clipboard

ldap:show-config shows no configid with only one LDAP config

Open dercorn opened this issue 7 years ago • 4 comments

The title says it all. This makes it impossible to set config values with ldap:set-config

Please fix.

@PVince81 who can fix this asap?

dercorn avatar Mar 28 '18 07:03 dercorn

You can set the values with something like:

sudo -u www-data ./occ ldap:set-config '' key value

In any case, there should to be a fix to generate an easier configId from the beginning.... I don't know what happened with it.

jvillafanez avatar Mar 28 '18 09:03 jvillafanez

@jvillafanez Currently, the behavior is that config IDs are only generated from the second configuration onwards. Is that by design?

dercorn avatar Mar 29 '18 11:03 dercorn

sudo -u www-data ./occ ldap:set-config '' key value

@jvillafanez the documentation does not say anything about that.

In any case, there should be a fix to generate an easier configId from the beginning.... I don't know what happened to it.

By default, when you create over the web-UI the LDAP is not generated. But the second one is with S01 created.

cdamken avatar Mar 29 '18 12:03 cdamken

https://github.com/owncloud/user_ldap/pull/100

Don't ask me why this isn't consistent with what we have in the UI...

jvillafanez avatar Apr 02 '18 07:04 jvillafanez