Skip to contentSkip to conversation

PPTP/PPP/Radius/LDAP and usernames in email format

DISCUSSION Charles Williams 1 participant 2 messages Aug 11, 2012 PPP protocol drivers and compressors

lore
Share & tools
lore
#0 lore raw

Hey all,

Heres's one for you. I am currently setting up a new MS-ChapV2/MPPE VPN gateway with pptp/ppp to freeradius authing against an LDAP store.

This VPN will be used for multiple client domains and so I would like to use usernames in the form of „[email protected] <mailto:[email protected]>“ instead of „user“ (which is the situation atm).

The LDAP store has a branch as follows:

ou=domains,dc=company,dc=com

under ou=domains I have entries for each domain that I will be offering VPN access to.

ie. cn=domain.tld,ou=domains,dc=company,dc=com

I would like to get ppp to send the complete [email protected] <mailto:[email protected]> to radius and have radius use the „domain.tld“ as part of the filter for the username search to limit the search to the sub-branch from the correct domain.

The problem is that I have yet to find a way to get ppp to send the username to Freeradius if there is an @ symbol in the username.

Any ideas?

thanks,
chuck

#1 lore raw

Sorry all, it would seem that a bit of HTML got caught up in the pasting. Here is the one that was meant to be sent.

Hey all,

Heres's one for you. I am currently setting up a new MS-ChapV2/MPPE VPN gateway with pptp/ppp to freeradius authing against an LDAP store.

This VPN will be used for multiple client domains and so I would like to use usernames in the form of „[email protected]“ instead of „user“ (which is the situation atm).

The LDAP store has a branch as follows:

ou=domains,dc=company,dc=com

under ou=domains I have entries for each domain that I will be offering VPN access to.

ie. cn=domain.tld,ou=domains,dc=company,dc=com

I would like to get ppp to send the complete [email protected] to radius and have radius use the „domain.tld“ as part of the filter for the username search to limit the search to the sub-branch from the correct domain.

The problem is that I have yet to find a way to get ppp to send the username to Freeradius if there is an @ symbol in the username.

Any ideas?

thanks,
chuck