Hi
I'm trying y´to use the group import REST api in ISVA 10.0.
The required JSON payload should be in the POST should be
{
"admin_id":"sec_master",
"admin_pwd":"xxxxx",
"command":"group import group-DN LDAP-Group-CN"
}
This works fine -- until either the group-DN or the LDAP-GROUP-CN (most likely here) contains a space.
i.e "group import Finance-local cn=economy,ou=sales,o=Branch,dc=top" works fine with curl, wget and Java (httpclient)
but for the life of me I can't get it to work if
" group import Finance-all cn=economy,ou=sales,O=Head Office,dc=top"
unless I use the "Policy Administration" GUI.
"group Import Branch finance cn=economy,ou=sales,o=Branch,dc=top" is impossible (for me at least) to get working.
What should I use in the JSON payload to delimit strings in the command?
Thanks in advance
------------------------------
Anders Domeij
CGI Sweden AB
------------------------------