Linux PPP protocol development
 help / color / mirror / Atom feed
From: Charles Williams <chuck@itadmins.net>
To: linux-ppp@vger.kernel.org
Subject: PPTP/PPP/Radius/LDAP and usernames in email format
Date: Sat, 11 Aug 2012 11:11:05 +0000	[thread overview]
Message-ID: <50263DC9.4080305@itadmins.net> (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 „user@domain.tld <mailto:user@domain.tld>“ 
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 user@domain.tld 
<mailto:user@domain.tld> 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


             reply	other threads:[~2012-08-11 11:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-11 11:11 Charles Williams [this message]
2012-08-11 11:13 ` PPTP/PPP/Radius/LDAP and usernames in email format Charles Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50263DC9.4080305@itadmins.net \
    --to=chuck@itadmins.net \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox