Server returned an error: HTTP Error 401: Unauthorized
I'm an OBS newbie and I have my own OBS 2.10.11 instance installed from obs-server.x86_64-oem.iso I have LDAP configured for OBS, and I'm able to successfully use the OBS GUI as user "george_kraft" to build hello world from C source code. When I login as local Linux user "gk4", then I try to osc checkout home:george_kraft but it fails with 401 unauthorized. User gk4 is local and user george_kraft is an OBS user. Any suggestions? Thanks, George (gk4) gk4@obs:~/src> osc checkout home:george_kraft Your user account / password are not configured yet. You will be asked for them below, and they will be stored in /home/gk4/.config/osc/oscrc for future use. Creating osc configuration file /home/gk4/.config/osc/oscrc ... Username: george_kraft Password: 1) chainer ChainerBackend (Backend provided by python-keyring) 2) fail Keyring (Backend provided by python-keyring) 3) Config file credentials manager (Store the credentials in the config file (plain text)) 4) Obfuscated Config file credentials manager (Store the credentials in the config file (obfuscated)) 5) Transient password store (Do not store the password and always ask for the password) Select credentials manager: 4 done Server returned an error: HTTP Error 401: Unauthorized
Am Dienstag, dem 17.05.2022 um 19:22 +0000 schrieb George Kraft:
I'm an OBS newbie and I have my own OBS 2.10.11 instance installed from obs-server.x86_64-oem.iso I have LDAP configured for OBS, and I'm able to successfully use the OBS GUI as user "george_kraft" to build hello world from C source code. When I login as local Linux user "gk4", then I try to osc checkout home:george_kraft but it fails with 401 unauthorized. User gk4 is local and user george_kraft is an OBS user. Any suggestions?
Thanks,
George (gk4)
gk4@obs:~/src> osc checkout home:george_kraft
Your user account / password are not configured yet. You will be asked for them below, and they will be stored in /home/gk4/.config/osc/oscrc for future use.
Creating osc configuration file /home/gk4/.config/osc/oscrc ... Username: george_kraft Password: 1) chainer ChainerBackend (Backend provided by python-keyring) 2) fail Keyring (Backend provided by python-keyring) 3) Config file credentials manager (Store the credentials in the config file (plain text)) 4) Obfuscated Config file credentials manager (Store the credentials in the config file (obfuscated)) 5) Transient password store (Do not store the password and always ask for the password) Select credentials manager: 4 done Server returned an error: HTTP Error 401: Unauthorized
Have you already tried:
# rm /home/gk4/.config/osc/oscrc
# osc -A
participants (3)
-
Frank Schreiner
-
George Kraft
-
George Kraft