dc=fr |_ dc=enst-bretagne | |_ o=autres | | |_ ou=group | | |_ ou=netgroup | | |_ ou=divers | | ... | | |_ cn=replicator | |_ o=personnel | |_ ou=autre personnel | |_ ou=élèves | |_ cn=loginserver | |_ ou=permanents | |_ ou=thésards
[root@localhost root]# ldapsearch -b "dc=enst-bretagne,dc=fr" -h ldapserver -LLL -x uid=alenorcy dn: uid=alenorcy,ou=autre personnel,o=personnel,dc=enst-bretagne,dc=fr objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount cn: alenorcy sn: alenorcy uid: alenorcy uidNumber: 8433 gidNumber: 903 homeDirectory: /users/disi/stage/alenorcy gecos: LE NORCY Arnaud - Stag. DISI loginShell: /bin/tcsh mail: Arnaud.LENORCY@enst-bretagne.fr registeredAddress: alenorcy@rennes
<security-constraint> <display-name>Tomcat Server Configuration Security Constraint</display-name> <web-resource-collection> <web-resource-name>Protected Area</web-resource-name> <!-- Define the context-relative URL(s) to be protected --> <url-pattern>/services/*</url-pattern> <http-method>GET</http-method> <http-method>POST</http-method> </web-resource-collection> <auth-constraint> <role-name>*</role-name> </auth-constraint> <user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint> </security-constraint> <!-- Login configuration uses form-based authentication --> <login-config> <auth-method>FORM</auth-method> <realm-name>Form-Based Authentication </realm-name> <form-login-config> <form-login-page>/login.jsp</form-login-page> <form-error-page>/error.jsp</form-error-page> </form-login-config> </login-config> <!-- Security roles referenced by this web application --> <security-role> <!-- <description> The role that is required to log in to the Administration Application </description> --> <role-name>*</role-name> </security-role>
<form method="POST" action="j_security_check">
<table>
<tr>
<td>Login :</td>
<td><input type="text" name="j_username"></td>
</tr>
<tr>
<td>Mot de passe :</td>
<td><input type="password" name="j_password"></td>
</tr>
<tr>
<td><input type="submit" value="Entrer"></td>
<td><input type="reset" value="Annuler"></td>
</tr>
</table>
</form>
<html> <head> <title>Echec de l'authentifciation</title> </head> <body> <h2>Echec de l'authentifciation : <a href="/">nouvelle tentative?</a> </h2> </body> </html>
<Realm className="org.apache.catalina.realm.JNDIRealm" debug="99"
connectionURL="ldap://ldap.rennes.enst-bretagne.fr:389"
userBase="o=personnel,dc=enst-bretagne,dc=fr"
userSubtree="true"
userSearch="(uid={0})"
/>
<Realm className="org.apache.catalina.realm.JNDIRealm" debug="99"
connectionURL="ldap://ldap.rennes.enst-bretagne.fr:389"
userBase="ou=permanents,o=personnel,dc=enst-bretagne,dc=fr"
userSearch="(uid={0})"
/>
<Realm className="org.apache.catalina.realm.JNDIRealm" debug="99"
connectionURL="ldap://ldap.rennes.enst-bretagne.fr:389"
userPattern="uid={0},ou=permanents,o=personnel,dc=enst-bretagne,dc=fr"
/>
UpsernVer a commenté, le
04/01/2012 à 10:03:32 :
<a href=http://www.flickr.com/people/73433313@N06/>buying online zithromax</a>
http://www.flickr.com/people/73433313@N06/
Nancy a commenté, le
01/10/2011 à 07:24:18 :
Thanks for the share!
Nancy.R
Kixwigire a commenté, le
27/09/2011 à 06:30:08 :
<a href=http://xvioqjqx.com>Hello :)</a>
Anthony
a commenté, le
04/09/2011 à 11:07:30 :
Very nice, i suggest webmaster can set up a forum, so that we can talk and communicate.