httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Cox <...@hyperreal.com>
Subject cvs commit: apache/src mod_auth_msql.c
Date Fri, 12 Apr 1996 08:25:14 GMT
mjc         96/04/12 01:25:14

  Modified:    src       mod_auth_msql.c
  Log:
  Submitted by: Dirk.vanGulik <Dirk.vanGulik@jrc.it>
  
  Upgraded to version 0.6.  Inconsistency with gid/grp in comment/token/source
  Make sure you really use 'Auth_MSQLgrp_field'.
  
  Revision  Changes    Path
  1.4       +6 -3      apache/src/mod_auth_msql.c
  
  Index: mod_auth_msql.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_auth_msql.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -C3 -r1.3 -r1.4
  *** mod_auth_msql.c	1996/03/01 14:20:32	1.3
  --- mod_auth_msql.c	1996/04/12 08:25:12	1.4
  ***************
  *** 115,120 ****
  --- 115,123 ----
     *              no good at all !
     *	   0.3  Added 'Auth_MSQL_nopasswd' option
     *	   0.4  Cleaned out the error messages mess.
  +  *	   0.6  Inconsistency with gid/grp in comment/token/source
  +  *  	 	Make sure you really use 'Auth_MSQLgrp_field' as
  +  *		indicated above.
     */
    
    #include "httpd.h"
  ***************
  *** 184,191 ****
        (void*)XtOffsetOf(msql_auth_config_rec, auth_msql_uname_field),
        OR_AUTHCFG, TAKE1, "The UserID field name must be set to something" },
    
  ! { "Auth_MSQLgid_field", msql_set_string_slot,
  !     (void*)XtOffsetOf(msql_auth_config_rec, auth_msql_nopasswd),
        OR_AUTHCFG, TAKE1, 
    	"GID field name must be set to something if you want to use groups" },
    
  --- 187,194 ----
        (void*)XtOffsetOf(msql_auth_config_rec, auth_msql_uname_field),
        OR_AUTHCFG, TAKE1, "The UserID field name must be set to something" },
    
  ! { "Auth_MSQLgrp_field", msql_set_string_slot,
  !     (void*)XtOffsetOf(msql_auth_config_rec, auth_msql_grp_field),
        OR_AUTHCFG, TAKE1, 
    	"GID field name must be set to something if you want to use groups" },
    
  ***************
  *** 219,225 ****
    
    	/* force fast access over /dev/msql */
    	if ((host) && (!(strcasecmp(host,"localhost"))))
  ! 		*host='\0';
    
        	if ((sock=msqlConnect(host)) == -1) {
    		sprintf (msql_errstr,
  --- 222,228 ----
    
    	/* force fast access over /dev/msql */
    	if ((host) && (!(strcasecmp(host,"localhost"))))
  ! 		*host=NULL;
    
        	if ((sock=msqlConnect(host)) == -1) {
    		sprintf (msql_errstr,
  
  
  

Mime
View raw message