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/12/07 19:09:41 UTC

DO NOT REPLY [Bug 50427] New: Windows>=Vista+mod_auth_digest+command line=problems

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

           Summary: Windows>=Vista+mod_auth_digest+command line=problems
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_auth_digest
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: lists@glewis.com


Use of mod_auth_digest on Vista & beyond = show stopper at command line.
This was on Win Vista, 2.3 @ r1040791 running at command line. Tested same on
Win7.

This does not affect Apache running as a service, even running as limited user,
so I'm not sure quite to where to place this. It's per design but design
doesn't always work.

[Mon Dec 06 21:54:29.868000 2010] [auth_digest:notice] [pid 704:tid 476]
Digest: generating secret for digest authentication ...
[Mon Dec 06 21:54:29.942000 2010] [auth_digest:error] [pid 704:tid 476] (OS
5)Access is denied.  : Failed to create shared memory segment on file
C:\\Users\\MeMyselfNI\\AppData\\Local\\Temp/authdigest_shm.704
[Mon Dec 06 21:54:29.942000 2010] [auth_digest:error] [pid 704:tid 476] (OS
5)Access is denied.  : Digest: failed to initialize shm - all nonce-count
checking, one-time nonces, and MD5-sess algorithm disabled
Configuration Failed

The Windows user's options are to turn off the UAC, run as Administrator or not
load/use mod_auth_digest when running/testing from the command line. 

When running as a service, the files are physically created.
C:\Users\JustMe\AppData\Local\Temp\authdigest_shm.4216
C:\Users\JustMe\AppData\Local\Temp\authdigest_shm.4668

I thought possibly writing to the logs directory might work but no again;
[Tue Dec 07 09:20:32.045000 2010] [auth_digest:error] [pid 5804:tid 476] (OS
5)Access is denied.  : Failed to create shared memory segment on file
c:/Apache23/logs/authdigest_5804.shm

I then wondered how does the SSLSessionCache do it but that is well over my
head and it does not leave a file behind.

Technically I guess this is minor and probably should just be documented.
Either added to the mod_auth_digest doc or the Windows platform doc with a link
to it from the mod_auth_digest doc.

-- 
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 50427] Windows>=Vista+mod_auth_digest+command line=problems

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

--- Comment #1 from William A. Rowe Jr. <wr...@apache.org> 2010-12-07 15:52:40 EST ---
Just wondering if an unnamed SHM (not file-backed) would be viable on win32?

-- 
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