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
mount -t smbfs //server/share/ /mnt/folder -o username=username,password=password Try that. Jason Zondor wrote:> 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 > > > > --To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >
On 2007/01/05 09:10 (GMT-0600) Jason Zondor apparently typed:> 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.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/
On Friday 05 January 2007 21:10, Jason Zondor wrote:> 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.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