mvo5 / libsmbclient-go

Go bindings for libsmbclient
MIT License
18 stars 11 forks source link

Fix input of authentication info #4

Closed jibel closed 4 years ago

jibel commented 4 years ago

Readline use a buffer valid until next call, so when capturing domain, user and password, buffers where overwritten by next input. Use ReadString instead which behaves differently.

Co-authored-by: Didier Roche didrocks@ubuntu.com