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

empty password in dtool config file not possible #3

Open
RLeute opened this issue Dec 3, 2020 · 0 comments
Open

empty password in dtool config file not possible #3

RLeute opened this issue Dec 3, 2020 · 0 comments

Comments

@RLeute
Copy link

RLeute commented Dec 3, 2020

I recognized with Sarah that an empty password in ".config/dtool/dtool.json" leads to an error when executing dtool ls smb://isilon
We see the following error:

[fr_se159@login1 dtool]$ dtool ls smb://isilon
Traceback (most recent call last):
File "/home/fr/fr_fr/fr_se159/.local/bin/dtool", line 11, in
load_entry_point('dtool-cli==0.7.0', 'console_scripts', 'dtool')()
File "/home/fr/fr_fr/fr_se159/.local/lib/python3.6/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/home/fr/fr_fr/fr_se159/.local/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/fr/fr_fr/fr_se159/.local/lib/python3.6/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/fr/fr_fr/fr_se159/.local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/fr/fr_fr/fr_se159/.local/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/fr/fr_fr/fr_se159/.local/lib/python3.6/site-packages/dtool_info/dataset.py", line 182, in ls
if dtoolcore._is_dataset(uri, CONFIG_PATH):
File "/home/fr/fr_fr/fr_se159/.local/lib/python3.6/site-packages/dtoolcore/init.py", line 85, in _is_dataset
return storage_broker.has_admin_metadata()
File "/home/fr/fr_fr/fr_se159/.local/lib/python3.6/site-packages/dtool_smb/storagebroker.py", line 436, in has_admin_metadata
return self._path_exists(self.get_admin_metadata_key())
File "/home/fr/fr_fr/fr_se159/.local/lib/python3.6/site-packages/dtool_smb/storagebroker.py", line 280, in _path_exists
self.conn.getAttributes(self.service_name, path)
File "/home/fr/fr_fr/fr_se159/.local/lib/python3.6/site-packages/smb/SMBConnection.py", line 265, in getAttributes
self._getAttributes(service_name, path, cb, eb, timeout)
File "/home/fr/fr_fr/fr_se159/.local/lib/python3.6/site-packages/smb/base.py", line 741, in _getAttributes_SMB2
raise NotReadyError('SMB connection not authenticated')
smb.base.NotReadyError: SMB connection not authenticated

We have tested: <"">, <"None">, < None >, <>
as empty passwords where everything in between <> is meant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant