I am not sure what the best way to tackle this problem so here it goes...

I want to use the user's input to replace a string value in the registry.  
The problem is locating the subkey.  There is one location that I need to 
change the string value:

\\HKLM\SOFTWARE\Funk Software, Inc.\odyssey\client\configuration
\userDefaults\profiles\profile#1A1A1AAAAA11111AAAA1AA1A1A1A1A1A1AAA1111
\authentication

ttlsIdentity: UserName

Under the "profiles" key, there are two "profile#..." subkeys.  There are 
exactly 40 alphanumerics following the "#".

Under both "authentication" keys, they both contain the "ttlsIdentity" 
string value.  If I have to make both the same values, that's fine as long 
as I change the second "ttlsIdentity" value to the username the user input 
in the script.

What differetiates the two profile keys are that they contain different 
string values for secondaryAuth in subkey "authentication."

HKLM
- SOFTWARE
 - Funk Software, Inc.
  - odyssey
   - client
    - configuration
     - userDefaults
      - profiles
         - profile#8825B0B4471E4123B86A0D08C27FC0A6414F7568
          - authentication
            *secondaryAuth (REG_SZ)= MS-CHAP-V2
            *ttlsIdentity (REG_SZ)= username
         - profile#93976CFE828C6DBFAD79EA46268C893B413F6223
          - authentication
            *secondaryAuth (REG_SZ)= PAP-Token
            *ttlsIdentity (REG_SZ)= username

Any help would be greatly appreciated!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to