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