Re: Base Distinguished name

From: Brian Desmond [MVP] (desmondb_at_payton.cps.k12.il.us)
Date: 04/19/04


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.
>


Relevant Pages

  • Re: Base Distinguished name
    ... Use of included script samples are subject to the terms specified at ... 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. ... > What I am trying to do is set up Cognos Impromptu Web Reports. ... > 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. ...
    (microsoft.public.win2000.active_directory)
  • Base Distinguished name
    ... Can someone tell me how to extract the Base Distinguished Name ... What I need is a simple VBScript or JScript that ... What I am trying to do is set up Cognos Impromptu Web Reports. ... The information in the Cognos documentation is fairly useless ...
    (microsoft.public.win2000.active_directory)
  • Re: Do they still make ONC/TPC charts?
    ... Except the only format I've found it in are PDF files, which are useless ... for trying to extract the data into a database. ...
    (rec.aviation.misc)
  • RE: Does anyone read unanswered threads?
    ... Once you got to the page, there are a million ways to extract ... information, but opposite to navigating to the page by VBA, ... which is simple, but useless, extracting the information ...
    (microsoft.public.word.vba.beginners)
  • Re: extracting information
    ... Lars Roland wrote: ... > I have a large collection of files where most of the information's are useless, ... > what i want is to extract the information i need out of them and ...
    (comp.unix.shell)