Remove unused netbiosdomain

This commit is contained in:
Jakob Aarøe Dam 2015-04-28 12:36:07 +02:00
parent fdd99dbb7a
commit fdfe54dcf7
2 changed files with 2 additions and 8 deletions

View file

@ -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")

View file

@ -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