PC Review


Reply
Thread Tools Rate Thread

Re: Changing Schema

 
 
Robbie Allen
Guest
Posts: n/a
 
      3rd Sep 2003
Regarding 1, you need to specify the full DN with -b and you need to provide
credentials. AD doesn't allow you to search the schema anonymously by
default. This worked for me:

ldapsearch -h dc01 -b "cn=schema,cn=configuration,dc=test,dc=local" -s
onelevel -D "(E-Mail Removed)" "objectclass=*"

As far as 2 goes, location is part of the default AD schema, but it is not
associated with users by default.

Robbie Allen
http://www.rallenhome.com/


"Suthakar" <(E-Mail Removed)> wrote in message
news:0e9a01c3723c$84f79c50$(E-Mail Removed)...
> Hello all,
> 1. How do I get the schema dump using ldapsearch?
> I tried ldapsearch -h <hostname> -b"cn=Schema" -s
> base "objectclass=*"
> But I got this error
> Additional info: 000020D6: SvcErr: DSID-03100690, problem
> 5012 (DIR_ERROR), data
> I tried with Directory Manager also but same error.
>
> 2. How do I add "location" attribute into
> OrganizationalPerson using ldapmodify command. I
> hope "location" attribute is not used by AD since we need
> to use it for adding location code.
>
> I want to do everything using ldap command line not using
> MMC.
>
> Thanks for your time.
> Suthakar
>



 
Reply With Quote
 
 
 
 
Suthakar
Guest
Posts: n/a
 
      3rd Sep 2003
Great! It works. Thanks for quick response.

Thanks
Suthakar

>-----Original Message-----
>Regarding 1, you need to specify the full DN with -b and

you need to provide
>credentials. AD doesn't allow you to search the schema

anonymously by
>default. This worked for me:
>
>ldapsearch -h dc01 -

b "cn=schema,cn=configuration,dc=test,dc=local" -s
>onelevel -D "(E-Mail Removed)" "objectclass=*"
>
>As far as 2 goes, location is part of the default AD

schema, but it is not
>associated with users by default.
>
>Robbie Allen
>http://www.rallenhome.com/
>
>
>"Suthakar" <(E-Mail Removed)> wrote in message
>news:0e9a01c3723c$84f79c50$(E-Mail Removed)...
>> Hello all,
>> 1. How do I get the schema dump using ldapsearch?
>> I tried ldapsearch -h <hostname> -b"cn=Schema" -s
>> base "objectclass=*"
>> But I got this error
>> Additional info: 000020D6: SvcErr: DSID-03100690,

problem
>> 5012 (DIR_ERROR), data
>> I tried with Directory Manager also but same error.
>>
>> 2. How do I add "location" attribute into
>> OrganizationalPerson using ldapmodify command. I
>> hope "location" attribute is not used by AD since we

need
>> to use it for adding location code.
>>
>> I want to do everything using ldap command line not

using
>> MMC.
>>
>> Thanks for your time.
>> Suthakar
>>

>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't create schema using .adp (or transfertext method renderred useless without schema) kreplech@gmail.com Microsoft Access 1 23rd Jun 2006 09:49 PM
Schema Library - Update Schema Button =?Utf-8?B?R29vd2E=?= Microsoft Word Document Management 4 24th Jan 2006 08:10 PM
VS Project XML Schema (.csproj schema) Rizaan Jappie via DotNetMonster.com Microsoft C# .NET 1 4th Jan 2005 03:43 PM
DataSet ReadXmlSchema fails on a schema with (xsd:)imported schema Eric van Wijk Microsoft ADO .NET 0 27th Jul 2004 05:14 PM
2000 Schema - 2003 Schema >> Sunday Ryan Rinehart Microsoft Windows 2000 Active Directory 0 15th Aug 2003 07:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:25 PM.