http://bugzilla.suse.com/show_bug.cgi?id=933760
http://bugzilla.suse.com/show_bug.cgi?id=933760#c2
--- Comment #2 from Ladislav Slezak ---
It's a bit tricky, with 2 stored credentials it works only for the second one,
the first credentials in /root/.zypp/credentials.cat are ignored/skipped.
Example:
Repositories:
- baseurl=ftp://lslezak@127.0.0.1/13.2
- baseurl=ftp://jana@127.0.0.1/13.2
# cat /root/.zypp/credentials.cat
[ftp://127.0.0.1/13.2]
username = lslezak
password = <password>
[ftp://127.0.0.1/13.2]
username = jana
password = <password>
With this setup the "lslezak" credentials cannot be read:
IniParser.cc(parse):84 Start parsing /root/.zypp/credentials.cat[g___]
IniParser.cc(parse):138 Done parsing /root/.zypp/credentials.cat[_eF_]
CredentialManager.cc(init_userCredentials):168 Got 1 user records.
CredentialManager.cc(getCred):222 No credentials for
'ftp://lslezak@127.0.0.1/13.2'
However, if I edit the /root/.zypp/credentials.cat file so the "lslezak"
credentials are the second position then it works, but then the "jana"
credentials are not found. Looks like the order is important and somehow
triggers a bug.
I'll attach full logs...
--
You are receiving this mail because:
You are on the CC list for the bug.