samba-in-kubernetes / samba-operator

An operator for a Samba as a service on PVCs in kubernetes
Apache License 2.0
108 stars 24 forks source link

Fix uses of smbclient before waiting for login OK #231

Closed phlogistonjohn closed 2 years ago

phlogistonjohn commented 2 years ago

Fixes: #230

Before using the smbclient package to perform smb commands, use the more robust requireSMBLogin function to test/require that login to the specified share is possible.