You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/09/02 16:04:45 UTC

DO NOT REPLY [Bug 49863] New: Apache 2.2.14 won't accept short usernames such as jf with respect to userdirs

https://issues.apache.org/bugzilla/show_bug.cgi?id=49863

           Summary: Apache 2.2.14 won't accept short usernames such as jf
                    with respect to userdirs
           Product: Apache httpd-2
           Version: 2.2.14
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_userdir
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: trond.endrestol@fagskolen.gjovik.no


Hi,

I'm running Apache 2.2.14 on FreeBSD/i386 8.1-STABLE. User accounts are stored
in and authenticated by LDAP running on Novell NetWare 6.5.

I don't expect there to be any problems with the LDAP auth as this does work
for our other FreeBSD boxes and all our users, including our friend jf, see
below.

I have this user with a short username, jf. Apache doesn't seem to care to
display this user's public_html directory. Instead, Apache claims the directory
[DocumentRoot]/~jf does not exist. True enough, but Apache should accept this
(sub)string as a username and look up this user's home directory and the user's
public_html directory in particular and display the result accordingly.

I have checked and rechecked the ownership and permissions on all directories
leading down to the user's public_html directory. All directories and files
within jf's public_html directory check out with respect to ownership and
permissions.

Other users with two letter usernames, such as tt, works like a charm.
What's the deal with the two letter username jf?

A workaround is to create a *local* username, say jwf, with the same
uid/gid/home directory as the jf user and direct everyone to use /~jwf/ in
their links. You have to admit this is strictly unnecessary and rather stupid.

I realise 2.2.14 is a bit old, and I'll upgrade to 2.2.16 shortly to see if
this bug exists there. To be frank, I believe this bug has existed in Apache
for a long, long time, but then again I could be very, very wrong.

Trond.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 49863] Apache 2.2.14 won't accept short usernames such as jf with respect to userdirs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49863

Nick Kew <ni...@webthing.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Nick Kew <ni...@webthing.com> 2010-09-02 10:35:58 EDT ---
Looks to me like a configuration issue (and works fine for /~aa ).  Please use
a user support forum for help, and reopen if a real (reproducible) bug turns up
after fixing your config.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org