diff --git a/lam/lib/modules/sambaSamAccount.inc b/lam/lib/modules/sambaSamAccount.inc index f0d5247a..58c0ff1b 100644 --- a/lam/lib/modules/sambaSamAccount.inc +++ b/lam/lib/modules/sambaSamAccount.inc @@ -650,6 +650,9 @@ class sambaSamAccount extends baseModule implements passwordService { return false; } } + if (!isset($this->attributes['sambaSID']) || ($this->attributes['sambaSID'] == '')) { + return false; + } return true; }