Re: Listing domain users



As Joe remarked...

Perhaps because you are trying to connect to the LDAP server using
ASP's credentials which are shown in
System.Security.Principal.WindowsIdentity.GetCurrent.Name.

Maybe try to use the DirectoryEntry (String, String, String)
constructor as shown in the article that Luke referenced and provide
credentials that have rights to query AD.

Might be a better topic for the AD forum now.

I'll tell you what though, if you go and flesh out the whole
RoleProvider interface that uses NT groups instead of AzMan and isn't
half implemented like the WindowsTokenRoleProvider then please share it
with me.

.



Relevant Pages

  • Re: Forward Credentials from ASP.NET Web-application to ASP.NET Web-Service?
    ... Yes, for Basic auth, the authorization header will contain a string like: ... You can definitely get the Default Credentials thing to work as well using ... Kerberos) in order for those credentials to work on a different machine on ...
    (microsoft.public.dotnet.security)
  • Re: ADFS Development Issues
    ... Public Function IsUserAuthenticated(ByVal strAdPath As String, ... On Apr 22, 5:23 am, "Joe Kaplan" ... You can use that to build a directoryentry to use as the search root. ... user's credentials. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Mixing authentication type flags & By design Bug from MS ?
    ... I've not seen behavior where you specify credentials, ... we were trying to use Signing and Sealing with the Secure flag. ... >> public static DirectoryEntry SecureConnectDC(string adsPath, string usr, ...
    (microsoft.public.dotnet.security)
  • Re: Stored Procedure from Access
    ... i don't want it to prompt for credentials. ... connection string within access to access a particular sql server. ... Authentication for the SQL Server connection, but if you're not going to ...
    (microsoft.public.access.formscoding)
  • Re: .NET client sending long strings error
    ... It was a problem with network credentials with axis and .net. ... ..net first sends with no credentials, when it gets rejected, it sends it ... > it sends the string perfectly. ...
    (microsoft.public.dotnet.framework.webservices)