do not clear invalid SIDs

This commit is contained in:
Roland Gruber 2010-04-30 21:08:44 +00:00
parent b5086bc156
commit 9140f985ff
1 changed files with 1 additions and 0 deletions

View File

@ -409,6 +409,7 @@ class sambaDomain extends baseModule {
$errors = array();
if ($this->getAccountContainer()->isNewAccount) {
// domain SID
$this->attributes['sambaSID'][0] = $_POST['domainSID'];
if (!get_preg($_POST['domainSID'], 'domainSID')) {
$errors[] = $this->messages['domainSID'][0];
}