Hi Chard,<br><br>thanks for the quick response.<br>I started from scratch again and followed you advices to use the official documentation.<br>At the end I got it to work properly. Now I can protect a ressource and access it the shib acces page.<br>


Nevertheless while following the instruction some issues came up.<br>One is after follwing the IdP installtin instructin on: <br><br><a href="https://wiki.shibboleth.net/confluence/display/SHIB2/IdPInstall" target="_blank">https://wiki.shibboleth.net/confluence/display/SHIB2/IdPInstall</a><br>


<br>I wasn&#39;t able to access the  <tt><a href="https://hostname/idp/profile/Status" rel="nofollow" target="_blank">https://HOSTNAME/idp/profile/Status</a> </tt>page. Got some kind of  bad cert error.<br><br>After I changed in apache server.xml<br>
<br>
<pre>&lt;Connector port=<span>&quot;8443&quot;</span>
           protocol=<span>&quot;org.apache.coyote.http11.Http11Protocol&quot;</span>
           SSLImplementation=<span>&quot;edu.internet2.middleware.security.tomcat6.DelegateToApplicationJSSEImplementation&quot;</span>
           scheme=<span>&quot;https&quot;</span>
           SSLEnabled=<span>&quot;true&quot;</span>
           clientAuth=<span>&quot;<b>true</b>&quot;</span>
           keystoreFile=<span>&quot;IDP_HOME/credentials/idp.jks&quot;</span>
           keystorePass=<span>&quot;PASSWORD&quot;</span> /&gt;<br><br>to <br><br>&lt;Connector port=<span>&quot;8443&quot;</span>
           protocol=<span>&quot;org.apache.coyote.http11.Http11Protocol&quot;</span>
           SSLImplementation=<span>&quot;edu.internet2.middleware.security.tomcat6.DelegateToApplicationJSSEImplementation&quot;</span>
           scheme=<span>&quot;https&quot;</span>
           SSLEnabled=<span>&quot;true&quot;</span>
           clientAuth=<span>&quot;<b>false</b>&quot;</span>
           keystoreFile=<span>&quot;IDP_HOME/credentials/idp.jks&quot;</span>
           keystorePass=<span>&quot;PASSWORD&quot;</span> /&gt;<br></pre>it worked.<br><br>Stephan<br><br><br><div class="gmail_quote">

2012/6/16 Chad La Joie <span dir="ltr">&lt;<a href="mailto:lajoie@itumi.biz" target="_blank">lajoie@itumi.biz</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


First, be sure you&#39;re using the actual Shibboleth documentation not some<br>
third party document.<br>
<br>
Second, turn on logging for the LDAP library and see what it says.<br>
<div><br>
On 6/16/12 11:06 AM, Stephan Hackstedt wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m new to Shibboleth and trying to setup a test environment on a single<br>
&gt; Windows / x64 machine.<br>
&gt; I followed some tutorials. Now I&#39;m at a point where I&#39;m trying to access<br>
&gt; a ressource on the SP. The redirection to the IdP loginpage works fine.<br>
&gt; But I cannot login, no matter if I use the right user/pw combination or not.<br>
&gt; I&#39;m using LDAP as storage for the user data.<br>
&gt; I tested two different LDAP Systems (APacheDS, OpenDS) but I couldnt get<br>
&gt; it to work. The same error with both.<br>
&gt;<br>
&gt; The connection to the LDAP service can be established successfull on IdP<br>
&gt; Startup, but after redirection and typing  username and passwort at the<br>
&gt; login screen Shibboleth IdP always gives the message &quot;Credentials not<br>
&gt; recognized&quot;.<br>
&gt; Are there other configuration files, beside login.conf and<br>
&gt; attribute-resolver,xmlm which I need to consider?<br>
&gt;<br>
&gt; It would be nice, if some has a hint for me regarding my problem, My<br>
&gt; progress really stucks.<br>
&gt;<br>
&gt; conf snippets:<br>
&gt;<br>
&gt;<br>
&gt; attribute-resolver.xml:<br>
&gt; *<br>
&gt;     &lt;!-- Example LDAP Connector for OpenDS--&gt;<br>
&gt;     &lt;resolver:DataConnector id=&quot;myLDAP&quot; xsi:type=&quot;dc:LDAPDirectory&quot;<br>
</div>&gt;         ldapURL=&quot;ldap://<a href="http://127.0.0.1:12389" target="_blank">127.0.0.1:12389</a> &lt;<a href="http://127.0.0.1:12389" target="_blank">http://127.0.0.1:12389</a>&gt;&quot;<br>
<div>&gt;         baseDN=&quot;ou=people,dc=example,dc=com&quot;<br>
&gt;         principal=&quot;cn=Directory Manager&quot;<br>
&gt;         principalCredential=&quot;secret2&quot;&gt;<br>
&gt;         &lt;dc:FilterTemplate&gt;<br>
&gt;             &lt;![CDATA[<br>
&gt;                 (uid=$requestContext.principalName)<br>
&gt;             ]]&gt;<br>
</div>&gt;         &lt;/dc:FilterTemplate&gt;*<br>
&gt;<br>
&gt; login.config:<br>
&gt;<br>
&gt; *ShibUserPassAuth {<br>
<div>&gt;       edu.vt.middleware.ldap.jaas.LdapLoginModule required<br>
&gt;       host=&quot;127.0.0.1&quot;<br>
&gt;       base=&quot;ou=people,dc=example,dc=com&quot;<br>
&gt;       bindDn =&quot;cn=Directory Manager&quot;<br>
&gt;       bindCredential=&quot;secret2&quot;<br>
&gt;       port=&quot;12389&quot;<br>
&gt;       ssl=&quot;false&quot;<br>
&gt;       tls=&quot;false&quot;<br>
&gt;       userField=&quot;uid&quot;;<br>
</div>&gt; };*<br>
&gt;<br>
&gt; Regards,<br>
&gt; Stephan<br>
&gt;<br>
<span><font color="#888888">&gt;<br>
&gt; --<br>
&gt; To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a><br>
&gt;<br>
<br>
--<br>
Chad La Joie<br>
<a href="http://www.itumi.biz" target="_blank">www.itumi.biz</a><br>
trusted identities, delivered<br>
<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a><br>
</font></span></blockquote></div><br>