httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/modules/aaa mod_auth_basic.c
Date Wed, 18 Aug 2004 16:28:57 GMT
bnicholes    2004/08/18 09:28:57

  Modified:    modules/aaa mod_auth_basic.c
  Log:
  Both the r->user and r->ap_auth_type were set previously when the username and password
were extracted from the request.  Resetting them at the end of the handler will overwrite
any changes made by the authn provider.  For example, the ldap authn provider can be configured
to change the user name to a full user dn.
  
  Revision  Changes    Path
  1.18      +0 -6      httpd-2.0/modules/aaa/mod_auth_basic.c
  
  Index: mod_auth_basic.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/aaa/mod_auth_basic.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- mod_auth_basic.c	21 Feb 2004 00:53:18 -0000	1.17
  +++ mod_auth_basic.c	18 Aug 2004 16:28:57 -0000	1.18
  @@ -288,12 +288,6 @@
           return return_code;
       }
   
  -    /* Now that we are done, set the request_rec values so others will know
  -     * who we are.
  -     */
  -    r->user = (char*)sent_user;
  -    r->ap_auth_type = "Basic";
  -
       return OK;
   }
   
  
  
  

Mime
View raw message