Discussion:
[Samba] Mount smbfs
Jason Zondor
2007-01-05 21:43:14 UTC
Permalink
Hello,
I've got a FreeBSD 5.5 box running Samba 3.0.21 and every-time I try
to do a "mount -t smbfs -o username=username,password=password //
server/share /mnt/folder" I get the error "smbfs: -o username=:
option not supported".
I've google'd this with no luck... any help in the right direction is
appreciated.

---
Jason Zondor
Aaron Kincer
2007-01-05 22:07:48 UTC
Permalink
mount -t smbfs //server/share/ /mnt/folder -o
username=username,password=password

Try that.
Post by Jason Zondor
Hello,
I've got a FreeBSD 5.5 box running Samba 3.0.21 and every-time I try
to do a "mount -t smbfs -o username=username,password=password
option not supported".
I've google'd this with no luck... any help in the right direction is
appreciated.
---
Jason Zondor
--To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Felix Miata
2007-01-05 23:51:31 UTC
Permalink
Post by Jason Zondor
I've got a FreeBSD 5.5 box running Samba 3.0.21 and every-time I try
to do a "mount -t smbfs -o username=username,password=password //
option not supported".
I've google'd this with no luck... any help in the right direction is
appreciated.
If you aren't trying to connect to win9x or OS/2, instead of -t smbfs,
try -t cifs.
--
"I have come that they may have life, and have it to the full."
John 10:10 NIV

Team OS/2 ** Reg. Linux User #211409

Felix Miata *** http://mrmazda.no-ip.com/
Jason Zondor
2007-01-06 01:14:01 UTC
Permalink
Felix,
thanks for the reply but still no go.

---
Jason Zondor
Post by Felix Miata
Post by Jason Zondor
I've got a FreeBSD 5.5 box running Samba 3.0.21 and every-time I try
to do a "mount -t smbfs -o username=username,password=password //
option not supported".
I've google'd this with no luck... any help in the right direction is
appreciated.
If you aren't trying to connect to win9x or OS/2, instead of -t smbfs,
try -t cifs.
--
"I have come that they may have life, and have it to the full."
John 10:10 NIV
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://mrmazda.no-ip.com/
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Jason Zondor
2007-01-08 20:36:03 UTC
Permalink
I figured it out. Apparently in FreeBSD, I have to use "mount_smbfs //
***@server/share /local/path"

---
Jason Zondor
Post by Jason Zondor
Felix,
thanks for the reply but still no go.
---
Jason Zondor
Post by Felix Miata
Post by Jason Zondor
I've got a FreeBSD 5.5 box running Samba 3.0.21 and every-time I try
to do a "mount -t smbfs -o username=username,password=password //
option not supported".
I've google'd this with no luck... any help in the right
direction is
appreciated.
If you aren't trying to connect to win9x or OS/2, instead of -t smbfs,
try -t cifs.
--
"I have come that they may have life, and have it to the full."
John 10:10 NIV
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://mrmazda.no-ip.com/
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Rashid N. Achilov
2007-01-10 15:23:13 UTC
Permalink
Post by Jason Zondor
Hello,
I've got a FreeBSD 5.5 box running Samba 3.0.21 and every-time I try
to do a "mount -t smbfs -o username=username,password=password //
option not supported".
I've google'd this with no luck... any help in the right direction is
appreciated.
Alas, mount_smbfs does not support -o username and similar -o options.
mount_smbfs was forgotten, dusted and covered by fat bunch of web project,
which didn't updates since Samba 2.2.x. It completely ignores Samba config
files and use their own file /etc/nsmb.conf and .nsmbrc at homedir. Some
howto written by me, how to bring up to mounting SMB shares with FreeBSD you
can find at sysutils/mountsmb2 port.

Also:
man nsmb.conf
man mount_smbfs

That's all is a very sad. FreeBSD lacks much with dropping support modern
tendences with SMB/CIFS...
--
With Best Regards.
Rashid N. Achilov (RNA1-RIPE), Web: http://www.askd.ru/~shelton
OOO "ACK" telecommunications administrator, e-mail: achilov-rn [at] askd.ru
PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A
Continue reading on narkive:
Loading...