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

WinRM Remote scan not working | Always showing wrong credentials in GLPI agent toolbox #608

Open
thasleemnazeer opened this issue Feb 20, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@thasleemnazeer
Copy link

thasleemnazeer commented Feb 20, 2024

Bug reporting acknowledgment

Yes, I read it

Professional support

Yes, I know

Describe the bug

I have successfully set up the WinRM service on the remote system, and the credentials are functioning correctly. However, when attempting to run the inventory task for WinRM remote scanning, the following error occurs. I am utilizing GLPI agent version 1.7.1 and have attempted both domain and local credentials.

[info] Starting WinRM Local network scan task job...
[info] Running WinRM Local task...
[error] #1, [http client] authentication required, wrong credentials
[error] #1, [http client] authentication required, wrong credentials
[error] #1, [http client] authentication required, wrong credentials
[error] #1, [http client] authentication required, wrong credentials
[error] #1, [http client] authentication required, wrong credentials
[error] #1, [http client] authentication required, wrong credentials
[error] #1, [http client] authentication required, wrong credentials
[info] #1, Netdiscovery result for 192.XXX.XX.X saved in C:/GLPI-Agent/netdiscovery/192.XXX.XX.X.xml
[info] #1, WinRM Local: WinRM Local network scan done

To reproduce

Attempt to perform a remote scan using the agent from one Windows machine to another Windows machine.

Expected behavior

Showing the wrong
Glpi 1

Operating system

Windows

GLPI Agent version

1.7

GLPI version

10.0.11

GLPIInventory plugin or FusionInventory for GLPI plugin version

No response

Additional context

No response

@thasleemnazeer thasleemnazeer added the bug Something isn't working label Feb 20, 2024
@g-bougard
Copy link
Member

Hi @thasleemnazeer

are you using some special characters in the password ? Your problem can be related to #582.

@thasleemnazeer
Copy link
Author

Hi @g-bougard. Appreciate your comment. No special characters are using in the password. I have tried with AD login and local credentials as well.

@g-bougard
Copy link
Member

You should check the following prerequisite: https://glpi-agent.readthedocs.io/en/latest/tasks/remote-inventory.html#pre-requisite

As far I know, only a local user with admin privileges can be used for remote inventory with WinRM.

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

No branches or pull requests

2 participants