| extends | XoopsAuth | 
|---|
XoopsAuthLdap
| Methods | ||||||
|---|---|---|---|---|---|---|
| 
					
	public
					
					
				 | __construct(XoopsDatabase $dao = null)
		Authentication Service constructor
	 Authentication Service constructor OverridesOverriden by | # | ||||
| 
					
	public
					
					
				 | cp1252_to_utf8(mixed $str): string
		XoopsAuthLdap::cp1252_to_utf8()
	 XoopsAuthLdap::cp1252_to_utf8() | # | ||||
| 
					
	public
					
					
				 | authenticate(string $uname, string $pwd = null): bool
		Authenticate  user again LDAP directory (Bind)
              2 options :
        Authenticate directly with uname in…
	 Authenticate user again LDAP directory (Bind) 2 options : Authenticate directly with uname in the DN Authenticate with manager, search the dn Parameters
 OverridesOverriden by | # | ||||
| 
					
	public
					
					
				 | getUserDN($uname): userDN
		Compose the user DN with the configuration.
	 Compose the user DN with the configuration. Returnsor false | # | ||||
| 
					
	public
					
					
				 | getFilter($uname): XoopsUser
		Load user from XOOPS Database
	 Load user from XOOPS Database Returnsobject | # | ||||
| 
					
	public
					
					
				 | loadXoopsUser(mixed $userdn, mixed $uname, mixed $pwd = null): bool
		XoopsAuthLdap::loadXoopsUser()
	 XoopsAuthLdap::loadXoopsUser() | # | ||||
| Methods inherited from XoopsAuth | 
|---|
| setErrors(), getErrors(), getHtmlErrors() | 
| Properties | |||
|---|---|---|---|
| 
	public
					
					
				 |  | $cp1252_map = [
	"\xc2\x80" => "\xe2\x82\xac",
	"\xc2\x82" => "\xe2\x80\x9a",
	"\xc2\x83" => "\xc6\x92",
	"\xc2\x84" => "\xe2\x80\x9e",
	"\xc2\x85" => "\xe2\x80\xa6",
	"\xc2\x86" => "\xe2\x80\xa0",
	"\xc2\x87" => "\xe2\x80\xa1",
	"\xc2\x88" => "\xcb\x86",
	"\xc2\x89" => "\xe2\x80\xb0",
	"\xc2\x8a" => "\xc5\xa0",
	"\xc2\x8b" => "\xe2\x80\xb9",
	"\xc2\x8c" => "\xc5\x92",
	"\xc2\x8e" => "\xc5\xbd",
	"\xc2\x91" => "\xe2\x80\x98",
	"\xc2\x92" => "\xe2\x80\x99",
	"\xc2\x93" => "\xe2\x80\x9c",
	"\xc2\x94" => "\xe2\x80\x9d",
	"\xc2\x95" => "\xe2\x80\xa2",
	"\xc2\x96" => "\xe2\x80\x93",
	"\xc2\x97" => "\xe2\x80\x94",
	"\xc2\x98" => "\xcb\x9c",
	"\xc2\x99" => "\xe2\x84\xa2",
	"\xc2\x9a" => "\xc5\xa1",
	"\xc2\x9b" => "\xe2\x80\xba",
	"\xc2\x9c" => "\xc5\x93",
	"\xc2\x9e" => "\xc5\xbe",
	"\xc2\x9f" => "\xc5\xb8",
] | # | 
| 
	public
					
					
				 |  | $ldap_server
		LATIN CAPITAL LETTER Y WITH DIAERESIS
	 LATIN CAPITAL LETTER Y WITH DIAERESIS | # | 
| 
	public
					
					
				 |  | $ldap_port = '389' | # | 
| 
	public
					
					
				 |  | $ldap_version = '3' | # | 
| 
	public
					
					
				 |  | $ldap_base_dn | # | 
| 
	public
					
					
				 |  | $ldap_loginname_asdn | # | 
| 
	public
					
					
				 |  | $ldap_loginldap_attr | # | 
| 
	public
					
					
				 |  | $ldap_mail_attr | # | 
| 
	public
					
					
				 |  | $ldap_name_attr | # | 
| 
	public
					
					
				 |  | $ldap_surname_attr | # | 
| 
	public
					
					
				 |  | $ldap_givenname_attr | # | 
| 
	public
					
					
				 |  | $ldap_manager_dn | # | 
| 
	public
					
					
				 |  | $ldap_manager_pass | # | 
| 
	public
					
					
				 |  | $_ds | # | 
| Properties inherited from XoopsAuth | 
|---|
| $_dao, $_errors, $auth_method |