Constants

GROUP_VALUE_MEMBER_FORMAT_DN

GROUP_VALUE_MEMBER_FORMAT_DN

GROUP_VALUE_MEMBER_FORMAT_UID

GROUP_VALUE_MEMBER_FORMAT_UID

GROUP_VALUE_MEMBER_FORMAT_CN

GROUP_VALUE_MEMBER_FORMAT_CN

Properties

$templateId

$templateId : 

Type

$templateName

$templateName : 

Type

$templateMessageId

$templateMessageId : 

Type

$rootDN

$rootDN : string

Type

string — Domain name of ldap service which can be used for distinction with others domains (servers) For example: pydio,fr, company,com

$server

$server : array

Type

array — includes: - address (array of ip or name) - port - securityProtocol (connection) - user - password

$separator

$separator : string

Type

string — Some system use '.' instead of ',' in dn string to separate items.

$providerType

$providerType : 

Type

$mapping

$mapping : \Pydio\Auth\Driver\LDAP\Utils\mapping

Type

\Pydio\Auth\Driver\LDAP\Utils\mapping — rules

$pageSize

$pageSize : 

Type

$userIdAttribute

$userIdAttribute : 

Type

$userDisplayAttribute

$userDisplayAttribute : 

Type

$userSearchAttribute

$userSearchAttribute : 

Type

$groupIdAttribute

$groupIdAttribute : 

Type

$groupDisplayAttribute

$groupDisplayAttribute : 

Type

$groupSearchAttribute

$groupSearchAttribute : 

Type

$userDN

$userDN : 

Type

$userFilterString

$userFilterString : 

Type

$groupDN

$groupDN : 

Type

$groupFilterString

$groupFilterString : 

Type

$groupPrefix

$groupPrefix : 

Type

$organizationUnitClass

$organizationUnitClass : array

Type

array — Used for mapping organization Unit to Pydio group Path. That means we bring an OU branch of LDAP to Pydio then OUs become GroupPath In this case, groups will become roles. Depend on schema, the class name could be different - MS AD: organizationalUnit, container - OpenLdap:

$organizationUnitAttributes

$organizationUnitAttributes : 

Type

$useFakeMemberOf

$useFakeMemberOf : 

Type

$userAttributeMeaningMemberof

$userAttributeMeaningMemberof : string

Type

string — Some examples: Active Directory uses: MemberOf Sun directory server uses: isMemberOf IBM TDS uses: ibm-AllGroups ...

$groupAttributeMeaningMember

$groupAttributeMeaningMember : string

Type

string — Depend on ldap server, it could be: - member : cn=userName,dc=domain,dc=com - memberUid: cn=userName,dc=domain,dc=com - uniquemember: uid=kvaughan, ou=People, dc=example,dc=com [Sun OpenDS] - apple-group-memberguid: A9373112-44C6-4C28-8D9F-7F42E9CA9D7B [Apple OpenDirectory]

$groupValueMemberFormat

$groupValueMemberFormat : 

Type

$reduceGroupPathName

$reduceGroupPathName : boolean

Type

boolean — Some ldap may have a lot of nesting group, so Group Path could be very long and exceeded 512 characters. This value, if true, will reduce the name of group DN by cutting off base DN For example: cn=Group1,dc=domain,dc=com/cn=Group2,dc=domain,dc=com/cn=Group3,dc=domain,dc=com reduced to: cn=Group1/cn=Group2/cn=Group3

$lifeTime

$lifeTime : integer

Type

integer — Ldap object Time to live in cache. default value: 600 seconds, 10 minutes

$createPydioGroupForEachDomain

$createPydioGroupForEachDomain : boolean

Type

boolean

$mapGroupPathBaseOnOU

$mapGroupPathBaseOnOU : \Pydio\Auth\Driver\LDAP\Utils\type

Type

\Pydio\Auth\Driver\LDAP\Utils\type — bool There are two type of mapping to Pydio's group Path: - [true] : mapping OU in ldap to Pydio Group Path - [false] : mapping Group in ldap to Pydio group Path

$mapGroupPathBaseGroup

$mapGroupPathBaseGroup : 

Type

$compactDomainName

$compactDomainName : \Pydio\Auth\Driver\LDAP\Utils\type

Type

\Pydio\Auth\Driver\LDAP\Utils\type — boolean - TRUE: the root domain name will be cut off from group DN or dn of OU when mapping to Pydio's Group Path. This value is usually exceed 512 chars which can generate an error in DB. For example: OU=company,OU=finance,DC=pydio,DC=com will be translated to: OU=company,OU=finance Note: When it's true, Pydio will create automatically a new group in Pydio name: domain (ex: /pydio.com). That's can distinguish from other domains

$supportsUserPassword

$supportsUserPassword : boolean

Type

boolean — Some ldaps do not support password verification.

Methods

convertRootDNToPydioFormat()

convertRootDNToPydioFormat() 

getAllUserAttributes()

getAllUserAttributes() 

getAllGroupAttributes()

getAllGroupAttributes() 

setMappingGroupPathBaseOnOU()

setMappingGroupPathBaseOnOU() 

setMappingGroupPathBaseOnGroup()

setMappingGroupPathBaseOnGroup() 

setCompactDomain()

setCompactDomain() 

__construct()

__construct() 

Construction