fixed Samba domain SID check (2994528)
This commit is contained in:
parent
4de8edd20d
commit
b5086bc156
|
@ -6,6 +6,7 @@ June 2010 3.1.0
|
|||
-> custom scripts: new options to hide executed commands and define if output is HTML or plain text
|
||||
- fixed bugs:
|
||||
-> Asterisk password handling (patch 2979728)
|
||||
-> Samba domain SID check (2994528)
|
||||
|
||||
|
||||
24.03.2010 3.0.0
|
||||
|
|
|
@ -470,6 +470,7 @@ function get_preg($argument, $regexp) {
|
|||
break;
|
||||
case 'domainSID': // Samba domain SID
|
||||
$pregexpr = "/^S\\-[0-9]\\-[0-9]\\-[0-9]{2,2}\\-[0-9]+\\-[0-9]+\\-[0-9]+$/";
|
||||
break;
|
||||
case 'ip': // IP address
|
||||
$pregexpr = '/^[0-9]{1,3}[.][0-9]{1,3}[.][0-9]{1,3}[.][0-9]{1,3}$/';
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue