SearchDirectoryRequest don't return anything Hi,
I'm trying to use SearchDirectoryRequest to see if an alias is already taken. I have build my query in Apache Directory Studio and it's working fine there.
So, I'm using the same query in the SOAP call :
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<authToken>xxxxxxx</authToken>
<sessionId id="3824">3824</sessionId>
</context>
</soap:Header>
<soap:Body>
<SearchDirectoryRequest domain="mydomain.com" maxResults="1" sortAscending="0" attrs="uid" xmlns="urn:zimbraAdmin">
<query>
(&(objectClass=zimbraAlias)(uid=claudie.trembl ay))
</query>
</SearchDirectoryRequest>
</soap:Body>
</soap:Envelope>
But the query don't return anything, even if the alias is already in a existing account.
__________________
ZCS 6.05 on CentOS 5.3 (VMWare ESX 4)
|