DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 15th October 2024
rdikarlus rdikarlus is offline
Real Name: Carlosn
Fdisk Soldier
 
Join Date: Nov 2018
Location: IBZ ISLAND
Posts: 64
Default How to mount a cifs share

Hi all,
how can I mount a cifs share in NetBSD 10? any idea ? I need it, but no idea how to do it since mount_smbfs was removed in NetBSD.
Thanks,
Reply With Quote
  #2   (View Single Post)  
Old 16th October 2024
pl pl is offline
Real Name: /etc/myname: permission denied
Watch out, here I come!
 
Join Date: Aug 2024
Location: /etc/fstab
Posts: 10
Default

It seems there's currently no way of mounting a samba share :/ At least i see none in pkgsrc.
If you have control over fileserver, maybe try using alternatives like SFTP + sshfs
Quote:
Originally Posted by rdikarlus
[...] mount_smbfs was removed in NetBSD
mount_smbfs supported merely (very) outdated SMBv1 - it'd likely be useless anyway

Last edited by pl; 16th October 2024 at 08:02 AM. Reason: Spelling
Reply With Quote
  #3   (View Single Post)  
Old 16th October 2024
Onauk's Avatar
Onauk Onauk is offline
Real Name: Thomas
Fdisk Soldier
 
Join Date: Jan 2023
Location: France
Posts: 72
Default

Hi,
I have no solution for you. According to NetBSD mailing list[1], smbfs in NetBSD supported only SMB1 whereas Windows 10 default version is SMB2.

As such, they decided to remove it and as far as I can tell there is no solution to this.

Maybe you could use sshfs? Maybe if you gave more information on your setup would the users here be better able to help with alternatives.

[1] https://mail-index.netbsd.org/tech-k...msg025997.html
Reply With Quote
  #4   (View Single Post)  
Old 16th October 2024
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,167
Default

Search for the NetBSD port or package of Samba.Samva provides a server as well as a client for SMB/CIFS.

See https://en.wikipedia.org/wiki/Server_Message_Block and https://en.wikipedia.org/wiki/Samba_(software)
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting SMB / CIFS sharesin OpenBSD rdikarlus OpenBSD Packages and Ports 1 16th September 2019 12:28 AM
Mount Samba/CIFS Share in OpenBSD jayblingham OpenBSD Packages and Ports 3 31st March 2019 02:32 AM
Seven Most .. please share with us .. daemonfowl Off-Topic 19 29th July 2013 11:34 PM
Writable CIFS share inside jail Eend FreeBSD General 4 3rd April 2013 06:20 PM
pf Share problem! jleal OpenBSD Security 6 25th August 2008 04:08 AM


All times are GMT. The time now is 09:30 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick