/**
  * the constructor
  *
  * @param  array          $options  options used in connecting, binding, etc.
  */
 public function __construct(array $_options = array())
 {
     parent::__construct($_options);
     if (empty($this->_options['sid'])) {
         throw new Exception('you need to configure the sid of the samba installation');
     }
 }
Exemplo n.º 2
0
 /**
  * the constructor
  *
  */
 public function __construct(array $_options = array())
 {
     parent::__construct($_options);
     $ldapOptions = Tinebase_User::getBackendConfiguration();
     $config = Tinebase_EmailUser::getConfig($this->_backendType);
     $this->_options = array_merge($this->_options, $config);
     if (Tinebase_Core::isLogLevel(Zend_Log::TRACE)) {
         Tinebase_Core::getLogger()->trace(__METHOD__ . '::' . __LINE__ . ' ' . print_r($this->_options, true));
     }
 }