mirror of
https://github.com/jakobadam/RDSFactor.git
synced 2025-06-07 04:55:35 +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 ADMailField As String = ""
|
||||
Public Shared EnableOTP As Boolean
|
||||
Public Shared NetBiosDomain As String = ""
|
||||
Public Shared secrets As NASAuthList
|
||||
|
||||
Public Shared SessionTimeOut As Integer = 30 ' in minutes
|
||||
|
@ -141,11 +140,7 @@ Public Class RDSFactor
|
|||
Try
|
||||
RConfig.Load(ApplicationPath() & "\conf\RDSFactor.ini")
|
||||
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")
|
||||
If LDAPDomain.Length = 0 Then
|
||||
ServerLog("ERROR: LDAPDomain can not be empty")
|
||||
|
|
|
@ -2,11 +2,10 @@
|
|||
ClientList=127.0.0.1
|
||||
SenderEmail=noreply@example.com
|
||||
ADField=telephoneNumber
|
||||
EnableOTP=1
|
||||
EnableOTP=0
|
||||
Provider=https://www.cpsms.dk/sms/?username=myuser&password=mypassword&recipient=***NUMBER***&message=***TEXTMESSAGE***&from=CPSMS
|
||||
Debug=1
|
||||
MailServer=
|
||||
NetBiosDomain=ad
|
||||
TSGW=1
|
||||
LDAPDomain=ad.example.com
|
||||
EnableEmail=0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue