Mailinglist Archive: opensuse-buildservice (123 mails)

< Previous Next >
Re: [opensuse-buildservice] Spurious "401 unauthorized" errors in osc with 2.8.3 / LDAP backend
On 19/09/17 07:30, Stefan Seyfried wrote:

Hi,

I'm a long time happy user of the OBS with LDAP auth, even though it was not
officially supported.
Since the update from 2.8.2 to 2.8.3 (which brought official LDAP support), my
users and I am seeing
spurious "401 Unauthorized" messages on osc commands.

Usually, a retry of the command then succeeds.

There is nothing suspicious at that time in production.log.

Hi Stefan, the code that attempts to authenticate a user via ldap occurs in this method:

https://github.com/opensuse/open-build-service/blob/2.8/src/api/app/models/user_ldap_strategy.rb#L306

Although you say there is nothing suspicious in the logs, could you provide a copy of the logs around the time when one of these spurious 401s occur? It would still be really helpful for us to debug this..

Thanks, Evan.

--
Evan Rolfe
Full Stack Web Developer
SUSE Linux GmbH, Maxfeldstr. 5, D-90409 Nürnberg
Tel: +49-911-74053-0; Fax: +49-911-7417755; https://www.suse.com/
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard,
Graham Norton, HRB 21284 (AG Nürnberg)

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References