Jump to content

Topic on User talk:Amaury Palao

My ldap.json doesn't seems to work

1
Amaury Palao (talkcontribs)

Hello, I get the same error message from the apache log file : [client 132.156.9.193:62252] AH01071: Got error 'PHP message: Found invalid JSON in file: /media/wiki_cits35/ldap.json', referer: http://132.156.9.74:8080/index.php?title=Sp%C3%A9cial:Connexion&returnto=Accueil

However I don't think I have the same probleme. Here is my ldap.json.

{

        "xxxx.xxx.xxx": {

                "connection": {

                        "server": "xxxxx.xxx.xx.xx",

                        "port": "389",

                        "user": "CN=mediawiki-sa,CN=Users,DC=lenfiber,DC=local",

                        "pass": "*******",

                        "enctype": "clear",

                        "options": {

                                "LDAP_OPT_DEREF": 1

                        },

                        "basedn": "dc=nrn,dc=nrcan,dc=gc,dc=ca",

                        "userbasedn": "dc=nrn,dc=nrcan,dc=gc,dc=ca",

                        "groupbasedn": "dc=nrn,dc=nrcan,dc=gc,dc=ca",

                        "searchattribute": "samaccountName",

                        "usernameattribute": "samaccountname",

                        "realnameattribute": "cn",

                        "emailattribute": "mail",

                        "grouprequest": "Mediawiki\\Extension\\LDAPProvider\\UserGroupsRequest\\UserMemberOf::factory",

                        "presearchusernamemodifiers": [ "spacestounderscores", "lowercase" ]

                },

                "userinfo": [],

                "authorization": []

                "groupsync": []

                }

        }

}

Thank you for any help

Reply to "My ldap.json doesn't seems to work"