Question Modification schéma AD

Plus d'informations
il y a 13 ans 1 mois #13845 par SiSMik
Modification schéma AD a été créé par SiSMik
Bonsoir,

J'ai fait quelques recherches et pas vraiment de résultats concluants donc je poste ici en désespoir de cause.

Un besoin identifié par un client pour l'évolution de son AD vient d'être validé en lab et 3 attributs doivent être ajoutés pour les \"users\".

A la main pas de problème pour le faire, sauf que la il y a 200+ sites (et pas de trusts) :)

Donc si quelqu'un a une idée de piste à fouiller ou si il l'a déjà fait, je suis preneur !!

Bonne soirée

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 13 ans 1 mois #13848 par Matthew BETTON
Réponse de Matthew BETTON sur le sujet Re:Modification schéma AD
Salut Fabien,

Ce que tu cherches à faire c'est ajouter des attributs à la Class User. Il s'agit donc d'une extension de schema.

Les seules fois où j'ai eu à faire une extension de schéma, c'était pour des produits tels que SCCM ou \"intégration de cartes de Management HP iLO à l'AD\". Le fichier ldf, l'outil et la manip. étaient donc fournis / connus ...

Cette opération est à effectuer sur le DC qui à le rôle FSMO \"Schema Master\".

Quelques billes sur le sujet :

Pour voir l'historique des modifications :

PowerShell Active Directory Schema Update Report

Pour les manipulations à effectuer Avant et Après (mode ceinture et bretelles) :

Powershell Code: Scripts to Assist with Schema Update/Modification


Extending the Active Directory Schema
With proper planning, you'll have no fear


Au sujet de la modification, de l'extension de schema :

How to Extend the Active Directory Schema Using an LDIF File

Methods for Extending the Schema

Extending the Schema (Windows)

How to Extend the Schema (Windows)

En conclusion, tudois créer un fichier ldf et appliquer les modification via l'outil ldifde (voir dernier lient) :

To Extend the Schema

1.Determine the method of extension. Once you have carefully designed your schema changes, the next step is to decide which method to use to extend the schema. You can use one of the following methods:
◦Manually, using import files. See the documentation Using the LDIFDE Tool.
Note Do not use LDIFDE to import Windows Sch*.ldf files. Those files are required to extend the Active Directory schema in order to install domain controllers that run a newer version of Windows Server than the version that is running on the current schema master. When you need to extend the schema in order to install a new domain controller, use Adprep.exe.

◦Programmatically, using an installation program. For more information, see Programmatic Extension
2.Enable Schema Changes. For more information, see Prerequisites for Installing a Schema Extension and Enabling Schema Changes at the Schema Master.
3.Obtain an Object Identifier (OID) for your new attributes and/or classes, as described in Obtaining an Object Identifier.
4.Create new attributes and classes.
5.Use display specifiers to integrate new attributes and classes with the user interface, if necessary.
6.Update the schema cache as described in Updating the Schema Cache.
7.Verify the schema extension using LDP.exe.


En espérant que cela te permette d'avancer sur le sujet.

@ +

Matthew<br><br>Message édité par: Matthew BETTON, à: 1/02/13 09:23

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 13 ans 1 mois #13853 par SiSMik
Réponse de SiSMik sur le sujet Re:Modification schéma AD
Merci Matthew,

Ce lien est parfait: \&quot; Powershell Code: Scripts to Assist with Schema Update/Modification \&quot;

je connais l'utilisation des ldif, mais je me disais qu'avec adsi on aurait pu faire quelque chose :(

Bon bah tampis on utilisera un exe third party ;)

Merci pour tous ces liens !

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.089 secondes
Propulsé par Kunena