On 8/3/06, Alexander Foken <[EMAIL PROTECTED]> wrote:
Asif Iqbal wrote:

> On 8/3/06, *Alexander Foken* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     First, add "use strict;" and "use warnings;" to your script.
>
>     $mesg->code() returns true (defined value, not zero and not an empty
>     string) and $mesg->error() returns "No such object".
>
>
>
> I am still getting "No such  object" error on the same line.

Of course, because your query still returns no result.

> I was querying my ldap entry and I know I exist ;-)

Your query still does not return the desired entry. Use
http://www-unix.mcs.anl.gov/~gawor/ldap/ or similar to browse the ldap
directory and find the DN of your entry. Then try to search for the DN.

Excellent!! My DN was wrong. Thanks a lot. It now works like a champ


Alexander


--
Alexander Foken
mailto:[EMAIL PROTECTED]  http://www.foken.de/alexander/




--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu

Reply via email to