I do have an OID from Microsoft.  I knew that picking my own LinkID had
to be a bad thing, but I didn't know of any other way to get it.  Can
you expand on autolinking?

Thanks Joe,

BTW this is the Joe that you met at DEC in Virginia.  This is my first
Post!  Thanks for letting me know about this distribution list.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of joe
Sent: Friday, March 04, 2005 1:38 PM
To: [email protected]
Subject: RE: [ActiveDir] Creating a backlink and forwardlink

Small correction, you will register your prefix and OID (or even request
an
OID) from MS and then you can request a linkid pair, DO NOT create your
own linkid values.

Additionally if this is on K3 or AD/AM you can use autolinking and not
use a specific linkid value.

See 

http://blogs.msdn.com/efleis/archive/2004/10/12.aspx

For a writeup. I was talking with Eric one day and he mentioned it and I
was like, "WHAT? No I never heard of that!" so he documented it in his
blog.

  joe
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sakari Kouti
Sent: Friday, March 04, 2005 4:31 PM
To: [email protected]
Subject: RE: [ActiveDir] Creating a backlink and forwardlink

Hi Joseph,

I tested this for the purposes of our "Inside Active Directory" book.
 
You should define the linkID attribute for both of your attributeSchema
objects. The forward link must have an even positive non-zero number
(for example, the member attribute has 2) and the back link must have a
larger-by-1 odd value (for example, the memberOf attribute has 3).

A forward-link attribute must use one of the following syntaxes: DN, DN
with Unicode string, DN with binary, access point DN, and OR name. A
back-link attribute must be of syntax DN.

The two linkID numbers must not conflict with any other attributes. You
can find free numbers manually, if just for your own use, or
programmatically, if the installation must work in any forest. The
platform SDK has a sample
C++ code for this.

You must first create the forward link, and then the back link.

The back link must be multivalued (and the forward link may be).

In addition, the platform SDK says that "By convention, back link
attributes are added to the mayContain value of the Top abstract class.
This enables the back link attribute to be read from objects of any
class because they are not actually stored with the object, but are
calculated based on the forward link values."

For production purposes, it might be a good idea to register your link
ID pair with Microsoft at
http://msdn.microsoft.com/certification/ADLinkID.asp

Yours, Sakari


________________________________

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Isenhour,
Joseph
        Sent: Friday, March 04, 2005 10:45 PM
        To: [email protected]
        Subject: [ActiveDir] Creating a backlink and forwardlink
        
        

        I'm trying to figure out how to extend our schema with a
forwardlink attribute and a corresponding backlink attribute. 

        I understand how to create an attribute with a DN syntax and I
even understand how the two are linked in Active Directory.  What I
don't know is what to put in my LDIF to make AD link them.

        Has anyone ever done this? 

        Thanks 

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to