added Kerberos

This commit is contained in:
Roland Gruber 2012-02-19 14:50:57 +00:00
parent fbd94fbecb
commit f55fc885c5
1 changed files with 3 additions and 0 deletions

View File

@ -396,6 +396,9 @@ function get_preg($argument, $regexp) {
case 'hostname':
$pregexpr = '/^([[:alnum:]@\\.\\ \\_\\$-])+$/u';
break;
case 'krbUserName':
$pregexpr = '/^([[:alnum:]@\\/\\.\\ \\_\\$-])+$/u';
break;
case 'hostObject':
$pregexpr = '/^[!]?([[:alnum:]@\\.\\ \\_\\$\\*-])+$/u';
break;