Sean Brady
2009-Dec-02 03:04 UTC
[389-users] Is there Linked Attributes configuration and usage documentation available?
Hello All, I have 389 up and running, and had some questions on Linked Attributes. I found this http://directory.fedoraproject.org/wiki/Linked_Attributes_Design 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? 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? 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... Thanks in advance for the community''s help. SB
Sean Brady
2009-Dec-02 13:47 UTC
RE: [389-users] Is there Linked Attributes configuration and usage documentation available?
OK, I see some helpful errors in the logs here: 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". [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 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? The following was added to my dse.ldif: dn: cn=Manager Link, cn=Linked Attributes,cn=plugins,cn=config objectClass: extensibleObject objectClass: top cn: Manager Link linkattribute: directReport managedattribute: linkmanager 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. Any help is appreciated. Thanks, SB From: fedora-directory-users-bounces@redhat.com [mailto:fedora-directory-users-bounces@redhat.com] On Behalf Of Sean Brady Sent: Tuesday, December 01, 2009 8:05 PM To: fedora-directory-users@redhat.com Subject: [389-users] Is there Linked Attributes configuration and usage documentation available? Hello All, I have 389 up and running, and had some questions on Linked Attributes. I found this http://directory.fedoraproject.org/wiki/Linked_Attributes_Design 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? 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? 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... Thanks in advance for the community''s help. SB
Nathan Kinder
2009-Dec-02 17:20 UTC
Re: [389-users] Is there Linked Attributes configuration and usage documentation available?
On 12/02/2009 05:47 AM, Sean Brady wrote:> > OK, I see some helpful errors in the logs here: > > 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". > > [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 > > 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? >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: http://directory.fedoraproject.org/wiki/Linked_Attributes_Design#Configuration In short, you need to use "linkType" and "managedType" instead of "linkAttribute" and "managedAttribute" in your config entry that you have referenced below. -NGK> > The following was added to my dse.ldif: > > dn: cn=Manager Link, cn=Linked Attributes,cn=plugins,cn=config > > objectClass: extensibleObject > > objectClass: top > > cn: Manager Link > > linkattribute: directReport > > managedattribute: linkmanager > > 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. > > Any help is appreciated. > > Thanks, > > SB > > *From:* fedora-directory-users-bounces@redhat.com > [mailto:fedora-directory-users-bounces@redhat.com] *On Behalf Of *Sean > Brady > *Sent:* Tuesday, December 01, 2009 8:05 PM > *To:* fedora-directory-users@redhat.com > *Subject:* [389-users] Is there Linked Attributes configuration and > usage documentation available? > > Hello All, > > I have 389 up and running, and had some questions on Linked > Attributes. I found this > http://directory.fedoraproject.org/wiki/Linked_Attributes_Design 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? > > 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? > > 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... > > Thanks in advance for the community''s help. > > SB > > > -- > 389 users mailing list > 389-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
Sean Brady
2009-Dec-02 22:01 UTC
RE: [389-users] Is there Linked Attributes configuration and usage documentation available?
Nathan, that was exactly what I needed- works like a charm! I hereby declare you awesome! Thanks again! SB From: fedora-directory-users-bounces@redhat.com [mailto:fedora-directory-users-bounces@redhat.com] On Behalf Of Nathan Kinder Sent: Wednesday, December 02, 2009 10:20 AM To: General discussion list for the 389 Directory server project. Subject: Re: [389-users] Is there Linked Attributes configuration and usage documentation available? On 12/02/2009 05:47 AM, Sean Brady wrote: OK, I see some helpful errors in the logs here: 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". [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 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? 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: http://directory.fedoraproject.org/wiki/Linked_Attributes_Design#Configuration In short, you need to use "linkType" and "managedType" instead of "linkAttribute" and "managedAttribute" in your config entry that you have referenced below. -NGK The following was added to my dse.ldif: dn: cn=Manager Link, cn=Linked Attributes,cn=plugins,cn=config objectClass: extensibleObject objectClass: top cn: Manager Link linkattribute: directReport managedattribute: linkmanager 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. Any help is appreciated. Thanks, SB From: fedora-directory-users-bounces@redhat.com<mailto:fedora-directory-users-bounces@redhat.com> [mailto:fedora-directory-users-bounces@redhat.com] On Behalf Of Sean Brady Sent: Tuesday, December 01, 2009 8:05 PM To: fedora-directory-users@redhat.com<mailto:fedora-directory-users@redhat.com> Subject: [389-users] Is there Linked Attributes configuration and usage documentation available? Hello All, I have 389 up and running, and had some questions on Linked Attributes. I found this http://directory.fedoraproject.org/wiki/Linked_Attributes_Design 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? 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? 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... Thanks in advance for the community''s help. SB -- 389 users mailing list 389-users@redhat.com<mailto:389-users@redhat.com> https://www.redhat.com/mailman/listinfo/fedora-directory-users