What Is RootDSE?


What Is RootDSE ?

Most times, you will not hardcode the name of your directory server but will use serverless binding instead. Serverless binding allows you to connect to your Active Directory infrastructure without knowing the name of any servers in that domain. To connect to the Active Directory infrastructure, you use the LDAP rootDSE mechanism. The following is the AdsPath that connects to a directory server in the user 's current domain:

 LDAP://rootDSE 

From rootDSE , you can retrieve properties that describe the domain, such as the default naming context, the name of the server, the current time, and the supported LDAP version. The following Visual Basic sample shows some of the more common properties you can retrieve using rootDSE . See the ADSI documentation for the complete list of properties.

 Set orootDSE = GetObject("LDAP://rootDSE") MsgBox orootDSE.get("currentTime") MsgBox orootDSE.get("defaultNamingContext") MsgBox orootDSE.get("RootDomainNamingContext") MsgBox orootDSE.get("ServerName") MsgBox orootDSE.get("DnsHostName") 
start sidebar
Mailbox-Enabled vs. Mail-Enabled

The most basic difference between mailbox-enabled and mail-enabled users in Exchange is that mail-enabled users have a valid e-mail address in the system but might not have a local mailbox on the Exchange server. A mailbox-enabled user has both a valid e-mail address and a local Exchange Server mailbox in the system. You can think of mail-enabled recipients as custom recipients from Exchange 5.5.

end sidebar
 



Programming Microsoft Outlook and Microsoft Exchange 2003
Programming MicrosoftВ® OutlookВ® and Microsoft Exchange 2003, Third Edition (Pro-Developer)
ISBN: 0735614644
EAN: 2147483647
Year: 2003
Pages: 227
Authors: Thomas Rizzo

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net