Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2447 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Installation

  [Résolu] [DEBIAN] Support LDAP

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[Résolu] [DEBIAN] Support LDAP

n°1236081
Haloavanda​ha
Posté le 02-09-2010 à 02:39:51  profilanswer
 

Bonjour à tous,
 
Situation initiale :
J'utilise un CMS (qui n'en ai pas vraiment un, mais ça, c'est un autre débat ^^)  qui s'apelle Wordpress. Ce dernier est installé sous debian, avec bien sur Apache, Mysql et phpmyadmin. Wordpress, est comme un blog, qui me sers uniquement pour ecrire des articles, au nombre de 1 ou 2 par jours (donc petite utilisation) et à être consulter par une vingtaine d'utilisateurs.
 
Problème :
Il existe un plugin, qui me sers à m'authentifier sur le blog, avec les identifiants active directory. Ce plugin s'installe bien, mais je ne peux pas le paramétrer, voila pourquoi :
Sorry, but your PHP install does not seem to have access to the LDAP features.
Et
"LDAP support in PHP is not enabled by default. You will need to use the --with-ldap[=DIR] configuration option when compiling PHP to enable LDAP support. DIR is the LDAP base install directory. To enable SASL support, be sure --with-ldap-sasl[=DIR] is used, and that sasl.h exists on the system. "

 
La solution est d'installé le support LDAP, afin que mon plugin puisse tourner. Je peux vous assurer, que j'ai fouillé plein de tutos, de forums... je m'arrache les cheveux et impossible de trouver un truc suceptible de m'aider.
 
En esperant avoir donné les infos pertinentes.
Merci.


Message édité par Haloavandaha le 02-09-2010 à 23:10:39
mood
Publicité
Posté le 02-09-2010 à 02:39:51  profilanswer
 

n°1236087
trueslash
(╯°□°)╯︵ MMM
Posté le 02-09-2010 à 07:59:18  profilanswer
 

aptitude install php5-ldap  
 
ou un truc comme ça
 
edit:
 
bon en fait le package a l'air de s'appeler php-net-ldap dans Debian


Message édité par trueslash le 02-09-2010 à 08:03:28
n°1236242
splurf
Rm -Rf / && oops :o
Posté le 02-09-2010 à 22:08:56  profilanswer
 

gw:~% ac show php5-ldap
Package: php5-ldap
Priority: optional
Section: web
Installed-Size: 64
Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Architecture: amd64
Source: php5
Version: 5.2.6.dfsg.1-1+lenny9
Depends: libc6 (>= 2.7-1), libldap-2.4-2 (>= 2.4.7), libsasl2-2, phpapi-20060613, php5-common (= 5.2.6.dfsg.1-1+lenny9)
Filename: pool/updates/main/p/php5/php5-ldap_5.2.6.dfsg.1-1+lenny9_amd64.deb
Size: 20160
MD5sum: 12bd69178a1f888945faef7499f8cb4e
SHA1: 967b51489ba1579399d01db53a5bdad51c72c19d
SHA256: ea37d2f6634852bf7dfb4ac9c35668e6f370cd1b8d4d1aef40692166f5afdff2
Description: LDAP module for php5
 This package provides a module for LDAP functions in PHP scripts.
 .
 PHP5 is an HTML-embedded scripting language. Much of its syntax is borrowed
 from C, Java and Perl with a couple of unique PHP-specific features thrown
 in. The goal of the language is to allow web developers to write dynamically
 generated pages quickly. This version of PHP5 was built with the Suhosin patch.
Homepage: http://www.php.net/
Tag: devel::{lang:php,library,web}, implemented-in::c, network::client, protocol::ldap, role::devel-lib, role::shared-lib, secteam::etch-limited-support, secteam::lenny-limited-support, works-with::db

n°1236248
Haloavanda​ha
Posté le 02-09-2010 à 22:55:04  profilanswer
 

Bonjour,
D'abord merci !
C'étais bien ça : apt-get install php5-ldap
Puis un /etc/init.d/apache2 reload
Super en tous cas, je peux finaliser tranquilement mon wordpress !


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Installation

  [Résolu] [DEBIAN] Support LDAP

 

Sujets relatifs
[DEBIAN] probleme d'espace disque manquant [RESOLU][apache2] faire expirer une session authentifiée par LDAP
Installation pilote vidéo sur Debian Lenny et incompatibilité X11Debian Raid 1 matériel, cannot read /etc/fstab
[RESOLU] [DEBIAN] Proftpd au démarragechoisir une carte mère mini-itx compatible DEBIAN
[DEBIAN] Config pour du RAID logiciel et streaming A/V[iptables] joindre un point d'accès derrière une Debian.
debian 5, montage NFS impossible 
Plus de sujets relatifs à : [Résolu] [DEBIAN] Support LDAP


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR