2013-03-04 90 views
0

我對shibboleth非常(非常)新,目前我通過編輯shobboleth2.xml進行配置,並使用shibboleth 2.4,但是當我重新啓動shibboleth時出現以下錯誤。Shibboleth配置

shibd error: unable to run config check as user 
Restarting Shibboleth 2 daemon: 2013-03-04 13:15:27 ERROR XMLTooling.ParserPool : error on line 28, column 40, message: attribute 'homeUrl' is not declared for element 'ApplicationDefaults' 
2013-03-04 13:15:27 ERROR Shibboleth.Config : error while loading resource (/etc/shibboleth/shibboleth2.xml): XML error(s) during parsing, check log for specifics 
2013-03-04 13:15:27 FATAL Shibboleth.Config : caught exception while loading configuration: XML error(s) during parsing, check log for specifics 
configuration is invalid, check console for specific problems 

在我的shibboleth2.xml中,我已經添加了homeUrl。

<!-- The ApplicationDefaults element is where most of Shibboleth's SAML bits are defined. --> 
<ApplicationDefaults id="default" 
     policyId="default" 
     entityID="https://somesite.com/shibboleth/default" 
     homeUrl="https://somesite.com/" 
        REMOTE_USER="eppn persistent-id targeted-id" 
     signing="false" encryption="false"> 

回答

1

從< ApplicationDefaults/>元素刪除屬性 「homeUrl」。

<ApplicationDefaults id="default" 
    policyId="default" 
    entityID="https://somesite.com/shibboleth/default" 
       REMOTE_USER="eppn persistent-id targeted-id" 
    signing="false" encryption="false">