Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > by-pkgid > 8ccb93f8217ebb055dff98778b0b9f34 > files > 17

proftpd-1.3.0-4.6mdv2007.0.src.rpm


Bug#2714 - mod_auth_file munges AuthUserFile, AuthGroupFile records.


Index: modules/mod_auth_file.c
===================================================================
RCS file: /cvsroot/proftp/proftpd/modules/mod_auth_file.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -p -r1.25 -r1.26
--- modules/mod_auth_file.c	3 Jul 2005 18:52:02 -0000	1.25
+++ modules/mod_auth_file.c	16 Apr 2006 22:39:28 -0000	1.26
@@ -1188,12 +1188,6 @@ static int authfile_sess_init(void) {
   while (c) {
     authfile_file_t *file = c->argv[0];
 
-/* NOTE: This is a hack, to prevent these config_recs from being handled by
- * mod_unixpw.  Only necessary until mod_unixpw is transformed into
- * mod_auth_unix.
- */
-c->name = "";
-
     if (!af_user_file_list) {
       file->af_next = af_user_file_list;
       af_user_file_list = file;
@@ -1208,12 +1202,6 @@ c->name = "";
   while (c) {
     authfile_file_t *file = c->argv[0];
 
-/* NOTE: This is a hack, to prevent these config_recs from being handled by
- * mod_unixpw.  Only necessary until mod_unixpw is transformed into
- * mod_auth_unix.
- */
-c->name = "";
-
     if (!af_group_file_list) {
       file->af_next = af_group_file_list;
       af_group_file_list = file;