Skip to content

Commit

Permalink
Merge pull request #31 from sawest/master
Browse files Browse the repository at this point in the history
version 6.0.6
  • Loading branch information
sawest authored Jan 22, 2018
2 parents 6158e3e + 5077a40 commit aeb042d
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 10 deletions.
4 changes: 2 additions & 2 deletions ActiveDirectory.dnn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="DNN_ActiveDirectoryAuthentication" type="Auth_System" version="06.00.04">
<package name="DNN_ActiveDirectoryAuthentication" type="Auth_System" version="06.00.06">
<friendlyName>DNN_ActiveDirectoryAuthentication</friendlyName>
<description>The DotNetNuke Active Directory Authentication Project is an Authentication provider for DotNetNuke that uses the Windows
Active Directory authentication protocol to authenticate users.
Expand Down Expand Up @@ -33,7 +33,7 @@
<assembly>
<path>bin\Providers</path>
<name>DotNetNuke.Authentication.ActiveDirectory.dll</name>
<version>06.00.04</version>
<version>06.00.06</version>
</assembly>
<assembly>
<path>bin</path>
Expand Down
6 changes: 3 additions & 3 deletions AssemblyInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Imports System.Runtime.InteropServices
'
' You can specify all the values or you can default the Build and Revision Numbers
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("06.00.04.7")>
' <Assembly: AssemblyVersion("06.00.06.1")>

<Assembly: AssemblyVersion("06.00.04.7")>
<Assembly: AssemblyFileVersion("06.00.04.7")>
<Assembly: AssemblyVersion("06.00.06.1")>
<Assembly: AssemblyFileVersion("06.00.06.1")>
6 changes: 3 additions & 3 deletions Providers/ADSIProvider/CrossReferenceCollection.vb
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ Namespace DotNetNuke.Authentication.ActiveDirectory.ADSI
''' [tamttt] 08/01/2004 Created
''' </history>
''' -------------------------------------------------------------------
Public Structure CrossReference
Public Class CrossReference
Friend mDomainPath As String
Friend mCanonicalName As String
Friend mNetBIOSName As String

Friend Sub New (ByVal Path As String, ByVal NetBIOS As String, ByVal Canonical As String)
Friend Sub New(ByVal Path As String, ByVal NetBIOS As String, ByVal Canonical As String)
mDomainPath = Path
mCanonicalName = Canonical
mNetBIOSName = NetBIOS
Expand All @@ -62,7 +62,7 @@ Namespace DotNetNuke.Authentication.ActiveDirectory.ADSI
Return mNetBIOSName
End Get
End Property
End Structure
End Class

' Allows access to items by both NetBiosName or CanonicalName
Private mNetBIOSLookup As Hashtable = New Hashtable
Expand Down
6 changes: 5 additions & 1 deletion Providers/ADSIProvider/Utilities.vb
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,11 @@ Namespace DotNetNuke.Authentication.ActiveDirectory.ADSI
' Only access CrossRefCollection if LDAP is accessible
If Not config.RefCollection Is Nothing AndAlso config.RefCollection.Count > 0 Then
Dim refObject As CrossReferenceCollection.CrossReference = config.RefCollection.Item(CanonicalName)
Return refObject.mNetBIOSName
If Not refObject Is Nothing Then
Return refObject.mNetBIOSName
Else
Return ""
End If
Else
Return ""
End If
Expand Down
Binary file modified Resources.zip
Binary file not shown.
Binary file removed source.tar
Binary file not shown.
Binary file removed source.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.4.7
6.0.6.1

0 comments on commit aeb042d

Please sign in to comment.