[olug] smbmount and fstab

Trent Melcher tmelcher at trilogytel.com
Fri Dec 20 21:44:22 UTC 2002


Not sure what version of mount you have but here is a snip from my man
page on mount.

---------------snip--------------
Mount options for smbfs
       Just like nfs, the smb  implementation  expects  a  binary
       argument  (a  struct  smb_mount_data)  to the mount system
       call. This argument is constructed by smbmount(8) and  the
       current  version  of  mount  (2.9w) does not know anything
       about smb.

--------------snip---------------

Trent

-----Original Message-----
From: olug-admin at olug.org [mailto:olug-admin at olug.org] On Behalf Of Eric
Penne
Sent: Friday, December 20, 2002 3:09 PM
To: olug at olug.org
Subject: [olug] smbmount and fstab


I'm having troubles mounting a device on an NT4 server and allowing the
user (not root) to modify the filesystem.

I want the user to be able to mount the filesystem when they login. I
have to send a username and password to the NT server. I want the user
to be able to modify and create files on the mount.

I've added:

//nt_le/ericp$ /home/epenne/fileserver/ericp smbfs
defaults,noauto,user,owner 0 0

to the /etc/fstab

when I try to mount it asks for a password which it takes the username
from my login of epenne when I want it to login as ericp.

where can I pass the credentials file to the mount command?


I've manually mounted this drive from root using the credentials file.
The permissions on the drive were for root and user ericp couldn't write
anything to the directories on the mounted drive.

What options do I have to pass the username and password to smbmount
through /etc/fstab?

Eric

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
OLUG mailing list
OLUG at olug.org
http://lists.olug.org/mailman/listinfo/olug





More information about the OLUG mailing list