[SOLVED] Using CreateLDAPEntryRequest I'm trying to figure out how to use CreateLDAPEntryRequest. I'm working in PHP on zimbra 4.5.7 with the ldap util extension installed. I have a number of other soap requests working fine, including GetLDAPEntrysRequest.
My current attempt looks like this:
<ns1:CreateLDAPEntryRequest>
<dn>uid=john.test,ou=people,dc=example,dc=com</dn>
<a n="l">Flagstaff</a>
</ns1:CreateLDAPEntryRequest>
This throws an error:
<soap:faultstring>system failure: createLDAPEntry</soap:faultstring>
and further down a ways in the detail:
Caused by: javax.naming.NamingException: [LDAP: error code 80 - no structuralObjectClass operational attribute]; remaining name 'uid=john.test,ou=people,dc=fh,dc=org'
I've tried a number of variations, but this is the closest I get.
Is there documentation somewhere for this that I'm missing? What's the proper syntax, and what am I doing wrong?
Thanks |