how to get a LDAP user with Identity.Name?
Date: 2 Jul 2004 14:24:19 -0700
I've a fairly simple pb:
In an ASP.NET app, I ask for the user identity using:
I'm using Windows integrated authentication + impersonation.
The value returned is "DOMAIN\MYLOGON"
I'm trying to look for more info in the LDAP about this user, but I
have some problem getting the attribute matching that string.
For the login auth. the attribute "samaccountname" sounds perfect to
me. For the domain, it does not sound that there is a standard way to
The question is: is it normal that I must decompose the
"DOMAIN\MYLOGON" string and make the LDAP query only based on MYLOGON
value? Or is there a way to query LDAP with the whole string ? with
- Re: ADSI and NDS help
... I didn't think of appending a blank string. ... I have tested the LDAP query in ... trying to locate a user object in eDirectory via LDAP using ADSI. ...
- Re: windows active directory ldap output encoding
... The Unicode encoding of LDAP attributes with syntax Directory String is ... I cannot tell whether this Unicode string of length 3 is correct since I cannot read Chinese and I probably don't have the necessary fonts installed. ...
- LDAP Search
... I'm trying to do LDAP searches, ... Private _path As String ... Public Sub New ... Compiler Error Message: BC30311: Value of type ...
- Re: Directorysearcher problems with charactersets
... The only problem at the moment is that I can only get a string back from the ... DirectoryServices don't allow me to get to this raw binary information, ... the LDAP in stead of the return 'interpreted' string from DirectoryServices. ...
- Re: LDAP Connection help
... Lloyd ... >> what is stored in LDAP and then query for further information. ... > What you want to do here is validate by recieving a LDAP connection. ... > public DirContext getDirContext(String userName, ...