Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WindowsAD auth error #1376

Open
yuzhaninan opened this issue Aug 15, 2024 · 0 comments
Open

WindowsAD auth error #1376

yuzhaninan opened this issue Aug 15, 2024 · 0 comments
Labels

Comments

@yuzhaninan
Copy link

Describe the Bug

Date: 2024-08-15 16:03:53
Level: Error
ThreadId: 1
Server: SERVER
Category: NotSpecified: (SamAccountName:ADPrincipal) [Get-ADPrincipalGroupMembership], ADException
Message: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
StackTrace: в Get-PodeAuthADGroupsDirect, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\pode\Private\Authentication.ps1: строка 1762
в Get-PodeAuthADGroups, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\pode\Private\Authentication.ps1: строка 1727
в Get-PodeAuthADResult, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\pode\Private\Authentication.ps1: строка 1443
в , C:\Windows\system32\WindowsPowerShell\v1.0\Modules\pode\Private\Authentication.ps1: строка 775
в Invoke-PodeScriptBlock, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\pode\Public\Utilities.ps1: строка 551
в , C:\Windows\system32\WindowsPowerShell\v1.0\Modules\pode\Private\Authentication.ps1: строка 1165
в Invoke-PodeScriptBlock, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\pode\Public\Utilities.ps1: строка 543
в Invoke-PodeMiddleware, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\pode\Private\Middleware.ps1: строка 45

Steps To Reproduce

Steps to reproduce the behavior:

New-PodeAuthScheme -Form | Add-PodeAuthWindowsAd -Name 'Login' -Groups @("TestAdAccess") -Users @() -FailureUrl '/login' -SuccessUrl '/' -ADModule -DirectGroups

TestAdAccess - Other domain universal group in same forest.
(In MY exp-s Get-ADPrincipalGroupMembership fucked up.)

Expected Behavior

Login in to PodeRoute

Screenshots

If applicable, add screenshots to help explain your problem.

Platform

  • OS: Windows 10
  • Browser: Chrome
  • Versions:
    • Pode: 2.8.0
    • PowerShell: 5.1

Additional Context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant