Extension:LDAPProvider/tr

halefi olarak bir yaratıldı. Hepsinin uzak bir LDAP kaynağıyla etkileşime girmesi gerekir. Yapılandırma ve bakımı kolaylaştırmak ve birleştirmek için bu uzantı oluşturuldu. LDAP kaynaklarından verileri sorgulamak için sınıflar ve yapılandırma sağlar.

"Extension config" ve "Domain config"
This extensions features two kinds of configuration. On the one side there is the classic "extension configuration". It can be set up by using global variables within the. Be aware that those variables do not have a  prefix. Those settings affect the extension as a whole.

On the other side there is a configuration that is specific to a remote LDAP resource, like connection settings, group membership query mechanism or base DNs. Multiple domains can be configured independently. These settings only affect the communication to the LDAP resource, based on the domain that this resource serves.

Etki alanı yapılandırma sağlayıcıları
By default the domain specific configuration is held in a static JSON file. But one can also use a PHP based (dynamic) configuration. The relevant extension configuration is. It needs to be a callback that returns an object of type.

Statik JSON dosyası
This is the default way. Just set up the extension configuration  to point to a valid JSON file (should be outside of web root).

$LDAPProviderDomainConfigs = "$IP/../ldapprovider.json";

Example:

Dinamik PHP dizisi
As an alternative to the JSON file one can use a PHP array to configure the domains. In this case, just have the  callback return an instance of InlinePHPArray.

Example

İstisna: "'XYZ' alanı için yapılandırma yok!"
Please make sure, that the values in the database field  match with the values set in the first level of the domain-configuration (e.g. in , you will need to replace "LDAP" at the top level with your domain.). If they don't, you can either change the entries in the database using  or adapt the configuration. Attention: In the current version, the domain name is case sensitive.

İstisna: "'LDAP' etki alanı için yapılandırmada 'yetkilendirme' bölümü bulunamadı"
If you enabled the LDAPAuthorization extension (as recommended in the PluggableAuth documentation), you need to add the authorization configuration in the LDAPProvider domain config (more info here)

Uçtan Uca Örnekler

 * Manual:Active Directory Integration (PluggableAuth + LDAP Stack)