Title: LDAP Authentication 2
Author: OrbitaNET
Published: <strong>20 dezembro, 2012</strong>
Last modified: 20 dezembro, 2012

---

Pesquisar plugins

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

![](https://s.w.org/plugins/geopattern-icon/ldap-authentication-2.svg)

# LDAP Authentication 2

 Por [OrbitaNET](https://profiles.wordpress.org/orbitanet/)

[Baixar](https://downloads.wordpress.org/plugin/ldap-authentication-2.zip)

 * [Detalhes](https://br.wordpress.org/plugins/ldap-authentication-2/#description)
 * [Avaliações](https://br.wordpress.org/plugins/ldap-authentication-2/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/ldap-authentication-2/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/ldap-authentication-2/#developers)

 [Suporte](https://wordpress.org/support/plugin/ldap-authentication-2/)

## Descrição

This plug-in extends Simple LDAP Authentication plug-in [Simple LDAP Authentication](https://wordpress.org/extend/plugins/simple-ldap-authentication).

Plug-in works as followed:

Entered credentials are checked by all hash types available on LDAP-server (ssha,
smd5, crypt/standart-des, crypt/enhanced, crypt/md5, crypt/blowfish, sha, clear,
md5) by specified login.

If password is correct:

If user already exist in WordPress database

 * Password, name, surname, e-mail are changed to those existing on LDAP-server.

If no such user is in WordPress database:

If automatic user transfer is disabled by plug-in settings:

 * Existing user data is updated

If automatic user transfer is enabled by plug-in settings:

 * Existing user data is updated
 * New user is created with profile received from LDAP-server.

If the password was incorrect:

 * Wrong password error is shown.

Features

 1. Update user data
 2. Updates user password
 3. Checks password hash using crypt/standart-des, crypt/enhanced, crypt/md5, crypt/
    blowfish, ssha, smd5, sha, md5

## Instalação

This section describes how to install the plugin and get it working.

e.g.

 1. Upload and unzip `ldap-authentication-2.zip` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `<?php do_action('plugin_name_hook'); ?>` in your templates

## Perguntas frequentes

  Can I use SSL on LDAP connection?

Yes. You can enable SSL connection in the option page.

  Can I customize LDAP search filter?

Yes. You can customize the search filters (user ID and group) in the option page.

  How do I use debug mode?

This plugin has a built-in debug mode. When WP_DEBUG is enabled in wp-config.php,
it will turn on the notices that some authenticatin information are added on the
log entry.

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“LDAP Authentication 2” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

 *   [ OrbitaNET ](https://profiles.wordpress.org/orbitanet/)
 *   [ redgecko ](https://profiles.wordpress.org/redgecko/)

[Traduzir o “LDAP Authentication 2” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/ldap-authentication-2)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/ldap-authentication-2/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/ldap-authentication-2/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/ldap-authentication-2/)
por [RSS](https://plugins.trac.wordpress.org/log/ldap-authentication-2/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 1.0

Following functions are added to original plug-in:

updates user data

 * _update_user ($username, $email, $first_name, $last_name, $role = ”)

updates user password

 * _update_user_password ($username , $password)

checks password hash using crypt/standart-des, crypt/enhanced, crypt/md5, crypt/
blowfish

 * _check_CRYPT ($plainTextPass, $ldapPass)

checks password hash using ssha

 * _check_SSHA ($plainTextPass, $ldapPass)

checks password hash using smd5

 * _check_SMD5 ($plainTextPass, $ldapPass)

checks password hash using sha

 * _check_SHA ($plainTextPass, $ldapPass)

checks password for exact match

 * _check_CLEAR ($plainTextPass, $ldapPass)

checks password hash using md5

 * _check_MD5 ($plainTextPass, $ldapPass)

checks entered credentials

 * _get_crypt_pass_by_type ($type, $password, $full_password)

## Meta

 *  Versão **1.0.4**
 *  Última atualização **13 anos atrás**
 *  Instalações ativas **10+**
 *  Versão do WordPress ** 2.7 ou superior **
 *  Testado até **3.4.2**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/ldap-authentication-2/)
 * Tags
 * [authentication](https://br.wordpress.org/plugins/tags/authentication/)[ldap](https://br.wordpress.org/plugins/tags/ldap/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/ldap-authentication-2/advanced/)

## Classificações

Ainda não foi enviada nenhuma avaliação.

[Your review](https://wordpress.org/support/plugin/ldap-authentication-2/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/ldap-authentication-2/reviews/)

## Colaboradores

 *   [ OrbitaNET ](https://profiles.wordpress.org/orbitanet/)
 *   [ redgecko ](https://profiles.wordpress.org/redgecko/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/ldap-authentication-2/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](http://coder-notes.com/)