Re: How to Get Schema Information...

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Hank Arnold (rasilon_at_aol.com)
Date: 06/09/04


Date: Wed, 9 Jun 2004 06:12:23 -0400

Found the problem. I had specified the second "dc=" statement as

dc=com

instead of

dc=local

-- 
Regards,
Hank Arnold
"Eric Fleischman [MSFT]" <efleis@online.microsoft.com> wrote in message
news:eCW4Fs8SEHA.3968@TK2MSFTNGP09.phx.gbl...
> It means you probably named the domain wrong, or you had a domain lookup
> failure (IE we couldnt' find a DC due to name resolution). It is typically
> the former.
>
> Try adding the -s switch then the name of the server, so:
> ldifde -f schema.ldf -d "cn=schema,cn=configuration,dc=domain,dc=com" -s
> DomainControllerName
>
> Or you can use the IP address of the DC instead of the name. That will
take
> a domain name lookup off of the table at least.
>
> -- 
> Eric Fleischman [MSFT]
> This posting is provided "AS IS" with no warranties, and confers no rights
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
>
>
> "Hank Arnold" <rasilon@aol.com> wrote in message
> news:OFWUSh7SEHA.2128@TK2MSFTNGP09.phx.gbl...
> > Eric,
> >
> >    I just ran this on our DC and this is the content of the ldif.log
file.
> > I've removed the DC and domain names due to paranoia.... I was logged on
> > as
> > "administrator". Any idea what this means?? TIA
> >
> > Connecting to "<DC>.<DOMAIN>"
> > Logging in as current user using SSPI
> > Exporting directory to file schema.ldf
> > Searching for entries...
> > Writing out entries
> > No Entries found
> >
> > -- 
> > Regards,
> > Hank Arnold
> > >
> >> And you can do the same in ad:
> >> ldifde -f schema.ldf -d "cn=schema,cn=configuration,dc=domain,dc=com"
> >>
> >> That will dump the schema to an ldif file and you can then read through
> >> it
> >> much the same way you would for AD.
> >
> >
>
>