Re: Authenticating LDAP connection with current windows user's credentials?



On Feb 5, 1:12 pm, "tiewknvc9" <aot...@xxxxxxxxxxx> wrote:
have you read....

http://www-128.ibm.com/developerworks/tivoli/library/t-ldap01/


I just looked over that, and though I didn't read that when setting up
my code initially I had something very similar. Much of the meat of
that article covers the installation, setup and theory behind an ldap
server. It does have some Java code at the bottom, but it uses the
"simple" method of authenticating passing in a user name and password
via a hashset.

My code already does all of that correctly, the problem is that the
sys admins won't give me the username and password to store in the
code (which would be a bad idea anyway), and the user name and
password can't sit in a file on disk. The program must obtain a
connection to the ldap using the currently logged on credentials, or
the credentials of the person running the job.

Thanks for your help though!
Will

.



Relevant Pages

  • Re: check a user password
    ... ADAM user you'll have perform an LDAP Bind operation, ... However, as I said in another thread, LDAP is not an *authentication* protocol nor is "LDAP server" an authentication service. ... The LDAP bind operation is meant to "validate" the LDAP clients credentials in order, for the server, to be able to perform directory "authorization" checks. ... between a SQL client and a SQL server, or an authenticated session between a "Windows" client and a "File server" service. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Default Security for LDAP
    ... the LDAP request containing the credentials is not encrypted. ... password when it gets sent from the website to AD via ldap to verify the ... Enabling SSL does this just encrypt the password traveling between the ...
    (microsoft.public.windows.server.active_directory)
  • Re: Default Security for LDAP
    ... machine in this case) performs the LDAP operation. ... using Windows Negotiate authentication which uses Kerberos or NTLM and is ... secure by default in that plaintext credentials are not sent on the wire. ... you might consider implementing SSL on your DCs and asking these ...
    (microsoft.public.windows.server.active_directory)
  • Impersonating and Windows Authentication
    ... I'm having some trouble with LDAP and Active Directory on Win2k3 ... I use Windows Authentication and the code ... No credentials are sent together with LDAP string [new ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Default Security for LDAP
    ... machine in this case) performs the LDAP operation. ... using Windows Negotiate authentication which uses Kerberos or NTLM and is ... secure by default in that plaintext credentials are not sent on the wire. ... whether or not you really need SSL or some other transport layer ...
    (microsoft.public.windows.server.active_directory)