Red Hat Bugzilla – Bug 505060
Incorrect passwd file created
Last modified: 2009-06-29 05:53:33 EDT
Description of problem:
Gnome-user-share creates an incorrect passwd file. Therefore you can not access the shared directory over network if full password protection is enabled. This may be related to localization (see below). I am using LANG=de_DE.UTF-8.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
(0. Switch to a non-english locale)
1. Enable sharing over network and set password protection to 'always'
2. Look up the used port, e.g. using 'ps x | grep httpd'
3. Try to connect, e.g. using 'cadaver dav://localhost:PORT/', and try to login with username 'guest' and the chosen password
Authentication required for Please log in as the user guest on server `localhost':
Could not authenticate to server: rejected Digest challenge
Access to the shared directory
The log tells me:
[error] [client ::1] Digest: user `guest' in realm `Please log in as the user guest' not found: /
Content of ~/.config/user-share/passwd:
guest:Bitte melden Sie sich als Gastbenutzer an:46f7b560a0cd0b8d96966ea30eb8b275
==> This can not work while the realm does not match. A localization issue?
If I recreate the passwd file using using the htdigest command
$ htdigest -c /home/rat/.config/user-share/passwd \
'Please log in as the user guest' guest
the content of ~/.config/user-share/passwd is:
guest:Please log in as the user guest:b5c3b4ba5f1b1b50baf6852eb150c29c
==> As you can see, the realm _and_ the password parts differ from the original entry.
With the manually created passwd file I can login as expected.
*** This bug has been marked as a duplicate of bug 500123 ***