<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 12/02/2009 05:47 AM, Sean Brady wrote:
<blockquote
 cite="mid:7743B3216F93CA4E83EF6F0EC4081C9B5F813E9244@EXVMBX017-10.exch017.msoutlookonline.net"
 type="cite">
  <meta http-equiv="Content-Type"
 content="text/html; charset=ISO-8859-1">
  <meta name="Generator" content="Microsoft Word 12 (filtered medium)">
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
  </style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  <div class="Section1">
  <p class="MsoNormal"><a moz-do-not-send="true" name="_MailEndCompose"><span
 style="color: rgb(31, 73, 125);">OK, I
see some helpful errors in the logs here:<o:p></o:p></span></a></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">linkedattrs-plugin
-
linked_attrs_parse_config_entry: The linkType config setting is
required for
linked attribute pair "cn=manager link,cn=linked
attributes,cn=plugins,cn=config".<o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">[02/Dec/2009:06:19:24
-0700]
linkedattrs-plugin - linked_attrs_parse_config_entry: Invalid config
entry
[cn=manager link,cn=linked attributes,cn=plugins,cn=config] skipped<o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">So… I am
assuming that
there is a configuration entry that I need called “linkType”, which
isn’t listed in the link per se, although there is a reference to it in
passing.  Can someone help me with the expected type of value, ie is
this
an attribute type, etc?  What do I need here?  </span></p>
  </div>
</blockquote>
The feature design page you referenced had the configuration attributes
named incorrectly (the attribute names changed between the design and
implementation of the feature).  I have updated the configuration
section of that page to be correct.  Please look here for details:<br>
<br>
<a class="moz-txt-link-freetext" href="http://directory.fedoraproject.org/wiki/Linked_Attributes_Design#Configuration">http://directory.fedoraproject.org/wiki/Linked_Attributes_Design#Configuration</a><br>
<br>
In short, you need to use "linkType" and "managedType" instead of
"linkAttribute" and "managedAttribute" in your config entry that you
have referenced below.<br>
<br>
-NGK<br>
<blockquote
 cite="mid:7743B3216F93CA4E83EF6F0EC4081C9B5F813E9244@EXVMBX017-10.exch017.msoutlookonline.net"
 type="cite">
  <div class="Section1">
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">The
following was added to my
dse.ldif:<o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">dn:
cn=Manager Link, cn=Linked
Attributes,cn=plugins,cn=config<o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">objectClass:
extensibleObject<o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">objectClass:
top<o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">cn:
Manager Link<o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">linkattribute:
directReport<o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">managedattribute:
linkmanager<o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Both the
linkattribute “directReport”
and managedattribute “linkmanager” are custom attributes added as “MAY”
to a custom “employee” objectclass, to which 3 test users have as
an attribute value.  I didn’t want to conflict with any existing
attributes, and I noticed that the directreport attribute did not exist.<o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Any help
is appreciated.<o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Thanks,<o:p></o:p></span></p>
  <div>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">SB<o:p></o:p></span></p>
  </div>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <div>
  <div
 style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
  <p class="MsoNormal"><b><span
 style="font-size: 10pt; font-family: "Tahoma","sans-serif";">From:</span></b><span
 style="font-size: 10pt; font-family: "Tahoma","sans-serif";">
<a class="moz-txt-link-abbreviated" href="mailto:fedora-directory-users-bounces@redhat.com">fedora-directory-users-bounces@redhat.com</a>
[<a class="moz-txt-link-freetext" href="mailto:fedora-directory-users-bounces@redhat.com">mailto:fedora-directory-users-bounces@redhat.com</a>] <b>On Behalf Of </b>Sean
Brady<br>
  <b>Sent:</b> Tuesday, December 01, 2009 8:05 PM<br>
  <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:fedora-directory-users@redhat.com">fedora-directory-users@redhat.com</a><br>
  <b>Subject:</b> [389-users] Is there Linked Attributes configuration
and usage
documentation available?<o:p></o:p></span></p>
  </div>
  </div>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">Hello All,<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">I have 389 up and running, and had some
questions on Linked
Attributes.  I found this <a moz-do-not-send="true"
 href="http://directory.fedoraproject.org/wiki/Linked_Attributes_Design">http://directory.fedoraproject.org/wiki/Linked_Attributes_Design</a>
but that is the extent of the documentation that I have found.  Does
anyone know of any additional documentation that you can point me to?  <o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">I am unclear on exactly how to configure Linked
Attributes
properly, and how to use them.  Specifically, which ldif file would I
need
to modify to create a linked attribute?  Would that be dse.ldif, or one
of
the ldif’s in the schema sub-folder
(/etc/dirsrv/slapd-<instance_name>/schema)?  What else would I
need
to know to configure a linked attribute?  What do I need to know about
it’s usage? <o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">Once I have the details I can post some
documentation back
to the community- there is nothing in the RedHat Directory Server on
this
plugin as of yet that I have seen.  I don’t think that this can be
done through the GUI at this time…<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">Thanks in advance for the community’s help.<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">SB<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  </div>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
389 users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-users@redhat.com">389-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/fedora-directory-users">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>