• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Mounting a Windows share

balanga

Daemon

Thanks: 62
Messages: 2,006

#1
How do I mount a Windows share from FreeBSD?

I've entered what I think is the correct command:-
Code:
mount_smbfs -I 192.168.1.56 //guest@X220/c /mnt/windows
and then get a password prompt, but can't remember setting a password.
How would I change it or unset it
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 6,000
Messages: 26,773

#2
Note that mount_smbfs(8) uses SMBv1, which is disabled on Windows machines these days. This might be the reason why you're getting a password prompt when you don't expect one.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 6,000
Messages: 26,773

#4
To be honest, I don't know of an alternative at the moment. I really don't recommend enabling SMBv1 on Windows. There are quite a few nasty bits of malware that make good use of bugs in SMBv1 (WannaCry is probably the most infamous).
 
Top