Authenticating LDAP connection with current windows user's credentials?



Hi, I know this may be slightly off topic as it relates to using
windows authentication and credentials, but I'm writing a program that
needs to access an Active Directory LDAP, run a few queries, make some
changes, etc... The problem I'm having is that the system admins do
not like the idea of storing the username and password used for
authenticating to the LDAP in a file on the file system (even though
access can be restricted using file permissions). The goal is to use
the program I'm creating as a system job to be run once a day for some
maintenance, and do all of the operations with the credentials of the
"user" running the job.

I can authenticate with my own credentials (read-only access in the
ldap) and perform most of my queries with no problems. What I can't
quite figure out is how to (if it is even possible) use the jndi but
authenticate with the credentials of the user running the tool.

Any ideas? Can you point me anywhere?

Thanks for your help,
Will

.



Relevant Pages

  • Re: Authenticating LDAP connection with current windows users credentials?
    ... needs to access an Active Directory LDAP, run a few queries, make some ... and do all of the operations with the credentials of the ... I can authenticate with my own credentials (read-only access in the ... ldap) and perform most of my queries with no problems. ...
    (comp.lang.java.programmer)
  • Re: HTTP 500 Error - Local Security Authority Cannot be contacted
    ... · If you are immediately brought to the error screen (without being ... and those credentials are no longer valid. ... When I was seeing this error with IE, I was able to authenticate ... Disabling IWA from the server allows me to authenticate (i.e. using Basic ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: How do I bind to LDAP with a username/password
    ... authenticating against an LDAP server with a username and password. ... Failure to bind indicates a failure to authenticate. ... You can attempt to bind with some given credentials, ...
    (comp.lang.java.programmer)
  • Re: Accessing ActiveDirectory through LDAP with .NET
    ... ActiveDirectory using LDAP via LDAP's credentials vs using Microsoft's ... authenticate against it, I would need to include some sort of credentials ...
    (microsoft.public.dotnet.framework)
  • Re: Accessing ActiveDirectory through LDAP with .NET
    ... ActiveDirectory using LDAP via LDAP's credentials vs using Microsoft's ... authenticate against it, I would need to include some sort of credentials ...
    (microsoft.public.dotnet.framework.aspnet.security)