Пример #1
0
 /**
  * sets up the LDAP configuration to be used for the test
  */
 protected function initConnection()
 {
     parent::initConnection();
     $originalHost = $this->connection->ldapHost;
     $originalPort = $this->connection->ldapPort;
     $this->connection->setConfiguration(['ldapHost' => 'qwertz.uiop', 'ldapPort' => '32123', 'ldap_backup_host' => $originalHost, 'ldap_backup_port' => $originalPort]);
 }
 /**
  * sets up the LDAP configuration to be used for the test
  */
 protected function initConnection()
 {
     parent::initConnection();
     $this->connection->setConfiguration(['ldapUserDisplayName' => 'displayname']);
 }
 /**
  * sets up the LDAP configuration to be used for the test
  */
 protected function initConnection()
 {
     parent::initConnection();
     $this->connection->setConfiguration(['homeFolderNamingRule' => 'homeDirectory']);
 }
 /**
  * sets up the LDAP configuration to be used for the test
  */
 protected function initConnection()
 {
     parent::initConnection();
     $this->connection->setConfiguration(['ldapBaseGroups' => 'ou=Groups,' . $this->base, 'ldapUserFilter' => 'objectclass=inetOrgPerson', 'ldapUserDisplayName' => 'displayName', 'ldapGroupDisplayName' => 'cn', 'ldapLoginFilter' => 'uid=%uid']);
 }