Mailinglist Archive: opensuse-buildservice (344 mails)

< Previous Next >
[opensuse-buildservice] Re: Open Build Service - ldaps
  • From: David Greaves <david@xxxxxxxxxxxx>
  • Date: Fri, 21 May 2010 11:04:30 +0100
  • Message-id: <4BF65AAE.6030405@xxxxxxxxxxxx>
We can keep this on the list - even when it makes my silly mistakes public :)

Gourdin, ThomasX wrote:
Hi David,

I'm trying with ldap server with non secure connection...

Btw, in the config file, you say SSL port for ldap is 686 but it's not
correct, it's 636.

luckily this is just a typo in the config comments

src/api/lib/active_rbac_mixins/user_mixins.rb has:
port = defined?( LDAP_PORT ) ? LDAP_PORT : 636

From your previous off-list email (sorry, was busy):
Here is the log when trying to contact our ADGC server :
[D|# 3303] Using LDAP to find xxxxxx (my user id)
[D|# 3303] Looking for xxxxxx using ldap
[D|# 3303] Unable to ping to any LDAP server: xxxxx.xxx.xxx.xxx.xxx
[D|# 3303] Unable to connect to LDAP server
|D|# 3303] User not found with LDAP, falling back to database

when you get a ping timeout it really is a ping timeout.. the code includes:
ldap_servers = LDAP_SERVERS.split(":")
server = ldap_servers[rand(ldap_servers.length)]
ping = system("ping -c 1 #{server} >/dev/null 2>/dev/null")

so that could indicate a problem

David

--
"Don't worry, you'll be fine; I saw it work in a cartoon once..."
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages