mute09
Member
- Joined
- Sep 11, 2025
- Messages
- 4
- Thread Author
- #1
Problem Summary
The Samba server on Debian Trixie did not appear automatically in Windows Network Explorer, unlike on Armbian Bookworm + OMV which appeared directly and prompted for credentials.
Root Cause Analysis
Environmental Differences:
Windows 11 24H2 (OS build 26100.6584)
Debian: Samba 4.22.3, manual configuration
Armbian Bookworm + OMV 7.xx: Samba 4.17.12, managed by OMV with special configuration
Key Findings:
OMV uses "configuration deception" - multicast dns register = no in smb.conf but avahi-daemon is actively running
OMV appears due to avahi/zeroconf, not NetBIOS
Windows 10/11 prefers mDNS over NetBIOS for network discovery
Implemented Solutions
Samba Configuration on Debian:
ini
[global]
workgroup = WORKGROUP
netbios name = LENOVO
security = user
map to guest = Bad User
client min protocol = NT1
server min protocol = NT1
local master = yes
preferred master = yes
os level = 65
[downloads]
path = /srv/data/downloads
browseable = yes
read only = no
guest ok = no
valid users = user
force user = user
Steps Taken:
User management: sudo smbpasswd -a user
Permission setup: chown -R user:user /srv/data/downloads
Avahi installation: sudo apt install avahi-daemon avahi-utils
Windows credential cleanup in Credential Manager
Achieved Results
Authentication working - credential prompt appears
Share accessible via \\LENOVO or \\[ipaddress]
Read/write access functions properly
Network discovery still requires manual initial access
Key Insights
Modern Windows prefers mDNS over NetBIOS
OMV uses avahi even though config shows mDNS disabled
Windows caching behavior affects network discovery
Samba version differences affect compatibility
Conclusion
Lenovo now works with proper security (requires authentication) even though it doesn't appear automatically in the network list. For automatic appearance like Rock-3A, further investigation is needed into how OMV manipulates avahi and Samba behavior.
Current state: Secure and functional, though requires manual initial access via \\LENOVO.
My target is to duplicate the behavior of smb managed by OMV, I ask for an explanation or solution from seniors, please
The Samba server on Debian Trixie did not appear automatically in Windows Network Explorer, unlike on Armbian Bookworm + OMV which appeared directly and prompted for credentials.
Root Cause Analysis
Environmental Differences:
Windows 11 24H2 (OS build 26100.6584)
Debian: Samba 4.22.3, manual configuration
Armbian Bookworm + OMV 7.xx: Samba 4.17.12, managed by OMV with special configuration
Key Findings:
OMV uses "configuration deception" - multicast dns register = no in smb.conf but avahi-daemon is actively running
OMV appears due to avahi/zeroconf, not NetBIOS
Windows 10/11 prefers mDNS over NetBIOS for network discovery
Implemented Solutions
Samba Configuration on Debian:
ini
[global]
workgroup = WORKGROUP
netbios name = LENOVO
security = user
map to guest = Bad User
client min protocol = NT1
server min protocol = NT1
local master = yes
preferred master = yes
os level = 65
[downloads]
path = /srv/data/downloads
browseable = yes
read only = no
guest ok = no
valid users = user
force user = user
Steps Taken:
User management: sudo smbpasswd -a user
Permission setup: chown -R user:user /srv/data/downloads
Avahi installation: sudo apt install avahi-daemon avahi-utils
Windows credential cleanup in Credential Manager
Achieved Results
Authentication working - credential prompt appears
Share accessible via \\LENOVO or \\[ipaddress]
Read/write access functions properly
Network discovery still requires manual initial access
Key Insights
Modern Windows prefers mDNS over NetBIOS
OMV uses avahi even though config shows mDNS disabled
Windows caching behavior affects network discovery
Samba version differences affect compatibility
Conclusion
Lenovo now works with proper security (requires authentication) even though it doesn't appear automatically in the network list. For automatic appearance like Rock-3A, further investigation is needed into how OMV manipulates avahi and Samba behavior.
Current state: Secure and functional, though requires manual initial access via \\LENOVO.
My target is to duplicate the behavior of smb managed by OMV, I ask for an explanation or solution from seniors, please