Warning in Logs: Could not find the attribute

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

When connected to a LDAP server, Fisheye fails to fetch some of the LDAP attributes and reports the following warning in the fisheye-debug-<date>.log file:

例外
2012-12-06 12:01:30,117 WARN  [btpool0-3394 ] fisheye LDAPAuth-extract - Could not find the attribute '' in LDAP

原因

One of the LDAP attributes is missing from Fisheye configuration. In this example it was the displyName Attribute, as per the <FISHEYE_INST>/config.xml:

<ldap auto-add="true" url="<LDAP URL>"
 base-dn="cn=users, dc=example, dc=atlassian, dc=com" filter="(uid=${USERNAME})
 " uid-attr="uid" positive-cache-ttl="5 minutes" displayname-attr="" 
resync="true" resyncPeriod="1 hour"/>


notice the displayname-attr="" is blank.

ソリューション

Update this element:

<ldap auto-add="true" url="<LDAP URL>"
 base-dn="cn=users, dc=example, dc=atlassian, dc=com" filter="(uid=${USERNAME})
 " uid-attr="uid" positive-cache-ttl="5 minutes" displayname-attr="" 
resync="true" resyncPeriod="1 hour"/>


as follows:

<ldap auto-add="true" url="<LDAP URL>"
 base-dn="cn=users, dc=example, dc=atlassian, dc=com" filter="(uid=${USERNAME})
 " uid-attr="uid" positive-cache-ttl="5 minutes" displayname-attr="displayName" 
resync="true" resyncPeriod="1 hour"/>

 

 

 

 

最終更新日: 2012 年 12 月 27 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.