Sample LDAP Structure:
root
-> cn=Accounts
-> cn=Hr
-> cn=Contacts
-> cn=Bob Smith
-> cn=Dave Green
-> cn=Mark Down
|->
-> cn=Mark Down
-> uid=012234-123456-951230-711388
-> mail=email@address.com
-> phone=02081234567
-> objectclass=Contact
|_>
-> uid=568745-974597-795362-123456
-> objectclass=mail
-> record= EMAIL CONTENTS
-> datetime=2009/03/18 22:00
I can connect to the LDAP and that works fine.
But now I have 2 'simple' questions..
Using a html form I need to search for the correct Contact based on there phone number.
Then display the contact details and any email contents.
How do I search for (in this example) 02081234567 and then get the associated Email records ?
Thanks 🙂