Re: How to get LDAP directory server
From: Jan Peter Stotz (jp_news_at_gmx.de)
Date: 05/27/05
- Next message: VK: "Re: How to get LDAP directory server"
- Previous message: Jan Peter Stotz: "Re: How to get ou of an user"
- In reply to: VK: "How to get LDAP directory server"
- Next in thread: VK: "Re: How to get LDAP directory server"
- Reply: VK: "Re: How to get LDAP directory server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Next message: VK: "Re: How to get LDAP directory server"
- Previous message: Jan Peter Stotz: "Re: How to get ou of an user"
- In reply to: VK: "How to get LDAP directory server"
- Next in thread: VK: "Re: How to get LDAP directory server"
- Reply: VK: "Re: How to get LDAP directory server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|