forked from extern/egroupware
fix fatal error if sambaadmin is not installed, but was before
This commit is contained in:
parent
06673bcb03
commit
79750d22a5
@ -1199,7 +1199,8 @@ class Ldap
|
|||||||
$this->frontend->exists(-1 * $sign * $account_id) ||
|
$this->frontend->exists(-1 * $sign * $account_id) ||
|
||||||
// if sambaadmin is installed, call it to check there's not yet a relative id (last part of SID) with that number
|
// if sambaadmin is installed, call it to check there's not yet a relative id (last part of SID) with that number
|
||||||
// to ease migration to AD or Samba4
|
// to ease migration to AD or Samba4
|
||||||
$GLOBALS['egw_info']['apps']['sambaadmin'] && ExecMethod2('sambaadmin.sosambaadmin.sidExists', $account_id)));
|
file_exists(EGW_SERVER_ROOT.'/sambaadmin') && $GLOBALS['egw_info']['apps']['sambaadmin'] &&
|
||||||
|
ExecMethod2('sambaadmin.sosambaadmin.sidExists', $account_id)));
|
||||||
|
|
||||||
if (!$account_id || $max && $account_id > $max)
|
if (!$account_id || $max && $account_id > $max)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user