Re: ldap connection problem



Thanks Paul. I think i solved the problem. Here's how i did it:
1. I passed the filter but without the "ou=people" in the Ldap path
(LDAP://directory.x.y/dc=x,dc=y)
2. This returned the uid from the server.
3. i then built the ldap path again with the necessary DN, hence the final
ldap path was
LDAP://directory.x.y/uid=12345,ou=People,dc=x,dc=y

Thanks for all your efforts Paul

"Paul Clement" wrote:

> On Tue, 2 Aug 2005 12:31:06 -0700, "Amar" <Amar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> ¤ Thank you for looking into the matter.
> ¤ I tried implementing the primary token thing but it is of no avail.
> ¤ Paul, currently my application is using "Anonymous" user on IIS and IIS
> ¤ controls the password for the user. I also have the statement "<identity
> ¤ impersonate="true"/>"
> ¤ set in my web.config file.
> ¤ What i dont understand is that the college ldap server required no
> ¤ authentication and i can bind anonymously.
> ¤ I really appreciate your help.Looking forward to your reply!
> ¤ Thanks
>
> You might have some problem accessing Active Directory with the Anonymous account, since it's a
> least privileged account.
>
> Can you use Basic or Integrated Windows authentication with a domain account and impersonation? If
> not, you may need to run this web application under an account that has sufficient privileges for
> Active Directory access.
>
>
> Paul
> ~~~~
> Microsoft MVP (Visual Basic)
>
.



Relevant Pages

  • Re: ASPNET permissions woe - even when writing to a local drive that is mapped
    ... ¤ Hi, ... Server 1 - Web server running IIS, ftp import and export folder, ... uses ASPNET account which is only a local account. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Using MAPIControls with VB6
    ... ¤ Paul, ... what I'm doing now - simply making the target account the default. ... mail server. ... You may also want to consider an SMTP component that will provide the flexibility that you need to ...
    (microsoft.public.vb.general.discussion)
  • Re: Using MAPIControls with VB6
    ... "Paul Clement" wrote: ... ¤ Paul, ... what I'm doing now - simply making the target account the default. ... mail server. ...
    (microsoft.public.vb.general.discussion)
  • Re: Custom Login using Active Directory
    ... How do I configure the LDAP path: ... AD Server is "server.microsoft.com" ... Second problem: ... account and enter the account details in the Authentication Methods ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Error accessing MS Access database with Linked Tables on files
    ... of using UNC path. ... How can I check that my app is running under the local anonymous account? ... that I have set (unchecking the "Allow IIS to control passwords" checkbox). ... ¤ I have a ASP.Net application that uses a MS Access database. ...
    (microsoft.public.dotnet.framework.adonet)