[NTLUG:Discuss] Yet another samba question (smbmount)...

Opinionated opinionated at whoever.com
Wed Feb 16 21:27:03 CST 2000


MadHat wrote:

> I can show you what works for me.
>
> # smbmount //CRAPPYNTBOX/Share /mnt/crappynt -U UserMan%PassMe -c 'mount
> /mnt/crappynt -u 501 -g 501'
>
> and then usinf with uid 501 has write access.  The UserMan and PassMe
> are the uer and pass for the NT share.  It works well and have it set up
> for people to ftp stuff into an NT box through the Linux box.

Thanks for the info.  I did get the solution today which was to download and
recompile the sources.  I neglected to tell you that I had used
samba-2.0.6-i386.rpm made by samba.org, and apparently the smbmount included
has problems.  After recompiling the samba sources, smbmount now accepts
more options other than the username and password.

The smbmount in version 2.0.6 is designed to work with the mount option.
So, to use your example, you can use #mount -t smbfs -o
username=Userman,password=PassMe,uid=501,gid=501 //CRAPPYNTBOX/Share
/mnt/crappynt

I was also surprised to find out that smbmount is not considered part of
samba and is maintained seperately.  According to the README notes, smbmount
will no longer be included in future samba packages.  Instead, samba.org
will include and encourage everyone to use smbshell.  I looked in the 2.0.6
package and did not see smbshell...I will see if it is in the alpha release
of 2.0.7.

Regards....







More information about the Discuss mailing list