From: hickert Date: Wed, 1 Feb 2006 11:32:45 +0000 (+0000) Subject: Added check for trust.schema X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5cada7562a145c307d13cbbc53c3f74b96d8e96e;p=gosa.git Added check for trust.schema git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2612 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions_setup.inc b/include/functions_setup.inc index 44adf1ac1..5a4405233 100644 --- a/include/functions_setup.inc +++ b/include/functions_setup.inc @@ -216,6 +216,16 @@ function schema_check($server, $admin, $password, $aff=0,$CalledByIndexPhP=false $affich['phpgroupware']['msg']= _("Support for phpgroupware enabled")."phpgwaccount.schema"; $affich['phpgroupware']['status']= TRUE; } + + if (!isset($objectclasses['trustAccount'])){ + $messages['trustAccount']['msg']= _("Support for trustAccount disabled, no schema seems to be installed"); + $affich['trustAccount']['msg']= $messages['trustAccount']['msg']."trust.schema"; + $messages['trustAccount']['status']= FALSE; + $affich['trustAccount']['status']= FALSE; + }else{ + $affich['trustAccount']['msg']= _("Support for trustAccount enabled")."trust.schema"; + $affich['trustAccount']['status']= TRUE; + } if (!isset($objectclasses['goFonAccount'])){ $messages['phoneaccount']['msg']= _("Support for gofon disabled, no schema seems to be installed");