Isnt there any function to directly read object. You know the exact path (full DN) then why you need to search.....just read it.
-----Original Message----- From: Jon Roberts [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 11:25 AM To: kalyanasundaram S Cc: [email protected] Subject: [ldap] Re: reducing serarch kalyanasundaram S wrote: > For reading the object i give basedn to that path and do ldapsearch and firstentry i use . > I know the exact path. Is there any way to read the object without a ldap_search operation.. > becaz i feel avoiding ldap_search will improve efficiency.. > is there any way do to that. For your search, use the dn of the entry as the search base, use "base" as the scope, and use the trivial filter objectclass=*. Jon Roberts www.mentata.com --- You are currently subscribed to [email protected] as: [EMAIL PROTECTED] To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the SUBJECT of the message. DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. --- You are currently subscribed to [email protected] as: [EMAIL PROTECTED] To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the SUBJECT of the message.
