--- loncom/html/adm/help/tex/Institutional_Integration_Format_Checks.tex 2008/07/29 07:07:35 1.2 +++ loncom/html/adm/help/tex/Institutional_Integration_Format_Checks.tex 2011/05/26 11:27:01 1.5 @@ -17,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 =\textgreater long name for rule +\item rule =\textgreater description of rule +\item authtype =\textgreater (krb5,krb4,int, or loc) authentication type for rule +\item authparm =\textgreater authentication parameter for rule +\item authparmfixed =\textgreater 1 if authparm used when creating user for rule must be authparm -\item authmsg => Message to display describing authentication to use for +\item authmsg =\textgreater Message to display describing authentication to use for this rule \end{itemize} \item \$rulesorder - reference to array containing rule names in order to @@ -75,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 =\textgreater long name for rule +\item rule =\textgreater 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()}: @@ -100,7 +100,7 @@ which checks for compliance is in \emph{ \end{quotation} \texttt{\},} -\texttt{facstaffID => \{} +\texttt{facstaffID =\textgreater \{} \begin{quotation} \texttt{name => 'MSU faculty/staff ID',} @@ -127,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 =\textgreater long name for rule +\item rule =\textgreater description of rule \end{itemize} \item \$rulesorder - reference to array containing rule names in order to be displayed @@ -165,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-\textgreater 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. @@ -204,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;} @@ -241,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;} @@ -254,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;} @@ -292,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;}