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.2017 14:49, Stefan Seyfried wrote:
On 19.09.2017 12:08, Evan Rolfe wrote:
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

Yes, I found it (and that you probably broek it with 44df33c0 ;-)

It wasn't you, it was Björn.

please revert db44312746793b8dc46651af48de231f827d0cc6 (and backport to 2.8 ;)
Björn: please read up on what "redo" does :-P

I'm testing a locally patched version right now.

Thanks,

Stefan
--
Stefan Seyfried

"For a successful technology, reality must take precedence over
public relations, for nature cannot be fooled." -- Richard Feynman
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups