Closed knebb closed 4 months ago
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Describe the issue you are experiencing
I am trying to map a network share on my QNAP NAS. The NAS is configured as AD-Domain Controller and uses domain accounts for authentication. I went on my HAOS to Settings -> System -> Storage -> Network Storage -> Add Network Storage.
I configured everything but always got the following error when trying to save:
For testing purposes I tried to map the share to one of my other Linux boxes and I got the same error. Adding the domain part (i.e. in
/etc/fstab
) and the mount succeeded immediately! This in my good line in /etc/fstab:\\qnap\haos-backup /mnt cifs domain=mydom,credentials=/root/secret3.txt,_netdev 0 0
Removeing the "domain=..." part resulted in the same error I got on my HAOS.So I assume I need to tell my HOAS to add the domain part somehow. Unfortunately I do not see any option to do so!
And no, there is not need to "join" HAOS to the domain, it works without joining them- my Linux boxes are not part of the domain!
We just need an (optional) field to add the domain name. I.e by allowing the Windows-Systax DOMAIN\USERNAME in the username field.
To make sure this is the issue I create a local-only user on my NAS and used this user to map the network drive. It succeeded immediately!
So please add some option for optional domain support in "Map Network Share"
/KNEBB
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Steps to reproduce the issue
...
Anything in the Supervisor logs that might be useful for us?
System Health information
No repairs available
Supervisor diagnostics
config_entry-hassio-a56acf874c749be29ec07926bc682e03.json
Additional information
No response