LDAP Query string
Hi,
I have below LDAP Structure:
o=org,ou=asset,ou=ActiveDirectory,cn=ActiveDirectory
under cn=Active directory I have few OUs, now I would want to display these OUs on to the user form screen. Would appreciate if any body can help me out in builiding this ldap query.
Below is the xml snippet which is presently returning an empty list:
<Rule name='getADCapabilities'>
<<defvar name='ADCapability'>
<invoke name='getResourceObjects' class='com.waveset.ui.FormUtil'>
<rule name='RuleLibrary example Logic:getCallerSession'/>
<s>Group</s>
<s>LdapUser</s>
<map>
<s>searchContext</s>
<s>cn=AD,ou=AD, ou=assets, o=org</s>
<s>searchScope</s>
<s>subTree</s>
<s>searchFilter</s>
<concat>
<s>&(objectClass=organizationalunit)</s>
</concat>
<s>searchAttrsToGet</s>
<list>
<s>ou</s>
</list>
</map>
</invoke>
</defvar>
<block>
<ref>ADCapability</ref>
<get>
<get>
<ref>ADCapability</ref>
<i>0</i>
</get>
<s>ou</s>
</get>
</block>
</block>
</Rule>

