Macmod / godap

A complete TUI for LDAP.
MIT License
394 stars 20 forks source link

Issue with `--passfile` Parameter in Godap 2.7.0 #8

Closed litvos closed 4 months ago

litvos commented 4 months ago

Description: I encountered an issue with the --passfile parameter in Godap version 2.7.0. While this parameter works correctly in version 2.5.0, I receive an error in version 2.7.0. The error does not occur in version 2.6.0.

Steps to Reproduce:

  1. Use Godap version 2.7.0.
  2. Attempt to use the --passfile parameter as done in previous versions.

Expected Behavior: The --passfile parameter should work without any issues, as it does in versions 2.5.0 and 2.6.0.

Actual Behavior: An error is generated: 2024/06/25 08:53:33 LDAP Result Code 206 "Empty password not allowed by the client": ldap: empty password not allowed by the client

Workaround use -p and provide password via stdin

P.S Thank you for a fantastic piece of software!

Macmod commented 4 months ago

Great catch! For some reason I removed the lines that processed --passfile and --hashfile from 128a27dac5cf2c95bc14985e30125212f0aa5f25. My bad 👍

Macmod commented 4 months ago

Please try v2.7.1, let me know if that works for you :)

litvos commented 4 months ago

thank you Artur, works well!