-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
The first created LDAP config has the ID `` (empty string). That makes it hard to use the OCS API in #3162 to manipulate this, because then the response is:
$ curl -X GET http://admin:admin@localhost/server/ocs/v2.php/apps/user_ldap/api/v1/config/ -H "OCS-APIRequest: true" -i
<?xml version="1.0"?>
<ocs>
<meta>
<status>failure</status>
<statuscode>404</statuscode>
<message>Invalid query, please check the syntax. API specifications are here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services. DEBUG OUTPUT:
</message>
</meta>
<data/>
</ocs>
@blizzz Any idea how to prevent this and fix it?