Bonjour,
J'ai installé médiawiki sur easyphp, il fonctionne, mais je voudrais effectuer une identification sur un serveur ldap, donc j'ai modifié le fichier LocaSettings.php en ajoutant des lignes présente sur le site web de l'éditeur et j'ai bien sur ajouté le fichier ldapauthentication.php dans /extensions, mais cela ne fonctionne pas, il me dit toujours mot de passe invalide...
Ayant réussi à faire fonctionner cette fonction avec Joomla1.5 j'ai donc repris mes réglages mais rien à y faire...
Les voici :
Afin de vérifier que le script envoi bien les bonnes requêtes au ldap, j'utilise un sniffer, donc à ce niveau ces bon (cela ma permis de trouver les bon réglages pour joomla1.5)Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 ######################################################################################################################## ### LDAP Authentication Plugin # require_once( 'extensions/LdapAuthentication.php' ); $wgAuth = new LdapAuthenticationPlugin(); # ### Identify server # $wgLDAPDomainNames = array('domaine.truc'); $wgLDAPServerNames = array('domaine.truc'=>'adserver',); $wgMinimalPasswordLength = 1; # ### Uncomment this for troubleshooting # #$wgLDAPDebug = 99; # ### Straight bind with Search Strings # $wgLDAPSearchStrings = array('domaine.truc'=>'sAMAccountName@domaine.truc'); $wgLDAPSearchAttributes = array('mycompany.com'=>'sAMAccountName'); $wgLDAPBaseDNs = array('domaine.truc'=>'OU=**,DC=**,DC=**,DC=**,DC=**'); # ### New-style group lookup, needs to be lowercase # $wgLDAPRequiredGroups = array('domaine.truc'=>array('OU=**,DC=**,DC=**,DC=**,DC=**')); $wgLDAPGroupUseFullDN = array('domaine.truc'=>true); $wgLDAPGroupObjectclass = array('domaine.truc'=>'cn'); $wgLDAPGroupAttribute = array('domaine.truc'=>'member'); $wgLDAPGroupSearchNestedGroups = array('domaine.truc'=>true); $wgLDAPGroupNameAttribute = array(domaine.truc=>'cn');
A oui il s'agit d'un serveur LDAP microsoft server 2000
Merci d'avance ci vous avez une solution ou de quoi faire avancer le blocus :P