The patch did work, thanks.

Ciao
Mathias

> I know this worked in earlier versions, but it seems the current release 
> has added an overly restrictive syntax check.  If you login as root we 
> can fix this on the fly by changing the file 
> /opt/vyatta/share/ofr/template/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def
> 
>  
> 
> From:
> 
>  
> 
>   help: "Set pre-shared secret key"
> 
>   type:  txt
> 
>   syntax: pattern $(@) "^[-_a-zA-Z0-9.]+$" ; "invalid pre-shared secret 
> key \"$(@)\""
> 
>  
> 
> To:
> 
>  
> 
>   help: "Set pre-shared secret key"
> 
>   type:  txt
> 
>   syntax: pattern $(@) "^[\([EMAIL PROTECTED]" ; "invalid pre-shared 
> secret key \"$(@)\""
> 
>  
> 
> Hope that helps.
> 
>  
> 
> stig
> 
>  
> 
>  
> 
>>  mathias
> 
>>
> 
>>
> 
>>
> 
>>  [EMAIL PROTECTED] set vpn ipsec site-to-site peer xxx.xxx.xxx.xxx
> 
>>  authentication pre-shared-secret "11([EMAIL PROTECTED]"
> 
>>  [edit]
> 
>>  [EMAIL PROTECTED] commit
> 
>>  [edit]
> 
>>  Commit Failed
> 
>>  invalid pre-shared secret key "11([EMAIL PROTECTED]"
> 
>>
> 
>>
> 
>>  [EMAIL PROTECTED] set vpn ipsec site-to-site peer xxx.xxx.xxx.xxx
> 
>>  authentication pre-shared-secret '11([EMAIL PROTECTED]'
> 
>>  [edit]
> 
>>  [EMAIL PROTECTED] commit
> 
>>  [edit]
> 
>>  Commit Failed
> 
>>  sh: -c: line 0: syntax error near unexpected token `('
> 
>>  sh: -c: line 0: `/opt/vyatta/sbin/xorp_tmpl_tool set vpn ipsec
> 
>>  site-to-site peer 'xxx.xxx.xxx.xxx' authentication pre-shared-secret
> 
>>  ''11([EMAIL PROTECTED]'''
> 
>>  _______________________________________________
> 
>>  Vyatta-users mailing list
> 
>>  Vyatta-users@mailman.vyatta.com
> 
>>  http://mailman.vyatta.com/mailman/listinfo/vyatta-users
> 
_______________________________________________
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users

Reply via email to