Univention Bugzilla – Bug 50027
[UDM HTTP API] group property of shares/share must be string
Last modified: 2019-10-02 16:07:43 CEST
The "group" property of shares/share object must be sent as a string. When sent as integer an error is returned: Request argument "group" The property Directory owner group of the share's root directory has an invalid value: expected string or buffer This is very confusing, because it is actually an integer (the gidNumber). Accept integers for properties that are semantically numbers.
Yes, I am working on this in a generic fashion. This is currently the way the syntax class is working.
This is solved along with Bug #50047. *** This bug has been marked as a duplicate of bug 50047 ***
OK: group property of shares/share is a int now: $ curl -s -k -X GET -H "Accept:application/json" -u Administrator:univention 'https://m66.uni.dtr/univention/udm/shares/share/cn=DEMOSCHOOL-DemoClass,cn=klassen,cn=shares,ou=DEMOSCHOOL,dc=uni,dc=dtr' | python -m json.tool | grep '"group":' "group": 10426,
UCS 4.4-2 has been released: https://docs.software-univention.de/release-notes-4.4-2-en.html https://docs.software-univention.de/release-notes-4.4-2-de.html If this error occurs again, please use "Clone This Bug".