[GeoNode-devel] Connection through LDAP doesn't work

Alessio Fabiani alessio.fabiani at geo-solutions.it
Mon Sep 30 05:45:16 PDT 2019

unfortunately, support for 2.8 has ended in June 2019.

In the case, you can upgrade to 2.10.x, you can check this "contrib" module

Official GeoNode documentation: http://docs.geonode.org/en/master/

LDAP support documentation:


Il giorno lun 30 set 2019 alle ore 14:20 Samuel POTTER <
samuel.potter at cirad.fr> ha scritto:

> Hi,
> I'm trying to set up a LDAP for the company I'm working for as an intern.
> I checked the 2.8 geonode documentation and I added the following line to
> my local_setting.py by changing all the information inside of course.
> import ldap
> from django_auth_ldap.config import LDAPSearch
>     'django_auth_ldap.backend.LDAPBackend',
>     'django.contrib.auth.backends.ModelBackend',
>     'guardian.backends.ObjectPermissionBackend',
> )
> AUTH_LDAP_SERVER_URI = 'ldap://ldap.example.com'
> LDAP_SEARCH_DN = 'ou=users,dc=example,dc=com'
> AUTH_LDAP_USER = '(uid=%(user)s)'
>     'first_name': 'givenName', 'last_name': 'sn', 'email': 'mail',
> }
>                                    ldap.SCOPE_SUBTREE, AUTH_LDAP_USER)
> Then I checked my ldap.conf file and added the URI and the BASE in it too.
> When I make ldapsearch -x -LLL uid=* uid > result, I have the list of the
> LDAP people in it. But when I tried to connect to the site with my account
> that is in the list, It's impossible. I'm probably missing something but I
> don't know what.
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-devel



GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
Ing. Alessio Fabiani

Founder/Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20190930/e8a3fd0c/attachment-0001.html>

More information about the geonode-devel mailing list