Lines Matching refs:getConf

67         $this->cando['modPass'] = $this->getConf('modPass');
91 if($this->getConf('binddn') && $this->getConf('bindpw')) {
93 …if(!@ldap_bind($this->con, $this->getConf('binddn'), conf_decodeString($this->getConf('bindpw'))))…
98 } else if($this->getConf('binddn') &&
99 $this->getConf('usertree') &&
100 $this->getConf('userfilter')
104 $this->getConf('binddn'),
105 array('user'=> $user, 'server'=> $this->getConf('server'))
108 } else if(strpos($this->getConf('usertree'), '%{user}')) {
111 $this->getConf('usertree'),
112 array('user'=> $user, 'server'=> $this->getConf('server'))
183 if($this->getConf('binddn') && $this->getConf('bindpw') && $this->bound < 2) {
185 …if(!@ldap_bind($this->con, $this->getConf('binddn'), conf_decodeString($this->getConf('bindpw'))))…
203 $info['server'] = $this->getConf('server');
206 $base = $this->_makeFilter($this->getConf('usertree'), $info);
207 if($this->getConf('userfilter')) {
208 $filter = $this->_makeFilter($this->getConf('userfilter'), $info);
213 $sr = $this->_ldapsearch($this->con, $base, $filter, $this->getConf('userscope'));
238 if(is_array($this->getConf('mapping'))) {
239 foreach($this->getConf('mapping') as $localkey => $key) {
260 if($this->getConf('grouptree') || $this->getConf('groupfilter')) {
261 $base = $this->_makeFilter($this->getConf('grouptree'), $user_result);
262 $filter = $this->_makeFilter($this->getConf('groupfilter'), $user_result);
263 … $this->_ldapsearch($this->con, $base, $filter, $this->getConf('groupscope'), array($this->getConf
276 if(!empty($grp[$this->getConf('groupkey')])) {
277 $group = $grp[$this->getConf('groupkey')];
715 if($this->getConf('debug')) {
721 $port = $this->getConf('port');
723 $servers = explode(',', $this->getConf('server'));
740 if($this->getConf('version')) {
743 $this->getConf('version')
746 msg('Setting LDAP Protocol version '.$this->getConf('version').' failed', -1);
750 if($this->getConf('starttls')) {
757 if($this->getConf('referrals') > -1) {
760 $this->getConf('referrals')
771 if($this->getConf('deref')) {
772 if(!@ldap_set_option($this->con, LDAP_OPT_DEREF, $this->getConf('deref'))) {
773 msg('Setting LDAP Deref mode '.$this->getConf('deref').' failed', -1);
782 if($this->getConf('binddn') && $this->getConf('bindpw')) {
783 …$bound = @ldap_bind($this->con, $this->getConf('binddn'), conf_decodeString($this->getConf('bindpw…
847 if(!$this->getConf('debug')) return;