Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-1337

store-password=yes does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • unscheduled
    • src
    • None
    • Windows 2000

    Description

      When store-password=yes is in the config file, the password isn't 
      cached. When there is no store-password line in the config file, the 
      password is cached.
      
      Here is the patch:
      
      --- main.c	(revision 6076)
      +++ main.c	(working copy)
      @@ -1031,7 +1031,7 @@
           svn_config_get (cfg, &store_password_val,
                           SVN_CONFIG_SECTION_AUTH, 
      SVN_CONFIG_OPTION_STORE_PASSWORD,
                           NULL);
      -    if (opt_state.no_auth_cache || store_password_val)
      +    if (opt_state.no_auth_cache || (store_password_val && !stricmp
      (store_password_val,"no")))
             svn_auth_set_parameter(ab, SVN_AUTH_PARAM_NO_AUTH_CACHE,
                                    (void *) "");
         }
      

      Original issue reported by mahae

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              subversion-importer Subversion Importer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: