<div dir="ltr"><div><div>Hi,<br><br>I made following eldap search <br>eldap:search(S, [Base, Scope, {filter, eldap:equalityMatch("uid", "matthew")}]).<br><br>and got below result:<br><br>{ok,{eldap_search_result,<br>
[{eldap_entry,<br> "uid=matthew,ou=Support,ou=People,dc=maxcrc,dc=com",<br> [{"objectClass",["posixAccount","top","inetOrgPerson"]},<br> {"gidNumber",["0"]},<br>
{"givenName",["matthew"]},<br> {"sn",["Simarmata"]},<br> {"displayName",["matthew Simarmata"]},<br> {"uid",["matthew"]},<br>
{"homeDirectory",["/home/matthew"]},<br> {"loginShell",["matthew"]},<br> {"cn",["matthew Simarmata"]},<br> {"uidNumber",["64152"]}]}],<br>
[]}}<br><br><br></div>I want to filter based on substring on 'homeDirectory', and submit following eldap search:<br><br>eldap:search(S, [Base, Scope, {filter, eldap:substrings("homeDirectory", [{any,"matthew"}])}, {attributes, ["homeDirectory"]}]).<br>
<br>However I got empty result.<br><br></div>I need help please?<br><br>Thanks,<br>MS<br></div>