← Back to team overview

dhis2-devs team mailing list archive

Re: LDAP configuration

 

Hi Team,

As per my knowledge there are two version, ldap v2 and ldap v3.

Does dhis2 support any specific version of ldap or it doesn't matter ?

Thanks,
Chameera.

On Fri, Jun 10, 2016 at 5:15 PM Chameera Mirihella <chameera9019@xxxxxxxxx>
wrote:

> Hi Lars,
>
> Thank you so much for the reply.
>
> This is the output when try to login
>
> [image: ldap-tomcat-login.png]
>
> and I search through tomcat log to find LDAP related message and I
> couldn't find any.
>
> I use 2.23 instance and I use this doc as a reference.
> https://dhis2.github.io/dhis2-docs/2.23/en/implementer/html/ch08s05.html
>
> any suggestions, pls ?
>
> Thanks,
> Chameera.
>
> On Fri, Jun 10, 2016 at 4:57 PM Lars Helge Øverland <lars@xxxxxxxxx>
> wrote:
>
>> Hi Chameera,
>>
>> can you tell us the output of the tomcat log which is produced while you
>> attempt to log in?
>>
>> Also, during startup, the system will output "LDAP configuration enabled"
>> or something like that to the Tomcat log if in fact detected.
>>
>> regards,
>>
>> Lars
>>
>>
>>
>>
>> On Fri, Jun 10, 2016 at 1:05 PM, Chameera Mirihella <
>> chameera9019@xxxxxxxxx> wrote:
>>
>>> Hi Team,
>>>
>>> I'm trying to configure a dhis instance against a LDAP server for
>>> authentication.
>>>
>>> attached is my dhis.conf file with ldap parameters.
>>>
>>> after ldap configuration when I access the login page it is just the
>>> usual login interface (I expected something different like when we
>>> configured openid) and I have no clue whether it is connected to the ldap
>>> server.
>>>
>>> but one thing I noticed, it use local db for authentication.
>>>
>>> I checked the ldap parameters using a ldap client browser and I am 99%
>>> sure about the parameters I have provided in dhis.conf
>>>
>>> Is there anything i am missing, can someone please help..?
>>>
>>> [image: ldap-config.png]
>>>
>>> Thanks,
>>> Chameera.
>>>
>>> On Wed, Jun 8, 2016 at 6:09 PM Chameera Mirihella <
>>> chameera9019@xxxxxxxxx> wrote:
>>>
>>>> Thanks Bob, I understand, I will look into that.
>>>>
>>>> Thanks again
>>>> Chameera.
>>>>
>>>>
>>>> On Wed, Jun 8, 2016 at 1:48 PM Bob Jolliffe <bobjolliffe@xxxxxxxxx>
>>>> wrote:
>>>>
>>>>> That ldap.url looks like the http url of your php ldap frontend web
>>>>> application.  You need to point it at the running ldap service not the php
>>>>> web interface.
>>>>>
>>>>> On 8 June 2016 at 07:00, Chameera Mirihella <chameera9019@xxxxxxxxx>
>>>>> wrote:
>>>>>
>>>>>> Hi Team,
>>>>>>
>>>>>> I am trying to configure a dhis instance against a LDAP server for
>>>>>> authentication.
>>>>>>
>>>>>> I followed this doc.
>>>>>>
>>>>>> http://dhis2.github.io/dhis2-docs/2.23/en/implementer/html/dhis2_implementation_guide_en_full.html#d4040e1283
>>>>>>
>>>>>> LDAP server is installed in another ubuntu machine in the same
>>>>>> network.
>>>>>>
>>>>>>
>>>>>> https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-a-basic-ldap-server-on-an-ubuntu-12-04-vps
>>>>>>
>>>>>> after configure dhis.conf file when restart tomcat it gives an error.
>>>>>>
>>>>>> here I attached the dhis.conf and tomcat command prompt.
>>>>>>
>>>>>> dhis instance :- 2.23
>>>>>>
>>>>>> please let me know anything I am missing here.
>>>>>>
>>>>>> [image: ldap-config.png]
>>>>>>
>>>>>> [image: ldap-tomcat error.png]
>>>>>>
>>>>>> Thanks,
>>>>>> Chameera.
>>>>>>
>>>>>> _______________________________________________
>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> lars@xxxxxxxxx
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>>

PNG image

PNG image

PNG image

PNG image


References