DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20242>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20242

LDAP caching does not work without c:\tmp

           Summary: LDAP caching does not work without c:\tmp
           Product: Apache httpd-2.0
           Version: 2.0.45
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: mod_ldap
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The caching functionality in mod_ldap does not work in windows systems that do
not have c:\tmp.

This is because the constant MODLDAP_SHMEM_CACHE is hardcoded to point to
/tmp/mod_ldap_cache.

How to reproduce the problem:

configure apache to log errors with debug level. make sure that c:\tmp does not
exist. configure ldap cache in conf. start apache. you should get the following
message in error log:

[Mon May 26 12:16:44 2003] [debug] util_ldap.c(1104): (OS 3)The system cannot
find the path specified.  : [108] ldap cache init: The system cannot find the
path specified.  

stop apache. create c:\tmp. start apache. the file mod_ldap_cache is created in
c:\tmp. you can monitor ldap cache with SetHandler ldap-status.

cheers
prefab

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to