Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

character é, smb mount

Status
Not open for further replies.

Igaduma

Technical User
Nov 23, 2001
322
BE
Hello All,

I'm mounting a windows network drive on a FC3 box with following command:

mount -t smbfs -o username=lvancast,password=********,workgroup=domain01 //srv082/business1 /test/vdrive

But, when brwosing I come across a file called:

acusé de réception

But, the mount doesn't understand the (extended?) character é and replaces it with a ?

How can I sort this out ?

Thanks!
Iga
 
Never mind,

man smbmount sorted it out

 
BTE, you can mount using the -o username with both the workgroup and the username:

-o username="workgroup\username",password="passwd"...

Cheers.
 
nice :)

How does one use the "credentials provided in file" ?
IE: what is the layout of that file ?


Thanks!
Iga
 
from man mount.smbfs

Code:
credentials=<filename>
specifies  a  file that contains a username and/or password. The format of the file is:

username = <value>
password = <value>

This is preferred over having passwords in plaintext in a shared file,  such  as  /etc/fstab.  Be sure to protect any credentials file properly.
 
Code:
BUGS
Passwords and other options containing , can not be handled. For  passwords an alternative way of passing them is in a credentials file or in the PASSWD environment.

The credentials file does not handle usernames or passwords with  leading space.

One smbfs bug is important enough to mention here, even if it is a bit misplaced:

·  Mounts sometimes stop working. This is usually  caused  by smbmount terminating. Since smbfs needs smbmount to reconnect when the server disconnects, the mount will eventually go dead. An umount/mount normally fixes this. At least 2 ways to trigger this bug are known.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top