add attribute into objectclass

From: flor_lai (flor_lai_at_yahoo.com)
Date: 02/24/04


Date: Tue, 24 Feb 2004 09:21:18 -0500

I think my ldif is wrong, Now, I modify to this
dn: CN=StructObjClass1,CN=Schema,CN=Configuration,DC=cadev,DC=hq,DC=corp
changetype: modify
add: mayContain
mayContain : attrib3
-
but I got the other error.
"Add error on line 1: No Such Attribute
The server side error is "The parameter is incorrect."

But those are in my AD dir schema. What issue to cause this problem? Is
permission or other issue?
Thx for help. I am appreicated.

"flor_lai" <flor_lai@yahoo.com> wrote in message
news:ObEyrIn%23DHA.2484@TK2MSFTNGP12.phx.gbl...
> hi,
>
> I create a new attribute and new objectclass. How can I add to the
> objectclass?
>
> objectClasses: ( 1.2.840.113556.1.5.195 NAME 'StructObjClass1' SUP
organiza
> tionalPerson STRUCTURAL MAY (mail ) )
> attributeTypes: ( 1.2.840.113556.1.4.999 NAME 'attrib3' SYNTAX
'1.3.6.1.4.1
> .1466.115.121.1.7' SINGLE-VALUE )
>
> How to write the ldif for adding a "maycontain: attrib3" into the
> StructObjClass1?
>
> This is my ldif script
> dn: CN=StructObjClass1,CN=Schema,CN=Configuration,DC=cadev,DC=hq,DC=corp
> changetype: modify
> add: attributetypes
> mayContain: Attrib3
>
> I got
> There is a syntax error in the input file
> Failed on token starting with 'e' on line 0
>
> I have no idea how 'A' come from.
>
>
> Does any one let me know how to do it / any sample?
>
> Thanks
> FL
>
>
>
>



Relevant Pages

  • Re: LDF file to modify the attributes
    ... changetype: Modify ... add: mayContain ... > I have ADAM and I want to modify the attribute "mayContain" of User class. ...
    (microsoft.public.windows.server.active_directory)
  • RE: Migrating From W2K Server to W2K3 Server
    ... Cannot make this schema object defunct the schema object may be in use as ... Modify the ldapdisplayname and distinguished name of the previous ... # remove 2.5.4.45 from maycontain under the Organization-Person Class ... changetype: Modify ...
    (microsoft.public.windows.server.migration)
  • Re: LDIF syntax for adding an already created custom attribute to OU
    ... changeType: modify ... mayContain: orgCd ... add: schemaUpdateNow ...
    (microsoft.public.windows.server.active_directory)
  • Re: Invalid Syntax - The parameter is incorrect.
    ... changetype: ntdsschemaadd ... adminDisplayName: remoteSourceThree ... changetype: modify ... mayContain: remoteSourceThree ...
    (microsoft.public.windows.server.active_directory)
  • Re: LDF file to modify the attributes
    ... Sachin ... > changetype: Modify ... > mayContain: extensionAttribute1 ... >> Could someone please tell me what all I need to specify in the LDF file? ...
    (microsoft.public.windows.server.active_directory)