Re: LDF file to modify the attributes

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Lee,

Yes, this is what I was looking for.

Thank you very much. You replies have always helped me and solved all of my
problems.

Regards
Sachin

"Lee Flight" <lef@xxxxxxxxxxxxxxx> wrote in message
news:uKq7EMWvFHA.2064@xxxxxxxxxxxxxxxxxxxxxxx
> Hi
>
> assuming that you have your attributes in LDIF format then
> to add them to the user class you would need:
>
>
> dn: CN=User,CN=Schema,CN=Configuration,DC=X
> changetype: Modify
> add: mayContain
> mayContain: extensionAttribute1
> -
>
> dn: CN=User,CN=Schema,CN=Configuration,DC=X
> changetype: Modify
> add: mayContain
> mayContain: extensionAttribute2
> -
>
> dn:
> changetype: modify
> add: schemaUpdateNow
> schemaUpdateNow: 1
> -
>
>
> I'm not sure I understand the rider question but if you are asking about
> adding windows principals to ADAM groups the easiest approach
> is to use ADSI in script or .Net. Check out this recent thread
>
>
http://groups.google.co.uk/group/microsoft.public.windows.server.active_dire
ctory/browse_frm/thread/25fa611e13700f6c/f660c4c46c3fe954#f660c4c46c3fe954
>
> Lee Flight
>
> "Sachin" <annonymous@xxxxxxxxxxxxx> wrote in message
> news:e$ssCCVvFHA.720@xxxxxxxxxxxxxxxxxxxxxxx
> > Hi All,
> >
> > I have ADAM and I want to modify the attribute "mayContain" of User
class.
> >
> > I want to do this with LDF file, as I have to uninstall/install ADAM
> > daily.
> >
> > I want to include following two attributes into the value of
"mayContain"
> > of
> > User class.
> >
> > attributes: extensinAttribute1, extensionAttribute2.
> >
> > Could someone please tell me what all I need to specify in the LDF file?
> >
> >
> > Also, I want to includ the user, "domain\user" into the
> > Roles\Administrator
> > for two DC?
> >
> > Can I achive this through some LDF file or script.
> >
> > Thanks in advance
> > Sachin
> >
> >
>
>


.



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)
  • add attribute into objectclass
    ... I think my ldif is wrong, Now, I modify to this ... mayContain: attrib3 ... > changetype: modify ... > mayContain: Attrib3 ...
    (microsoft.public.platformsdk.security)
  • LDF file to modify the attributes
    ... I have ADAM and I want to modify the attribute "mayContain" of User class. ... I want to do this with LDF file, as I have to uninstall/install ADAM daily. ...
    (microsoft.public.windows.server.active_directory)