Lines Matching refs:conf

18  *   $conf['authtype']       = 'authad';
20 * $conf['plugin']['authad']['account_suffix'] = '@my.domain.org';
21 * $conf['plugin']['authad']['base_dn'] = 'DC=my,DC=domain,DC=org';
22 * $conf['plugin']['authad']['domain_controllers'] = 'srv1.domain.org,srv2.domain.org';
25 * $conf['plugin']['authad']['sso'] = 1;
26 * $conf['plugin']['authad']['admin_username'] = 'root';
27 * $conf['plugin']['authad']['admin_password'] = 'pass';
28 * $conf['plugin']['authad']['real_primarygroup'] = 1;
29 * $conf['plugin']['authad']['use_ssl'] = 1;
30 * $conf['plugin']['authad']['use_tls'] = 1;
31 * $conf['plugin']['authad']['debug'] = 1;
33 * $conf['plugin']['authad']['expirywarn'] = 5;
37 * $conf['plugin']['authad']['additional'] = 'field1,field2';
89 if (isset($this->conf['additional'])) {
90 $this->conf['additional'] = str_replace(' ', '', $this->conf['additional']);
91 $this->conf['additional'] = explode(',', $this->conf['additional']);
92 } else $this->conf['additional'] = [];
96 if ($this->conf['debug'])
115 if ($this->conf['sso']) {
127 $this->cando['modName'] = (bool)$this->conf['update_name'];
128 $this->cando['modMail'] = (bool)$this->conf['update_mail'];
164 $this->conf['sso']
205 global $conf;
216 $fields = array_merge($fields, $this->conf['additional']);
238 foreach ($this->conf['additional'] as $field) {
256 if (!in_array($conf['defaultgroup'], $info['grps'])) {
257 $info['grps'][] = $conf['defaultgroup'];
267 if ($info['expires'] && $this->conf['expirywarn']) {
277 ($info['expiresin'] <= $this->conf['expirywarn']) &&
341 (!isset($this->conf[$domain]) || !is_array($this->conf[$domain])) &&
342 $this->conf['account_suffix'] !== ''
594 if ($this->conf['debug']) msg('AD Auth: ' . $e->getMessage(), -1);
616 if ($this->conf['debug']) msg('AD Auth: ' . $e->getMessage(), -1);
649 if ($this->conf['debug']) {
680 if ($this->conf['account_suffix'] !== '') {
695 $opts = $this->conf;
700 if ($domain && is_array($this->conf[$domain] ?? '')) foreach ($this->conf[$domain] as $key => $val) {
749 if (empty($this->conf['account_suffix'])) return $domains; // not configured yet
752 $domains[''] = ltrim($this->conf['account_suffix'], '@');
755 foreach ($this->conf as $key => $val) {