# Kodi with Synology Password Protected SMB Shares on Unifi networks

- Link: https://tongfamily.com/2022/04/07/kodi-with-synology-password-protected-smb-shares-on-unifi-networks/
- Published: 2022-04-07T08:39:38-07:00
- Author: rich

I’ve used Kodi for a long time so that I can get my high bit rate 4K HDR films off
a dedicated file server. It actually works great for really full quality home movies
and things when you don’t want compression artifacts. The truth is that most 4K 
we watch on steaming is low bit rate.

Sometimes you can really see this is dark settings and there is banding of colors.
But with a 50GB two hour movie in full HDR and DTS on a LG OLED screen with a 5.4.1
sound system. Well it can really change your view.

But one problem is that when I use Kodi it really doesn’t like user names and passwords.
If you allow guest access things are great. Synology and Apple MacOS so Bonjour 
advertisements aka [zeroconf](http://www.zeroconf.org/) aka a ahi and when you go
to Settings > Files you will see those servers in the zeroconf entry.

But I really don’t like leaving open shares even on a home network. Even if it’s
set to read only. But if you close up guest access. In a [synology](https://kb.synology.com/en-us/DSM/tutorial/Why_do_I_always_log_into_my_Synology_NAS_as_quot_guest_quot_automatically)
this is in the control panel/user. You disable guest access then suddenly all browsing
fails to Synology servers over SMB

It turns out that Synology disables SMB v1 because it is insecure and this means
you can’t browse shares unless they allow guest (aka no password access). You can
actually go to setting/services/SMB client to change the m[in client to v2](https://kodi.wiki/view/Settings/Services/SMB_Client)

Instead you have to [manually add a files entry](https://www.reddit.com/r/kodi/comments/altu3v/adding_smb_share_to_kodi_finally_figured_it_out/)
by going to settings / files / add new source. Then you type in the server IP address.
Note that zeroconf doesn’t work here. If you try to browse you won’t see servers
so you need the IP address. If you have a Ubiquiti router then you are in luck. 
It adds to the DNS automatically the host name in the domain .[localdomain](https://richtong.net/2021/08/27/tips-and-tricks-bonjour-local-and-unifi-localdomain/).
This isn’t the same as the special Bonjour domain in .local.

So you enter the server name and a share there and this is how passwords get matched.
Note that apparently the [password](https://forum.kodi.tv/showthread.php?tid=321315)
is saved in clear text as a password.xml in Kodi so make sure the user is read only!

### Share this:

 * [  Mastodon ](https://tongfamily.com/2022/04/07/kodi-with-synology-password-protected-smb-shares-on-unifi-networks/?share=mastodon)
 * [  LinkedIn ](https://tongfamily.com/2022/04/07/kodi-with-synology-password-protected-smb-shares-on-unifi-networks/?share=linkedin)
 * [  Facebook ](https://tongfamily.com/2022/04/07/kodi-with-synology-password-protected-smb-shares-on-unifi-networks/?share=facebook)
 * [  WhatsApp ](https://tongfamily.com/2022/04/07/kodi-with-synology-password-protected-smb-shares-on-unifi-networks/?share=jetpack-whatsapp)
 * [  Email ](https://tongfamily.com/2022/04/07/kodi-with-synology-password-protected-smb-shares-on-unifi-networks/?subject=%5BShared%20Post%5D%20Kodi%20with%20Synology%20Password%20Protected%20SMB%20Shares%20on%20Unifi%20networks&body=https%3A%2F%2Ftongfamily.com%2F2022%2F04%2F07%2Fkodi-with-synology-password-protected-smb-shares-on-unifi-networks%2F&share=email)
 * [More](https://tongfamily.com/2022/04/07/kodi-with-synology-password-protected-smb-shares-on-unifi-networks/#)

 * [  Telegram ](https://tongfamily.com/2022/04/07/kodi-with-synology-password-protected-smb-shares-on-unifi-networks/?share=telegram)
 * [  Print ](https://tongfamily.com/2022/04/07/kodi-with-synology-password-protected-smb-shares-on-unifi-networks/#print?share=print)
 * [  Pinterest ](https://tongfamily.com/2022/04/07/kodi-with-synology-password-protected-smb-shares-on-unifi-networks/?share=pinterest)
 * [  Tumblr ](https://tongfamily.com/2022/04/07/kodi-with-synology-password-protected-smb-shares-on-unifi-networks/?share=tumblr)
 * [  X ](https://tongfamily.com/2022/04/07/kodi-with-synology-password-protected-smb-shares-on-unifi-networks/?share=twitter)

### Like this:

Like Loading…
