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

"Get-SmbServerConfiguration"-Checks fail in some scenarios #443

Closed
TuemmlerKelch opened this issue Nov 6, 2023 · 3 comments
Closed

"Get-SmbServerConfiguration"-Checks fail in some scenarios #443

TuemmlerKelch opened this issue Nov 6, 2023 · 3 comments
Assignees
Labels
bug Something isn't working information needed Extra attention is needed
Milestone

Comments

@TuemmlerKelch
Copy link
Collaborator

TuemmlerKelch commented Nov 6, 2023

In contrast to below error message, the error is not related to filename-length.
Affected systems seem to be able to process these commands as soon as the "lanmanserver"-service is activated. However, this seems to be only part of the issue, as a lot of systems can still process these commands with lanmanserver being disabled.

image

@TuemmlerKelch TuemmlerKelch added bug Something isn't working critical This needs to be fixed asap labels Nov 6, 2023
@TuemmlerKelch TuemmlerKelch added this to the 5.7 milestone Nov 6, 2023
@TuemmlerKelch
Copy link
Collaborator Author

suggestions:

old new
Microsoft MS (for OS part, not Baseline publisher)
Restricted Traffic Limited Functionality RTLF
Domain Controller DC

@qngngyn
Copy link
Collaborator

qngngyn commented Nov 6, 2023

Current status is found in branch #443. The changed filenames do not fix the issue of Get-SmbServerConfiguration: Filename too long.

Suggestion: Run Get-SMbServerConfiguration -ErrorAction Stop to enable catching of errors, and proceeding the test with registry keys.

@qngngyn qngngyn mentioned this issue Nov 6, 2023
@qngngyn qngngyn linked a pull request Nov 6, 2023 that will close this issue
@TuemmlerKelch TuemmlerKelch modified the milestones: 5.7, 5.7.1 Nov 13, 2023
@TuemmlerKelch TuemmlerKelch changed the title various checks fail due to excessively long filepath "Get-SmbServerConfiguration"-Checks fail in some scenarios Nov 13, 2023
@TuemmlerKelch TuemmlerKelch added information needed Extra attention is needed and removed critical This needs to be fixed asap labels Nov 13, 2023
@TuemmlerKelch
Copy link
Collaborator Author

Please add a note when fallback is used and set status to warning:
*Get-SMBServerConfiguration failed, resorted to checking registry, which might not be 100% accurate. See here and here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working information needed Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants