Hi I've run into the same issue. The gss-server fails to finish the
handshake with the client producing exactly the same messages as
posted below. The process opens and reads only the shibboleth2.xml file
and doesn't event try to find anything else.
It may be the build isn't entirelly correct (as suggested by Scott in
the reply) since the machine runs CentoS 5.5 an I had to do some manual
tweaks to get moonshot installed there. But I don't know what to check
exectly. Would anyone had some clue? Thanks in advance,
Daniel
On Thu, Nov 03, 2011 at 12:19:02AM +0100, Hauke Mehrtens wrote:
> Hi,
>
> when I use the gss example from krb5-1.9.1/src/appl/gss-sample I get an
> error message in the sever from XMLTooling.
> I installed moonshot into /usr/ and my
> /usr/etc/shibboleth/shibboleth2.xml is the same as in the moonshot
> repository.
> I checked with strace what files are opened and this is the only *.xml
> or *.xsd file. in the log. The authentication with this gss example
> works successfully, but when using moonshot with an IMAP server with
> SASL it does not work as the Server sends these error message directly
> over IMAP and the authentication is aborted.
>
> I am using origin/master of the moonshot repository.
>
> Hauke
>
>
> Error Message:
>
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 6,
> column 21, message: no declaration found for element 'SPConfig'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 6,
> column 21, message: attribute 'xmlns' is not declared for element 'SPConfig'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 6,
> column 21, message: attribute '{http://www.w3.org/2000/xmlns/}conf' is
> not declared for element 'SPConfig'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 6,
> column 21, message: attribute '{http://www.w3.org/2000/xmlns/}saml' is
> not declared for element 'SPConfig'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 6,
> column 21, message: attribute '{http://www.w3.org/2000/xmlns/}samlp' is
> not declared for element 'SPConfig'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 6,
> column 21, message: attribute '{http://www.w3.org/2000/xmlns/}md' is not
> declared for element 'SPConfig'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 6,
> column 21, message: attribute 'clockSkew' is not declared for element
> 'SPConfig'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 24,
> column 71, message: no declaration found for element 'ApplicationDefaults'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 24,
> column 71, message: attribute 'entityID' is not declared for element
> 'ApplicationDefaults'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 24,
> column 71, message: attribute 'REMOTE_USER' is not declared for element
> 'ApplicationDefaults'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 35,
> column 111, message: no declaration found for element 'Sessions'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 35,
> column 111, message: attribute 'lifetime' is not declared for element
> 'Sessions'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 35,
> column 111, message: attribute 'timeout' is not declared for element
> 'Sessions'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 35,
> column 111, message: attribute 'checkAddress' is not declared for
> element 'Sessions'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 35,
> column 111, message: attribute 'relayState' is not declared for element
> 'Sessions'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 35,
> column 111, message: attribute 'handlerSSL' is not declared for element
> 'Sessions'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 44,
> column 91, message: no declaration found for element 'SSO'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 44,
> column 91, message: attribute 'entityID' is not declared for element 'SSO'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 44,
> column 91, message: attribute 'discoveryProtocol' is not declared for
> element 'SSO'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 44,
> column 91, message: attribute 'discoveryURL' is not declared for element
> 'SSO'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 49,
> column 21, message: no declaration found for element 'Logout'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 52,
> column 85, message: no declaration found for element 'Handler'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 52,
> column 85, message: attribute 'type' is not declared for element 'Handler'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 52,
> column 85, message: attribute 'Location' is not declared for element
> 'Handler'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 52,
> column 85, message: attribute 'signing' is not declared for element
> 'Handler'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 55,
> column 72, message: no declaration found for element 'Handler'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 55,
> column 72, message: attribute 'type' is not declared for element 'Handler'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 55,
> column 72, message: attribute 'Location' is not declared for element
> 'Handler'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 55,
> column 72, message: attribute 'acl' is not declared for element 'Handler'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 58,
> column 86, message: no declaration found for element 'Handler'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 58,
> column 86, message: attribute 'type' is not declared for element 'Handler'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 58,
> column 86, message: attribute 'Location' is not declared for element
> 'Handler'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 58,
> column 86, message: attribute 'showAttributeValues' is not declared for
> element 'Handler'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 61,
> column 66, message: no declaration found for element 'Handler'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 61,
> column 66, message: attribute 'type' is not declared for element 'Handler'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 61,
> column 66, message: attribute 'Location' is not declared for element
> 'Handler'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 70,
> column 51, message: no declaration found for element 'Errors'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 70,
> column 51, message: attribute 'supportContact' is not declared for
> element 'Errors'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 70,
> column 51, message: attribute 'logoLocation' is not declared for element
> 'Errors'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 70,
> column 51, message: attribute 'styleSheet' is not declared for element
> 'Errors'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 87,
> column 82, message: no declaration found for element 'AttributeExtractor'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 87,
> column 82, message: attribute 'type' is not declared for element
> 'AttributeExtractor'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 87,
> column 82, message: attribute 'validate' is not declared for element
> 'AttributeExtractor'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 87,
> column 82, message: attribute 'path' is not declared for element
> 'AttributeExtractor'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 90,
> column 62, message: no declaration found for element 'AttributeResolver'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 90,
> column 62, message: attribute 'type' is not declared for element
> 'AttributeResolver'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 90,
> column 62, message: attribute 'subjectMatch' is not declared for element
> 'AttributeResolver'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 93,
> column 82, message: no declaration found for element 'AttributeFilter'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 93,
> column 82, message: attribute 'type' is not declared for element
> 'AttributeFilter'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 93,
> column 82, message: attribute 'validate' is not declared for element
> 'AttributeFilter'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 93,
> column 82, message: attribute 'path' is not declared for element
> 'AttributeFilter'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 96,
> column 85, message: no declaration found for element 'CredentialResolver'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 96,
> column 85, message: attribute 'type' is not declared for element
> 'CredentialResolver'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 96,
> column 85, message: attribute 'key' is not declared for element
> 'CredentialResolver'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 96,
> column 85, message: attribute 'certificate' is not declared for element
> 'CredentialResolver'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 113,
> column 84, message: no declaration found for element
> 'SecurityPolicyProvider'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 113,
> column 84, message: attribute 'type' is not declared for element
> 'SecurityPolicyProvider'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 113,
> column 84, message: attribute 'validate' is not declared for element
> 'SecurityPolicyProvider'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 113,
> column 84, message: attribute 'path' is not declared for element
> 'SecurityPolicyProvider'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 116,
> column 94, message: no declaration found for element 'ProtocolProvider'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 116,
> column 94, message: attribute 'type' is not declared for element
> 'ProtocolProvider'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 116,
> column 94, message: attribute 'validate' is not declared for element
> 'ProtocolProvider'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 116,
> column 94, message: attribute 'reloadChanges' is not declared for
> element 'ProtocolProvider'
> 2011-10-27 12:42:54 ERROR XMLTooling.ParserPool : error on line 116,
> column 94, message: attribute 'path' is not declared for element
> 'ProtocolProvider'
> 2011-10-27 12:42:54 ERROR Shibboleth.Config : error while loading
> resource (/usr/etc/shibboleth/shibboleth2.xml): XML error(s) during
> parsing, check log for specifics
> 2011-10-27 12:42:54 FATAL Shibboleth.Config : caught exception while
> loading configuration: XML error(s) during parsing, check log for specifics
|