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

Fix LDAP not respecting context timeout #3428

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rgmz
Copy link
Contributor

@rgmz rgmz commented Oct 16, 2024

Description:

Work in progress. This seems to be misbehaving.

2024-10-15T23:35:50-04:00	info-0	trufflehog	scanning repo	{"source_manager_worker_id": "Impda", "unit": "https://github.com/Azure/azure-sdk-for-go.git", "unit_kind": "repo", "repo": "https://github.com/Azure/azure-sdk-for-go.git"}
2024-10-15T23:36:12-04:00	info-0	trufflehog	[ldaps] Dialing	{"url": "ldaps://10.10.0.4:636", "username": "sshuser", "password": "**********"}
2024-10-15T23:36:13-04:00	info-0	trufflehog	[ldaps] Dialing	{"url": "ldaps://10.10.0.4:636", "username": "sshuser", "password": "**********"}
2024-10-15T23:36:17-04:00	info-0	trufflehog	[ldaps] Dialing	{"url": "ldaps://10.10.0.4:636", "username": "hdiusers", "password": "**********"}
2024-10-15T23:36:18-04:00	info-0	trufflehog	[ldaps] Dialing	{"url": "ldaps://10.10.0.4:636", "username": "hdiusers", "password": "**********"}
2024-10-15T23:36:22-04:00	info-0	trufflehog	[ldaps] Dialing	{"url": "ldaps://10.10.0.4:636", "username": "DomainUsername", "password": "**********"}
2024-10-15T23:36:23-04:00	error	trufflehog	a detector ignored the context timeout	{"detector_worker_id": "bu4Sg", "detector": {"type":"LDAP"}, "timeout": 10, "metadata": {"Github":{"link":"https://github.com/Azure/azure-sdk-for-go/blob/7ea57e99feeadc51cb635d0c8f05be18cd9b2809/sdk/resourcemanager/hdinsight/armhdinsight/clusters_client_example_test.go#L821","repository":"https://github.com/Azure/azure-sdk-for-go.git","commit":"7ea57e99feeadc51cb635d0c8f05be18cd9b2809","email":"Peng Jiahui <[email protected]>","file":"sdk/resourcemanager/hdinsight/armhdinsight/clusters_client_example_test.go","timestamp":"2023-03-30 05:51:26 +0000","line":821}}}
2024-10-15T23:36:23-04:00	info-0	trufflehog	[ldaps] Dialing	{"url": "ldaps://10.10.0.4:636", "username": "DomainUsername", "password": "**********"}

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@rgmz rgmz force-pushed the fix/ldap-timeout branch 2 times, most recently from 364699c to 1518b2c Compare November 8, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant