--- loncom/html/adm/help/tex/Institutional_Integration_Format_Checks.tex 2008/07/28 18:12:46 1.1 +++ loncom/html/adm/help/tex/Institutional_Integration_Format_Checks.tex 2011/05/26 21:58:34 1.6 @@ -1,3 +1,4 @@ +\label{Institutional_Integration_Format_Checks} Format restrictions for usernames and student/employeeIDs for an institution, and formats which may \emph{not} be used for e-mail addresses used as usernames when users self-create accounts are defined in three @@ -16,13 +17,13 @@ keys of top level hash are short names ( each key, value is a hash. \begin{itemize} -\item desc => long name for rule -\item rule => description of rule -\item authtype => (krb5,krb4,int, or loc) authentication type for rule -\item authparm => authentication parameter for rule -\item authparmfixed => 1 if authparm used when creating user for rule must +\item desc =$>$ long name for rule +\item rule =$>$ description of rule +\item authtype =$>$ (krb5,krb4,int, or loc) authentication type for rule +\item authparm =$>$ authentication parameter for rule +\item authparmfixed =$>$ 1 if authparm used when creating user for rule must be authparm -\item authmsg => Message to display describing authentication to use for +\item authmsg =$>$ Message to display describing authentication to use for this rule \end{itemize} \item \$rulesorder - reference to array containing rule names in order to @@ -74,13 +75,13 @@ of top level hash are short names (e.g., each key, value is a hash \begin{itemize} -\item desc => long name for rule -\item rule => description of rule +\item desc =$>$ long name for rule +\item rule =$>$ description of rule \end{itemize} \item \$rulesorder - reference to array containing rule names in order to be displayed \end{enumerate} -At MSU, studentIDs and employee IDs are eight digits prefaced by A +At MSU, student/employee IDs are eight digits prefaced by A or Z. The rule itself is defined in \emph{id\_rules()}, and the code which checks for compliance is in \emph{id\_check()}: @@ -99,7 +100,7 @@ which checks for compliance is in \emph{ \end{quotation} \texttt{\},} -\texttt{facstaffID => \{} +\texttt{facstaffID =$>$ \{} \begin{quotation} \texttt{name => 'MSU faculty/staff ID',} @@ -126,8 +127,8 @@ keys of top level hash are short names ( key, value is a hash \begin{itemize} -\item desc => long name for rule -\item rule => description of rule +\item desc =$>$ long name for rule +\item rule =$>$ description of rule \end{itemize} \item \$rulesorder - reference to array containing rule names in order to be displayed @@ -164,7 +165,7 @@ and the code which checks for compliance \texttt{\}} \end{quotation} The corresponding routines which check for compliance with rules enabled -via Domain Configuration-> User Creation are \emph{username\_check()}, +via Domain Configuration-$>$ User Creation are \emph{username\_check()}, \emph{id\_check()}, and \emph{selfcreate\_check()}. The three routines accept a similar set of four arguments, and return 'ok' in each case, if no error occurred. @@ -203,7 +204,7 @@ The routines used for checking rule comp \begin{quotation} \texttt{if (\$item eq 'netid') \{} \begin{quotation} -\texttt{if (\$uname =\~{} /^\textbackslash{}w\{2,8\}\$/) +\texttt{if (\$uname =\~{} /\^{}\textbackslash{}w\{2,8\}\$/) \{} \begin{quotation} \texttt{\$resultshash->\{\$item\} = 1;} @@ -240,7 +241,7 @@ The routines used for checking rule comp \begin{quotation} \texttt{if (\$item eq 'facstaffID') \{} \begin{quotation} -\texttt{if (\$id =\~{} /^z\textbackslash{}d\{8\}\$/i) +\texttt{if (\$id =\~{} /\^{}z\textbackslash{}d\{8\}\$/i) \{} \begin{quotation} \texttt{\$resultshash->\{\$item\} = 1;} @@ -253,7 +254,7 @@ The routines used for checking rule comp \end{quotation} \texttt{\} elsif (\$item eq 'studentID') \{} \begin{quotation} -\texttt{if (\$id =\~{} /^a\textbackslash{}d\{8\}\$/i) +\texttt{if (\$id =\~{} /\^{}a\textbackslash{}d\{8\}\$/i) \{} \begin{quotation} \texttt{\$resultshash->\{\$item\} = 1;} @@ -291,7 +292,7 @@ The routines used for checking rule comp \begin{quotation} \texttt{if (\$item eq 'msuemail') \{} \begin{quotation} -\texttt{if (\$selfcreatename =\~{} /^\textbackslash{}w\{2,8\}\textbackslash{}@msu\textbackslash{}.edu\$/) +\texttt{if (\$selfcreatename =\~{} /\^{}\textbackslash{}w\{2,8\}\textbackslash{}@msu\textbackslash{}.edu\$/) \{} \begin{quotation} \texttt{\$resultshash->\{\$item\} = 1;}