Hi,

On Tuesday 28 September 2004 21:23, Jason Kiebzak wrote:
> I have been trying to find a way to bind to the Active Direcotry
> without having to store a username and password in my script. Our
> Directory doesn't support annoymous binds, thus I am unable to return
> any objects if I bind this way.
>
> Is there anyway to use the current credentials that the sript is
> running under in order to do bind? Basically, is there a way to fully
> bind to AD without having to store a username and password in the
> script?
It depends upon whether there is a way to get the credentials your
script is running under from the session / OS.

perl-ldap does not provide such a feature.

Alternatively the script can ask the caller for its DN and password to bind 
with (either by commandline arguments or interactively).

Hope this helps
Peter

-- 
Peter Marschall
eMail: [EMAIL PROTECTED]

Reply via email to