Assuming $result is an net::LDAP::Entry object you can get the DN by doing:
$ldap->dn();
Mark
----- Original Message -----
From: "Chris Ronstadt" <not...@ho...>
To: <per...@li...>
Sent: Friday, June 28, 2002 2:28 PM
Subject: get_dn
> Ok, I got that solved thank you, but now I need to run a get_dn to bind
> properly?
>
> $dn = $result->get_dn;
>
> is that the proper line? and where exactly do I put this line? I keep
> getting told: can't call method on undefined line
>
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Caffeinated soap. No kidding.
> http://thinkgeek.com/sf
>
>
|