|
I'm
not the expert either, but I do have some experience with this. Normally,
like Rick said, GUIDs are simply assigned by the system upon object
creation. SchemaIDGUID is kind of a special case, though - it's the GUID
of the classSchema or attributeSchema object itself. If you ever want to
define some extended rights that apply to instances of your new class or
attribute, you'll need to know the SchemaIDGUID of the classSchema or
attributeSchema object in the forest.
Let's
say you write a program that extends the schema, and it does NOT specify the
schemaIDGUID. The system will generate one for you when the program is
run. If you run it again in a different forest, those objects will have a
different value of schemaIDGUID in that forest. On the other hand, if your
program DOES specify a value for schemaIDGUID, then it will have that value in
every forest where your extension is installed. That way, you can document
what it should be, and can programatically create extended rights for those
objects in any of those forests.
The
value must be in the Base64-encoded format. There are a
couple of ways to generate a value to use:
1. Install the extension on a test forest WITHOUT
specifying the schemaIDGUID, copy the value that gets automatically generated,
and put in it your program for future use on other
forests
OR
2. Use the utility uuidgen.exe and convert the output
(format XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX) to
Base64.
I have done this successfully using LDIF files to
extend the schema, but have not tried it programmatically, although I see no
reason why it would not work the same.
Robbie, Gil, if I've misrepresented something here
please correct me !
Dave
-----Original Message-----
From: zhaohu [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 7:50 PM To: [EMAIL PROTECTED] Subject: Re: [ActiveDir] how can i add the value of the SchemIDGUID when I create a schemd object?
|
- RE: [ActiveDir] how can i add the value of the SchemIDG... Rick Kingslan
- Re: [ActiveDir] how can i add the value of the Sch... zhaohu
- [ActiveDir] Domain Rename Jan Wilson
- RE: [ActiveDir] Domain Rename Rick Kingslan
- Re: [ActiveDir] Domain Rename Jan Wilson
- Re: [ActiveDir] Domain Rename deji
- Re: [ActiveDir] Domain Rename Jan Wilson
- Re: [ActiveDir] Domain Rename Ken Schaefer
- RE: [ActiveDir] Domain Rename Rick Kingslan
- Re: [ActiveDir] Domain Rename Glenn Corbett
- Re: [ActiveDir] how can i add the value of the SchemIDG... Fugleberg, David A
- RE: [ActiveDir] how can i add the value of the SchemIDG... Sullivan, Kevin
- RE: [ActiveDir] how can i add the value of the SchemIDG... Fugleberg, David A
