Re: How to get LDAP directory server

From: Jan Peter Stotz (jp_news_at_gmx.de)
Date: 05/27/05


Date: Fri, 27 May 2005 11:15:23 +0200

VK schrieb:

> We have installed AD and now I want to authenticate the user against AD via
> IIS and get the user information via LDAP. However I dont know the LDAP
> Directory. How do I get the LDAP directory?

You can use this function:

Function GetADsDomainName as String
        dim objRootDSE
        objRootDSE = GetObject("LDAP://rootDSE")
        return objRootDSE.Get("DefaultNamingContext")
End Function

It returns the LDAP-path of your ActiveDirectory:

For Example "dc=yourdomain,dc=com".

Jan



Relevant Pages

  • Re: Anonymous LDAP browsing in Outlook 2003
    ... I have set up two LDAP directory entries into my Outlook 2003 SP1. ... the first LDAP, I'll call it LDAP_Auth, entry I have set the domain\userID ... >> can I grant the proper permissions to allow anonymous users to access the ...
    (microsoft.public.windows.server.active_directory)
  • Re: Anonymous LDAP browsing in Outlook 2003
    ... If you are running WS 2003, then you need to first enable Anonymous ldap ... I have set up two LDAP directory entries into my Outlook 2003 SP1. ... permission is not typically granted on the LDAP server ... >>> can I grant the proper permissions to allow anonymous users to access ...
    (microsoft.public.windows.server.active_directory)
  • RE: LDAP directory
    ... Subject: LDAP directory ... the problem with LDAP is the fact that no standard is in place for ACL. ... A good example is a LDAP server that is used in a single signon solutions ... ldap security will be secure, if you set proper access permissions. ...
    (Pen-Test)
  • Re: Anonymous LDAP browsing in Outlook 2003
    ... There are no special permissions to set up for VLV. ... objects using normal LDAP searches, then they will also be visible via VLV. ... I have defined the LDAP directory and I am able to ...
    (microsoft.public.windows.server.active_directory)
  • RE: LDAP directory
    ... Subject: LDAP directory ... ldap security will be secure, if you set proper access permissions. ... For more information on SecurityFocus' SIA service which ...
    (Pen-Test)