SSTP with User Principal Name login

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
viniciusferrao
Posts: 4
Joined: Mon Nov 03, 2014 8:54 pm

SSTP with User Principal Name login

Post by viniciusferrao » Mon Nov 03, 2014 8:57 pm

Hello guys,

I started using SoftEther to remove our legacy PPTP service and I'm loving the software, it's really a masterpiece.

But, I was unable to authenticate SSTP users using it's UPN or Email Address. It appears to work with L2TP connection, but fails with SSTP. Using a Windows 7 Client, and following the Wizard I cannot login in the service typing username@domain.com; only username is accepted.

There's a way to change how SoftEther works to accept this kind of login? Using NT Domain Authentication, how this is done? Using the sAMAccountName?

Thanks in advance,
Vinícius.

cedar
Site Admin
Posts: 2274
Joined: Sat Mar 09, 2013 5:37 am

Re: SSTP with User Principal Name login

Post by cedar » Wed Nov 19, 2014 8:56 am

SoftEther VPN PPP stack recognizes the string after last '@' of the user name as the virtual hub name.
If you want to use '@' in the user name, you should append '@hubname' to the user name.

viniciusferrao
Posts: 4
Joined: Mon Nov 03, 2014 8:54 pm

Re: SSTP with User Principal Name login

Post by viniciusferrao » Mon Dec 01, 2014 3:50 pm

I'm aware of the behaviour cedar, but I would like to know how to circumvent this or even request a feature to the team developing SoftEther.

I don't know the internals of SoftEther, and I would like to authenticate our users using it UPN and not the sAMAccountName. The sAMAccountName is dated today, and using the UPN is easier to keep the infrastructure.

In our example we have multiple domains using different UPN's but the sAMAccountName is not consistent due to different users with the same name, as example:

john@example.com
john@subdomain.example.com

So using UPN solves this issues.

Thanks in advance,
Vinícius.

viniciusferrao
Posts: 4
Joined: Mon Nov 03, 2014 8:54 pm

Re: SSTP with User Principal Name login

Post by viniciusferrao » Tue Mar 24, 2015 6:17 am

Sorry for "raising" the thread, but there's a way we can request a new feature?

I'm still interested in some way to achieve this. In a very large domain it's a common sense to have a lot of users with different user principal names.

kosztyua
Posts: 23
Joined: Thu Nov 27, 2014 8:49 pm

Re: SSTP with User Principal Name login

Post by kosztyua » Tue Mar 24, 2015 8:52 am

As a workaround, why don't you create HUBs with the specific principal names? Does SE crop the @hubname part when forwarding for authentication? If not, thats not a bad solution.

viniciusferrao
Posts: 4
Joined: Mon Nov 03, 2014 8:54 pm

Re: SSTP with User Principal Name login

Post by viniciusferrao » Tue Mar 24, 2015 6:57 pm

Hello kosztyua,

The major problem is that in our AD domain only the users from the "root" domain (example.com) have the sAMAccountName equal to the beggining of the mail address. So the other users have a different sAMAccountName and this would difficult the login.

I don't know if I was clear enough but the situation is something like this:

UPN and Mail Address: user@example.com
sAMAccountName: EXAMPLE\user

That's the common case, but some users are using this pattern:

UPN and Mail Address: user@subdomain.example.com
sAMAccountName: EXAMPLE\<Number equivalent to Employee ID>

And this is the problem...

I'm doing some tests at this moment, perhaps the problem wasn't on SoftEther, but on the Windows side with the native VPN agent. I've tried to login in a OS X machine using L2TP+IPSec and the parser appeared to be right. With double @ on the address the parser worked, so things like this: username@example.com@VPNHUBNAME worked.

I'll do more tests and repost here the results.

Thanks in advance,

Post Reply