1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-06 07:44:57 +03:00

SMB Winbind NT Authentication (Password/MsCHAPv2) (#49)

Added Linux NT Authentication functionality to SoftEther through samba ntlm_auth.

Pre requirements
+ samba-winbind -> Domain Member
+ winbind-seperator \ -> used for group check in ntlm_auth

username from client: fqdn domain\username
username in SoftEther: username
timeout: from security policy
optional: set groupname in servermanager
This commit is contained in:
Tim Schneider
2018-05-02 23:42:04 +02:00
committed by Moataz Elmasry
parent 7f499d0e5f
commit bc2efe9efd
2 changed files with 411 additions and 3 deletions

View File

@ -254,6 +254,14 @@ typedef int (COMPARE)(void *p1, void *p2);
// Type declaration
//
// PID type
#ifdef OS_UNIX
typedef int PID;
#endif // OS_UNIX
#ifdef OS_WIN32
typedef unsigned long PID;
#endif // WINDOWS_H
// bool type
#ifndef WINDOWS_H
typedef unsigned int BOOL;