Bon, vu que j'arrive pas à corriger ma requête, je poste le log d'erreur de mediawiki car on ne sait jamais :
Entering Connect
Using SSL
Using servers: ldaps://server.company.local
Connected successfully
Entering getSearchString
Doing a proxy bind
Entering getUserDN
Created a regular filter: (uid=Hnt)
Entering getBaseDN
basedn is not set for this type of entry, trying to get the default basedn.
Entering getBaseDN
basedn is dc=company,dc=local
Using base: dc=company,dc=local
Fetched username is not a string (check your hook code...). This message can be safely ignored if you do not have the SetUsern
ameAttributeFromLDAP hook defined.
userdn is: cn=Henry-Nicolas Tourneur,ou=People,dc=company,dc=local
Binding as the user
Bound successfully
Entering getGroups
Retrieving LDAP group membership
Searching for the groups
Entering searchGroups
Entering getBaseDN
basedn is not set for this type of entry, trying to get the default basedn.
Entering getBaseDN
basedn is dc=company,dc=local
Search string: (&(memberUid=cn=Henry-Nicolas Tourneur,ou=People,dc=company,dc=local)(objectclass=posixGroup))
Binding as the proxyagent
Returned groups:
Entering checkGroups
Checking for (new style) group membership
Required groups: cn=server,ou=group,dc=company,dc=local
Couldn't find the user in any groups.
Entering strict.
Returning true in strict().
Entering allowPasswordChange
Entering modifyUITemplate
[^] # Re: ldapsearch
Posté par Henry-Nicolas Tourneur . En réponse au message MediaWiki et filtre de group LDAP. Évalué à 1.
Entering Connect
Using SSL
Using servers: ldaps://server.company.local
Connected successfully
Entering getSearchString
Doing a proxy bind
Entering getUserDN
Created a regular filter: (uid=Hnt)
Entering getBaseDN
basedn is not set for this type of entry, trying to get the default basedn.
Entering getBaseDN
basedn is dc=company,dc=local
Using base: dc=company,dc=local
Fetched username is not a string (check your hook code...). This message can be safely ignored if you do not have the SetUsern
ameAttributeFromLDAP hook defined.
userdn is: cn=Henry-Nicolas Tourneur,ou=People,dc=company,dc=local
Binding as the user
Bound successfully
Entering getGroups
Retrieving LDAP group membership
Searching for the groups
Entering searchGroups
Entering getBaseDN
basedn is not set for this type of entry, trying to get the default basedn.
Entering getBaseDN
basedn is dc=company,dc=local
Search string: (&(memberUid=cn=Henry-Nicolas Tourneur,ou=People,dc=company,dc=local)(objectclass=posixGroup))
Binding as the proxyagent
Returned groups:
Entering checkGroups
Checking for (new style) group membership
Required groups: cn=server,ou=group,dc=company,dc=local
Couldn't find the user in any groups.
Entering strict.
Returning true in strict().
Entering allowPasswordChange
Entering modifyUITemplate