samba-replacment issue network environment
https://zyxel.diskstation.eu/forum/viewtopic.php?f=4&t=24
Hello, i instal the replacment package exactly in the way i can find in this link.
I do it a second time and the message is that it installed in root and up to date.
but the smbd comand show me the old version?
I ask because I can connect to samba shares manual, but in the network environment i cant see the zyxel NAS. It works again If I activate smb 1.0 client option.
i use an 325v2
is that normal???
thanks for support
Accepted Solution
-
but the smbd comand show me the old version?
That can be normal. The 'replacement package' doesn't actually replace the smbd binary, but installs a second on (in /opt/bin/ in contrast to the firmware /usr/bin). The startscript (/opt/etc/init.d/99sambareplacement) hooks the samba startscript (/etc/init.d/samba.sh) to start the optware smbd instead of the firmware one. Which binary actually will be called when you execute 'smbd —version' depends on your PATH.
I can connect to samba shares manual, but in the network environment i cant see the zyxel NAS. It works again If I activate smb 1.0 client option.
In smb 1.0 the peer discovery was based on netbios broadcasts. In smb 2 that is changed, it's now dependent on mDNS. Apparently the stock firmware doesn't implement this, and the new samba doesn't either, or it's not configured.
Sorry, that package was actually a quickfix for someone else who couldn't use smb1 anymore due to a company laptop with policies. When other people asked me for the script I provided it for download. But it's not very mature.
When you really need network discovery, you could look if you can install an Entware avahi daemon, or something like that.
0
All Replies
-
but the smbd comand show me the old version?
That can be normal. The 'replacement package' doesn't actually replace the smbd binary, but installs a second on (in /opt/bin/ in contrast to the firmware /usr/bin). The startscript (/opt/etc/init.d/99sambareplacement) hooks the samba startscript (/etc/init.d/samba.sh) to start the optware smbd instead of the firmware one. Which binary actually will be called when you execute 'smbd —version' depends on your PATH.
I can connect to samba shares manual, but in the network environment i cant see the zyxel NAS. It works again If I activate smb 1.0 client option.
In smb 1.0 the peer discovery was based on netbios broadcasts. In smb 2 that is changed, it's now dependent on mDNS. Apparently the stock firmware doesn't implement this, and the new samba doesn't either, or it's not configured.
Sorry, that package was actually a quickfix for someone else who couldn't use smb1 anymore due to a company laptop with policies. When other people asked me for the script I provided it for download. But it's not very mature.
When you really need network discovery, you could look if you can install an Entware avahi daemon, or something like that.
0 -
Ok, thanks for your work to stay alive Zyxel NAS.
I check this, and iam glad that I can use it for a while with this config.
Free NAS is the future i think
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 144 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 237 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 384 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight