Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

PPTP "MPPE required, but keys are not available"

Dear all

Since last reboot of my server I got following errormessage in VPN Logfile when user tries to connect to the server trough PPTP:

MPPE required, but keys are not available. Possible plugin problem?

Anyone have an idea, what could be wrong ?

May as another information: After restart of the server I had problem, that VPN Server was not started, because the L2TP definitions where not correct... Logfile told me. So I have redefined the PPTP and L2TP setting, but disabled the L2TP login, because I have definied this "only" for test purposes. All definitions where made with Server Administrator.

Before restart of Server Login trough PPTP was working quite well... 😟

I forgott to say, that the Server (Leopard 10.5.1) is an OD Master, which is working quite well (until now). The authentication type for PPTP is set to MS-CHAP (Kerberos is grayed out, I don't know why)

Cheers Daniel

Message was edited by: Daniel Lang

MacPro, Mac OS X (10.5)

Posted on Dec 11, 2007 5:03 AM

Reply
9 replies

Dec 11, 2007 5:40 PM in response to Daniel Lang

Here I have now some logfiles from vpnd... may this helps to see the problem I have overseen:

Wed Dec 12 02:21:21 2007 : Directory Services Authentication plugin initialized
Wed Dec 12 02:21:21 2007 : Directory Services Authorization plugin initialized
Wed Dec 12 02:21:21 2007 : PPTP incoming call in progress from 'xxx.xxx.xxx.xxx'...
Wed Dec 12 02:21:21 2007 : PPTP connection established.
Wed Dec 12 02:21:21 2007 : using link 0
Wed Dec 12 02:21:21 2007 : Using interface ppp0
Wed Dec 12 02:21:21 2007 : Connect: ppp0 <--> socket[34:17]
Wed Dec 12 02:21:21 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x5045e9f1> <pcomp> <accomp>]
Wed Dec 12 02:21:21 2007 : rcvd [LCP ConfReq id=0x0 <mru 1400> <magic 0xfb9005f> <pcomp> <accomp> <callback CBCP>]
Wed Dec 12 02:21:21 2007 : lcp_reqci: rcvd unknown option 13
Wed Dec 12 02:21:21 2007 : lcp_reqci: returning CONFREJ.
Wed Dec 12 02:21:21 2007 : sent [LCP ConfRej id=0x0 <callback CBCP>]
Wed Dec 12 02:21:21 2007 : rcvd [LCP ConfReq id=0x1 <mru 1400> <magic 0xfb9005f> <pcomp> <accomp>]
Wed Dec 12 02:21:21 2007 : lcp_reqci: returning CONFACK.
Wed Dec 12 02:21:21 2007 : sent [LCP ConfAck id=0x1 <mru 1400> <magic 0xfb9005f> <pcomp> <accomp>]
Wed Dec 12 02:21:24 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x5045e9f1> <pcomp> <accomp>]
Wed Dec 12 02:21:24 2007 : rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x5045e9f1> <pcomp> <accomp>]
Wed Dec 12 02:21:24 2007 : sent [LCP EchoReq id=0x0 magic=0x5045e9f1]
Wed Dec 12 02:21:24 2007 : sent [CHAP Challenge id=0x82 <ea8c6372a227309685ab6c0a36d64aec>, name = "server.anywhere.com"]
Wed Dec 12 02:21:24 2007 : rcvd [LCP code=0xc id=0x2 0f b9 00 5f 4d 53 52 41 53 56 35 2e 31 30]
Wed Dec 12 02:21:24 2007 : sent [LCP CodeRej id=0x2 0c 02 00 12 0f b9 00 5f 4d 53 52 41 53 56 35 2e 31 30]
Wed Dec 12 02:21:24 2007 : rcvd [LCP code=0xc id=0x3 0f b9 00 5f 4d 53 52 41 53 2d 30 2d 50 43 31 36 37]
Wed Dec 12 02:21:24 2007 : sent [LCP CodeRej id=0x3 0c 03 00 15 0f b9 00 5f 4d 53 52 41 53 2d 30 2d 50 43 31 36 37]
Wed Dec 12 02:21:24 2007 : rcvd [LCP EchoRep id=0x0 magic=0xfb9005f]
Wed Dec 12 02:21:24 2007 : rcvd [CHAP Response id=0x82 <41....0>, name = "testuser"]
Wed Dec 12 02:21:24 2007 : DSAuth plugin: Could not retrieve key agent account information.
Wed Dec 12 02:21:24 2007 : sent [CHAP Success id=0x82 "S=4020C83B....A M=Access granted"]
Wed Dec 12 02:21:24 2007 : CHAP peer authentication succeeded for testuser
Wed Dec 12 02:21:24 2007 : DSAccessControl plugin: User 'testuser' authorized for access
Wed Dec 12 02:21:24 2007 : MPPE required, but keys are not available. Possible plugin problem?
Wed Dec 12 02:21:24 2007 : sent [LCP TermReq id=0x4 "MPPE required but not available"]
Wed Dec 12 02:21:24 2007 : rcvd [CCP ConfReq id=0x4 <mppe +H +M +S +L -D +C>]
Wed Dec 12 02:21:24 2007 : rcvd [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-wins1 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins3 0.0.0.0>]
Wed Dec 12 02:21:24 2007 : rcvd [LCP TermAck id=0x4 "MPPE required but not available"]
Wed Dec 12 02:21:24 2007 : Connection terminated.
Wed Dec 12 02:21:24 2007 : Connect time 0.1 minutes.
Wed Dec 12 02:21:24 2007 : Sent 0 bytes, received 0 bytes.
Wed Dec 12 02:21:25 2007 : PPTP disconnecting...
Wed Dec 12 02:21:25 2007 : PPTP disconnected
2007-12-12 02:21:25 CET --> Client with address = 192.168.yyy.yyy has hungup

Dec 11, 2007 7:03 PM in response to Daniel Lang

ok folks... seems to be up and running again (until now ... 😉 )

first tried to fix vpn access user with following command

mkpassdb -setkeyagent xxxxx (where xxxxx is the UID of the existing vpn_yyyyyy user)

but no go... still not working.

so I added new vpn keyagent user with following command

vpnaddkeyagentuser /LDAPv3/127.0.0.1

and YEAH!! here the music plays again. the command added a second vpn_yyyyyyy user to the OD, which is working again well.

Now I had to get rid of the old corrupted vpn_yyyyyyy user in the OD with User Admin and all are happy again...

Why the **** the old vpn_yyyy user has lost this rights.... only apple knows (I hope so)! And I hope the folks in cupertino will give that big cat more stability in 10.5.2

However... thanks anyway and cheers for now
Daniel

null

Message was edited by: Daniel Lang

Feb 12, 2008 5:28 AM in response to Daniel Lang

Daniel Lang wrote:
so I added new vpn keyagent user with following command

vpnaddkeyagentuser /LDAPv3/127.0.0.1

and YEAH!! here the music plays again. the command added a second vpn_yyyyyyy user to the OD, which is working again well.


For the benefit of everyone

*vpnaddkeyagentuser /LDAPv3/127.0.0.1*

is only correct if your VPN server is also your OD master. If like me you use different servers to run your VPN and OD master then you need to substitute the IP address of your OD master server, e.g.

*vpnaddkeyagentuser /LDAPv3/192.168.123.11*

Note: this command should be run on the VPN server not the OD master.

I currently (thanks to this command) have a Mac OS X 10.4.11 VPN server connected to a Mac OS X 10.5.1 OD master, and both L2TP and PPTP are working fine.

PPTP "MPPE required, but keys are not available"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.