TOS 5 upgrade changes router hostname (Samba 4 troubles)

ad_name/hostname: smb.conf can have option name 'mysambaname' which can be used when max protocol is set to 1 or 2 (and you should see that name after “network discovery” on client side. For dialect 3 and newer, it is kind of obsolete option (ie: using DNS and not wins/netbios), so by default you have no name set. So i think if you set it manually/explicitly all should be fine. (aside you can change hostname in foris/luci and keep smb.conf/ uci samba config as is.

if there is no “name” set, hostname is used instead, but still you should be able to browse/connect the samba share using IP instead. I have “hostname” as “NODE-42” (can’t access it via samba using that hostname) and samba “name” as “node42” (accesible by that name). But still i am mounting the share using ip. :slight_smile:

It is for TOS 3.x and Samba 3.x version , but i think some info is generic …

1 Like