You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/11 06:25:06 UTC

[GitHub] [airflow] edwinkong commented on issue #15773: [SambaHook] Can not extract domain from the username

edwinkong commented on issue #15773:
URL: https://github.com/apache/airflow/issues/15773#issuecomment-837911288


   I am sorry for not checking the upstream before opening an issue here. The upstream project `pysmbclient` was last updated at 9 years ago so the project is very likely to be obsolete. The `NT_STATUS_BAD_NETWORK_NAME` error was raised due to the faulty `subprocess` call
   ```
   smbclient [SHARE] -I [IP] -A [AUTH_FILE] -c ls "[PATH]"
   ```
   the double quote doesn't include the `ls` so it fails.
   
   I would create my samba hook myself. Moreover, the `SambaHook` can not even list the directory, so probably some deprecation warning should be displayed when installing the package.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org