Shibboleth Authentication to AD failed with error “file not found”
Andrej
andrej.salnik at gmx.at
Thu Jan 16 04:50:15 EST 2014
1down votefavorite I am new to Shibboleth and try to configure authentication
between ADFS and Shibboleth. The users are stored in AD. I've already
connected ADFS and Shibboleth and able to see the login page, after
submitting username and credentials I am getting an error "authentication
failed".The logs shows following error:16:46:06.929 - DEBUG
[edu.internet2.middleware.shibboleth.idp.authn.provider.UsernamePasswordLoginServlet:177]
- User authentication for cc failed java.lang.SecurityException:
Configuration Error: No such file or directory at
com.sun.security.auth.login.ConfigFile.(Unknown Source) ~[na:1.7.0_45] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
~[na:1.7.0_45] at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
~[na:1.7.0_45] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
~[na:1.7.0_45]I am not able to find out which file is missing and where I've
made the mistake. Any help highly appreciated.*login.config* looks as
followed:ShibUserPassAuth {// Example LDAP authentication// See:
https://spaces.internet2.edu/display/SHIB2/IdPAuthUserPass
edu.vt.middleware.ldap.jaas.LdapLoginModule required
host="idmgt-IP0.idmgtext.demo" port="389"
base="CN=Users,DC=idmgtext,DC=demo" serviceCredential="Corp123!"
userRoleAttribute="sAMAccountName"
serviceUser="ShibolethService at idmgtext.demo" subtreeSearch = "true"
ssl="false" userFilter="sAMAccountName={0}";// Example Kerberos
authentication, requires Sun's JVM// See:
https://spaces.internet2.edu/display/SHIB2/IdPAuthUserPass/*
com.sun.security.auth.module.Krb5LoginModule required useKeyTab="true"
keyTab="/path/to/idp/keytab/file";*/};*handler.xml*<?xml version="1.0"
encoding="UTF-8"?> /Status
/Metadata/SAML /Shibboleth/SSO
/SAML1/SOAP/AttributeQuery /SAML1/SOAP/ArtifactResolution
/SAML2/POST/SSO /SAML2/POST-SimpleSign/SSO
/SAML2/Redirect/SSO /SAML2/SOAP/AttributeQuery
/SAML2/SOAP/ArtifactResolution
urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport
urn:oasis:names:tc:SAML:2.0:ac:classes:PreviousSession
--
View this message in context: http://shibboleth.1660669.n2.nabble.com/Shibboleth-Authentication-to-AD-failed-with-error-file-not-found-tp7593756.html
Sent from the Shibboleth - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20140116/626be43f/attachment.html
More information about the users
mailing list