Re: Base Distinguished name
From: Brian Desmond [MVP] (desmondb_at_payton.cps.k12.il.us)
Date: 04/19/04
- Next message: Brian Desmond [MVP]: "Re: Making the case"
- Previous message: Brian Desmond [MVP]: "Re: How to limit dfs replica access to just one share?"
- In reply to: kstahl: "Base Distinguished name"
- Next in thread: kstahl: "Re: Base Distinguished name"
- Reply: kstahl: "Re: Base Distinguished name"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 18 Apr 2004 22:26:29 -0500
With ADSI you can do a GetObject(RootDSE). You could then grab the aDsPath
property, which should have the DN.
-- -- Brian Desmond Windows Server MVP desmondb@payton.cps.k12.il.us http://www.briandesmond.com "kstahl" <ktsahl@yahoo.com> wrote in message news:HaednfTgn-MPXR_dRVn_iw@comcast.com... > Can someone tell me how to extract the Base Distinguished Name > from a domain? What I need is a simple VBScript or JScript that > will extract this information by only knowing the name of the > domain in the form of xxx.xxx.com. > > References to the Win2K Resource Kit are useless to me because in > this particular case I don't have access to it and the domain > administrator doesn't want to be bothered. > > What I am trying to do is set up Cognos Impromptu Web Reports. Do > you LDAP authentication I need to know the base distinguished > name. I have tried using several scripts that print out items > from ADS, but I just can't determine out of everything that I am > seeing what the base distinguished name would be. > > The information in the Cognos documentation is fairly useless > because the authors apparently made the assumption that the whole > world would adapt their naming scheme and that having done so > their default settings would work everywhere. Obviously that is a > false assumption, but they provide no assistence to help anyone > determine the base distinguished name. > > Any help appreciated. >
- Next message: Brian Desmond [MVP]: "Re: Making the case"
- Previous message: Brian Desmond [MVP]: "Re: How to limit dfs replica access to just one share?"
- In reply to: kstahl: "Base Distinguished name"
- Next in thread: kstahl: "Re: Base Distinguished name"
- Reply: kstahl: "Re: Base Distinguished name"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|