This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# script now here: https://github.com/UnivParis1/server-scripts/blob/master/bin/compareDirsAndSymlinkSameFiles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
# Usage: | |
# | |
# - for now, this script uses JSESSIONID cookie as the stickysession parameter, it could be passed as a ENV parameter | |
# | |
# - put this file in directory (example /usr/local/esup/cgi-bin) | |
# | |
# - allow that directory to run cgi-bins: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
'NB: original version David Ohsie : https://cas-dev.jasig.narkive.com/xJuuetEU/documenting-the-cas-protocol-using-sequence-diagrams-is-this-useful | |
title: CAS Browser Single-Signon Sequence Diagram | |
actor user as U | |
participant "Browser" as B | |
participant "CAS Server" as C | |
participant "Protected App" as P |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use it with Combination auth module: | |
# if ($env->{QUERY_STRING} =~ /openidconnectcallback|&idp=FranceConnect$/) then [FranceConnect, FranceConnect and attrsLDAP] or [LDAP] else if($env->{HTTP_USER_AGENT} =~ /Firefox|Kerberos/) then [Kerberos, attrsLDAP] or [LDAP] else [LDAP] | |
# | |
# and lemonldap-ng.ini | |
# [Portal] | |
# ... | |
# customPlugins = Lemonldap::NG::Portal::MergeFranceConnectInLdap | |
# MergeFranceConnectInLdap_bindDN = cn=claExternalID,ou=admin,dc=univ-paris1,dc=fr | |
# MergeFranceConnectInLdap_bind_password = xxx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>easy unique password per website</title> | |
<style type="text/css"> | |
body { | |
font-family: Verdana, Arial, Helvetica, sans-serif, monospace; | |
} | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// PRI_assistance_dsiun.js | |
if (window.parent === window) { | |
console.log("PRI_assistance_dsiun.js"); | |
window.addEventListener('load', _ => { | |
const elt = document.querySelector('.main_form input[name=name]') | |
if (elt?.value) document.title = elt.value | |
}) | |
} | |
/// PRI_itopshib.js |