[SAC] [OSGeo] #2043: ldapsearch no longer works on staging.www.osgeo.org

OSGeo trac_osgeo at osgeo.org
Wed Nov 29 09:18:17 PST 2017


#2043: ldapsearch no longer works on staging.www.osgeo.org
---------------------------+-------------------------------------
 Reporter:  robe           |      Owner:  sac@…
     Type:  task           |     Status:  new
 Priority:  normal         |  Milestone:  Website rebranding 2017
Component:  Systems Admin  |   Keywords:
---------------------------+-------------------------------------
 Originally when I setup staging.www.osgeo.org

 I did a test to verify ldapsearch worked like this:


 {{{
 ldapsearch -x uid=robe
 }}}

 gives error:


 {{{
 ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
 }}}

 Trying to debug with


 {{{
 ldapsearch -x -d5 uid=robe
 }}}

 Gives a bit more information looks like it's trying to use localhost now
 instead of ldaps://ldap.osgeo.org, so maybe it relies on ldap.conf which
 perhaps was taken out

 {{{
 ldap_create
 ldap_sasl_bind
 ldap_send_initial_request
 ldap_new_connection 1 1 0
 ldap_int_open_connection
 ldap_connect_to_host: TCP localhost:389
 ldap_new_socket: 4
 ldap_prepare_socket: 4
 ldap_connect_to_host: Trying 127.0.0.1:389
 ldap_pvt_connect: fd: 4 tm: -1 async: 0
 attempting to connect:
 connect errno: 111
 ldap_close_socket: 4
 ldap_err2string
 ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
 }}}

 I thought I tried like 2 weeks ago and it worked.  Were ldap changes made
 in past 2 weeks to server?

 Though this still works


 {{{
 getent passwd robe
 }}}


 Thanks,
 Regina

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2043>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Sac mailing list