From 3b5a0bf78d66a9ff17cef68820ea9cc6e2b2ebf0 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 25 Jun 2010 14:50:13 +0000 Subject: [PATCH] fixed bug when Samba extension was added via profile --- lam/lib/modules/sambaSamAccount.inc | 3 +++ 1 file changed, 3 insertions(+) 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; }