mirror of
https://github.com/jakobadam/RDSFactor.git
synced 2025-06-07 21:15:27 +02:00
Remove unused netbiosdomain
This commit is contained in:
parent
fdd99dbb7a
commit
fdfe54dcf7
2 changed files with 2 additions and 8 deletions
|
@ -15,7 +15,6 @@ Public Class RDSFactor
|
||||||
Public Shared ADField As String = ""
|
Public Shared ADField As String = ""
|
||||||
Public Shared ADMailField As String = ""
|
Public Shared ADMailField As String = ""
|
||||||
Public Shared EnableOTP As Boolean
|
Public Shared EnableOTP As Boolean
|
||||||
Public Shared NetBiosDomain As String = ""
|
|
||||||
Public Shared secrets As NASAuthList
|
Public Shared secrets As NASAuthList
|
||||||
|
|
||||||
Public Shared SessionTimeOut As Integer = 30 ' in minutes
|
Public Shared SessionTimeOut As Integer = 30 ' in minutes
|
||||||
|
@ -141,11 +140,7 @@ Public Class RDSFactor
|
||||||
Try
|
Try
|
||||||
RConfig.Load(ApplicationPath() & "\conf\RDSFactor.ini")
|
RConfig.Load(ApplicationPath() & "\conf\RDSFactor.ini")
|
||||||
DEBUG = RConfig.GetKeyValue("RDSFactor", "Debug")
|
DEBUG = RConfig.GetKeyValue("RDSFactor", "Debug")
|
||||||
NetBiosDomain = RConfig.GetKeyValue("RDSFactor", "NetBiosDomain")
|
|
||||||
If NetBiosDomain.Length = 0 Then
|
|
||||||
ServerLog("ERROR: NetBiosDomain can not be empty")
|
|
||||||
ConfOk = False
|
|
||||||
End If
|
|
||||||
LDAPDomain = RConfig.GetKeyValue("RDSFactor", "LDAPDomain")
|
LDAPDomain = RConfig.GetKeyValue("RDSFactor", "LDAPDomain")
|
||||||
If LDAPDomain.Length = 0 Then
|
If LDAPDomain.Length = 0 Then
|
||||||
ServerLog("ERROR: LDAPDomain can not be empty")
|
ServerLog("ERROR: LDAPDomain can not be empty")
|
||||||
|
|
|
@ -2,11 +2,10 @@
|
||||||
ClientList=127.0.0.1
|
ClientList=127.0.0.1
|
||||||
SenderEmail=noreply@example.com
|
SenderEmail=noreply@example.com
|
||||||
ADField=telephoneNumber
|
ADField=telephoneNumber
|
||||||
EnableOTP=1
|
EnableOTP=0
|
||||||
Provider=https://www.cpsms.dk/sms/?username=myuser&password=mypassword&recipient=***NUMBER***&message=***TEXTMESSAGE***&from=CPSMS
|
Provider=https://www.cpsms.dk/sms/?username=myuser&password=mypassword&recipient=***NUMBER***&message=***TEXTMESSAGE***&from=CPSMS
|
||||||
Debug=1
|
Debug=1
|
||||||
MailServer=
|
MailServer=
|
||||||
NetBiosDomain=ad
|
|
||||||
TSGW=1
|
TSGW=1
|
||||||
LDAPDomain=ad.example.com
|
LDAPDomain=ad.example.com
|
||||||
EnableEmail=0
|
EnableEmail=0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue