Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Configure a secure L2TP VPN - authentication failed' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Configure a secure L2TP VPN - authentication failed
Authored by: isometry on Jun 23, '06 11:41:40AM

With the configuration I posted /etc/ppp/chap-secrets isn't used - users are authenticated against the netinfo database. However, I think I probably know the fix:

  1. Open a Terminal

  2. Type the following (where username is your username):

    $ dscl . read /users/username AuthenticationAuthority
  3. If your AuthenticationAuthority is currently set to just ;ShadowHash;, then you need to extend it. Change it with the following command:

    $ sudo dscl . change /users/username AuthenticationAuthority ;ShadowHash; ;ShadowHash;HASHLIST:<SALTED-SHA1,SMB-NT,SMB-LAN-MANAGER>
  4. If you changed the authentication authority value, then reset your password (possibly to what it already is):

    $ passwd

After you've done the above, it should work :)

Post a follow-up either way to let me know whether this helped.



[ Reply to This | # ]
10.4: Configure a secure L2TP VPN - authentication failed
Authored by: isometry on Jun 23, '06 06:56:56PM

Sorry, I forgot to shell escapes. The command above should be:


$ sudo dscl . change /users/username AuthenticationAuthority \
  ';ShadowHash;' \
  ';ShadowHash;HASHLIST:<SALTED-SHA1,SMB-NT,SMB-LAN-MANAGER>'


[ Reply to This | # ]