Lines Matching defs:opts
50 protected $opts = [];
245 $info['grps'] = $adldap->user()->groups($this->getUserName($user), (bool) $this->opts['recursive_groups']);
637 if (is_null($domain) && is_array($this->opts)) {
638 $domain = $this->opts['domain'];
641 $this->opts = $this->loadServerConfig((string) $domain);
646 $this->adldap[$domain] = new adLDAP($this->opts);
695 $opts = $this->conf;
697 $opts['domain'] = $domain;
701 $opts[$key] = $val;
705 $opts['domain_controllers'] = explode(',', $opts['domain_controllers']);
706 $opts['domain_controllers'] = array_map('trim', $opts['domain_controllers']);
707 $opts['domain_controllers'] = array_filter($opts['domain_controllers']);
710 if (empty($opts['admin_username']) && !empty($opts['ad_username'])) {
711 $opts['admin_username'] = $opts['ad_username'];
713 if (empty($opts['admin_password']) && !empty($opts['ad_password'])) {
714 $opts['admin_password'] = $opts['ad_password'];
716 $opts['admin_password'] = conf_decodeString($opts['admin_password']); // deobfuscate
719 if ($opts['update_pass'] && ($opts['use_ssl'] || $opts['use_tls'])) {
726 if (empty($opts['admin_username'])) $opts['admin_username'] = null;
727 if (empty($opts['admin_password'])) $opts['admin_password'] = null;
730 if (!empty($opts['admin_username']) && !empty($opts['admin_password'])) {
736 return $opts;