Home › Forums › OS X Server and Client Discussion › Active Directory › Extended AD’s schema
- This topic has 6 replies, 3 voices, and was last updated 16 years, 1 month ago by
twm1010.
-
AuthorPosts
-
January 16, 2009 at 1:09 am #375155
treehuger
ParticipantIs anyone willing to shed some light on how to actually extend AD’s schema? I have the 38 attributes and classes from a recent white paper (the same that references the impossible to find load_dat. file). I downloaded Microsoft’s ADAM, is this the correct application to enter the new attributes?
This is strictly for a test environment…. any help would be greatly appreciated. Thanks!
January 16, 2009 at 8:57 pm #375159cheizer
ParticipantNo problem,
One of the easiest ways to extend your schema is to use the ADSchemaAnalyzer which comes with Microsoft ADAM.Here is how to do it. I just did this as MacWorld hands on lab with my co-worker so these steps are copied our slides.
Steps:
1) Get a copy of “apple.schema” files from a Mac OS X Server in “/etc/openldap/schema”
2) Install Microsoft ADAM on a Windows server (Included with 2003R2)
3) Run “ADSchemaAnalyzer.exe”
4) Choose “File/Load target schema…”, next click the “Load LDIF…” button and select the “apple.schema” file (change the file type to “All files *.*”)
5) Choose “File/Load base schema…” and connect to your AD domain controller.
6) Choose “Schema/Mark all non-present elements as included”
7) Choose “File/Create LDIF file…” and save it as “apple.schema.ldf”
8) Make sure that the domain controller you’re connecting to has schema updates enabled
9) Install the schema extensions via command prompt Example: C:\> ldifde /i /f apple.schema.ldif /v /k /c “DC=X” “DC=SF,DC=PRETENDCO,DC=COM”
10) Make sure to disable schema updates on the domain controller you’re connected toExtra Info:
Microsoft ADAM http://www.microsoft.com/windowsserver2003/adam/default.mspx
ADSchemaAnalyzer http://technet.microsoft.com/en-us/library/cc780706.aspx
Enable write schema changes http://support.microsoft.com/kb/285172
Enable AD schema editor regsvr32 schmmgmt.dllI hope this helps.
– CharlesJanuary 18, 2009 at 2:41 am #375168treehuger
ParticipantThanks, I will give this a try and let you know. I found similar instructions on some other website, however, the author said he was having trouble afterwords (though didn’t go into any examples). Have you tried this and does it work out well?
January 20, 2009 at 5:37 pm #375182cheizer
ParticipantI have tried it and it does work, but if I remember right, you do need to add one additional attribute to the apple computer class and that’s the mac address. I would suggest of course to test it all in a test forrest using a VMware environment first 🙂 .
If you want more of what the actual load_apple.bat extensions mentioned in the white paper check out http://www.shukwit.com/index.php. He has the original apple schema extensions available. I compared then to what apple has used and suggested in the white paper and it’s really close. I think he added more.
One more thing to note apple computer lists do not work with a modified schema that was in another thread earlier [url]https://www.afp548.com/forum/viewtopic.php?showtopic=23022[/url].
February 23, 2009 at 8:20 pm #375520twm1010
ParticipantI don’t understand this switch in the command line step above…
/c “DC=X” “DC=SF,DC=PRETENDCO,DC=COM”
Can someoene elaborate?
Tom
February 23, 2009 at 8:44 pm #375521twm1010
ParticipantNevermind… not enough caffeine today…
Tom
February 23, 2009 at 9:23 pm #375526twm1010
ParticipantTurns out I still need some assistance. I ran the steps above just fine, but when trying to apply MCX to users or groups I get either error -14140 or -14142.
I found this thread here: https://www.afp548.com/forum/viewtopic.php?forum=24&showtopic=21539
I made the same corrections, but when I try the LDIF import again I get the following
The server side error is “A referral was returned from the server.”
I’m sure I’m running this from the AD schema master, my test environment is very simple.
Tom
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed