UID_Filter in httpd.conf template

Liutauras Adomaitis liutauras at infosaitas.lt
Tue Aug 7 12:10:08 CEST 2007


Hello,

I'm using kolab packaged by Mandriva. it is without OpenPKG. I can't tell 
which version it is - since kolab -v gives me error about not existing 
OpenPKG. rpm -qa | grep kolab gives:
kolab-1.9.5-0.20050801.5mdv2007.1
kolab-resource-handlers-0.4.1-0.20050811.2mdk
kolab-webadmin-0.4.9-0.20050910.2mdv2007.1

Any way the problem is that httpd.conf.template attribute
UID_Filter "(|(uid=%u)(mail=%u))" is defined, but my apache complains about 
it. I can only start apache with UID_Filter commented. I didn't notice any 
disadvantages of runing kolab without UID_Filter, but still why is it so?

The context of UID_Filter is:
<Directory "/var/www/html/kolab/freebusy">
   <IfModule mod_dav.c>
      Dav On
   </Ifmodule>
   #Script PUT /kolab/freebusy/freebusy.php
   AllowOverride None
   Options None
   # Disallow for everyone as default
   Order allow,deny
   <Limit GET PUT LOCK UNLOCK PROPFIND HEAD OPTIONS>
       Allow from all
@@@if apache-allow-unauthenticated-fb@@@
@@@else@@@
       Require valid-user
@@@endif@@@
   </Limit>
@@@if apache-allow-unauthenticated-fb@@@
@@@else@@@
   AuthType Basic
   AuthName "Kolab Freebusy (webdav)"
#   <IfModule mod_mm_auth_ldap.c>
      LDAP_Server @@@ldap_ip@@@
      LDAP_Port @@@ldap_port@@@
      Base_DN "@@@base_dn@@@"
      # temporary : openldap changed from 2.1.9 to 2.1.12
      # anonymous bind with dn is nolonger allowed
      # unfortunately mod_auth_ldap seems to exactly do so
      # need to investigate ...
      Bind_DN "@@@php_dn@@@"
      Bind_Pass "@@@php_pw@@@"
#      UID_Filter "(|(uid=%u)(mail=%u))"
#   </IfModule>
@@@endif@@@
   <IfModule mod_dav.c>
      DavMinTimeout 600
   </Ifmodule>
   AddDefaultCharset Off
   <IfModule mod_php5.c>
      php_value 
include_path ".:/var/www/html/kolab/admin/include:/usr/share/pear"
      #php_admin_flag safe_mode on
   </IfModule>
</Directory>

<Directory "/var/www/html/kolab/webcalendar">
   <IfModule mod_dav.c>
      Dav On
   </Ifmodule>
   AllowOverride None
   Options None
   # Disallow for everyone as default
   Order allow,deny
   <Limit GET PUT LOCK UNLOCK PROPFIND HEAD OPTIONS>
       Allow from all
       Require valid-user
   </Limit>
   AuthType Basic
   AuthName "Kolab Freebusy (webdav)"

#   <IfModule mod_mm_auth_ldap.c>
      LDAP_Server @@@ldap_ip@@@
      LDAP_Port @@@ldap_port@@@
      Base_DN "@@@base_dn@@@"
      # temporary : openldap changed from 2.1.9 to 2.1.12
      # anonymous bind with dn is nolonger allowed
      # unfortunately mod_auth_ldap seems to exactly do so
      # need to investigate ...
      Bind_DN "@@@php_dn@@@"
      Bind_Pass "@@@php_pw@@@"
#      UID_Filter "(|(uid=%u)(mail=%u))"
#   </IfModule>
   <IfModule mod_dav.c>
      DavMinTimeout 600
   </Ifmodule>
   AddDefaultCharset Off
</Directory>



Liutauras




More information about the users mailing list