12-16-2003
Ok, now I tried this:
mount -t smbfs -o username=administrator,password=mypass //machine/share /mnt/samba
and I get this: Could not resolve mount point /mnt/samba
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
i know a little bit of Unix, but not a whole lot.
I have a PC with W2K running on it.
I want to install redhat Linux 7.3 as new OS in dual boot.
do I need to install a boot manager like system commander or does the linux install detects other OS'es and create a dual boot 4 me (like... (4 Replies)
Discussion started by: maxthree
4 Replies
2. Red Hat
*** I also posted this in the Unix general forum, but would like to get the Linux point of view. ***
Hello all -
I've searched this forum, but was unable to find out the info I need.
I'm trying to mount (nfs mount) a directory on another box from my Linux machine.
The mount point... (1 Reply)
Discussion started by: Heron
1 Replies
3. UNIX for Advanced & Expert Users
I've got a Sco 5.0.6 box and an Ubuntu box on my network. i want to backup certain directories onto a share on the Ubuntu box. how do i mount a linux share onto the Sco box? (1 Reply)
Discussion started by: sall
1 Replies
4. UNIX for Advanced & Expert Users
I've done this in the past, but I didn't save the syntax. I'm still kicking myself about that...
I am trying to mount \\server_name\share_name for read/write under CentOS 5.2 (a "generic" version of RedHat). As I recall, there was a fairly simple (maybe a oneline) command that would allow NTFS... (2 Replies)
Discussion started by: shew01
2 Replies
5. Red Hat
Hi,
Please let me know whether I can mount a windows share on Redhat, which does not have Samba installed. The constraint is that I cannot install Samba .
Looking forward for a possible solution. (1 Reply)
Discussion started by: jksena
1 Replies
6. IP Networking
Hello,
I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;)
Below are the configs
/etc/exports on host
/home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies
7. Red Hat
Hi, I am fairly new to Linux. I have a Win XP host machine where I am running a Redhat virtual machine using VMplayer. I have a tool in the VM that I need to run using some input data located on the host machine. How can I share files between the host and the VM? I need to be able to read/write... (3 Replies)
Discussion started by: ilyaz
3 Replies
8. Solaris
all,,i need help,,i try to mount a windows 2000 share folder to my system,,i already userd smb mount,mount -F and bunch of stuff and none is working,,can anyone give me a script to this??
PS : when i use mount -F i got this message :
nfs mount: insufficient privileges ,,,
is it must be root ? (6 Replies)
Discussion started by: Cellscript
6 Replies
9. Red Hat
Hi,
I am using redhat linux 5.1 - 64bit,
using command
mount -t cifs //192.192.192.192/SW/Ex /192.192.192.192 -o username=test
I am getting below error.
mount: block device //192.192.192.192/SW/Ex is write-protected, mounting read-only
mount: cannot mount block device... (3 Replies)
Discussion started by: manoj.solaris
3 Replies
10. Shell Programming and Scripting
Heyas
At home i have 1 nas with 3 shares, of which i used to mount 2 of them using a script with hardcoded password and username in it.
EDIT: Turns out, its not the script, but 'how i access' the nas share.. (-o user=XY,password=... VS. -o credentials=...).
Figured about credential files,... (0 Replies)
Discussion started by: sea
0 Replies
LEARN ABOUT FREEBSD
mount_smbfs
MOUNT_SMBFS(8) BSD System Manager's Manual MOUNT_SMBFS(8)
NAME
mount_smbfs -- mount a shared resource from an SMB file server
SYNOPSIS
mount_smbfs [-E cs1:cs2] [-I host] [-L locale] [-M crights:srights] [-N] [-O cowner:cgroup/sowner:sgroup] [-R retrycount] [-T timeout]
[-U username] [-W workgroup] [-c case] [-d mode] [-f mode] [-g gid] [-n opt] [-u uid] //user@server[:port1[:port2]]/share node
DESCRIPTION
The mount_smbfs command mounts a share from a remote server using SMB/CIFS protocol.
The options are as follows:
-E cs1:cs2
Specifies local (cs1) and server's (cs2) character sets.
-I host
Do not use NetBIOS name resolver and connect directly to host, which can be either a valid DNS name or an IP address.
-L locale
Use locale for lower/upper case conversion routines. Set the locale for case conversion. By default, mount_smbfs tries to use an
environment variable LC_* to determine it.
-M crights:srights
Assign access rights to the newly created connection.
-N Do not ask for a password. At run time, mount_smbfs reads the ~/.nsmbrc file for additional configuration parameters and a password.
If no password is found, mount_smbfs prompts for it.
-O cowner:cgroup/sowner:sgroup
Assign owner/group attributes to the newly created connection.
-R retrycount
How many retries should be done before the SMB requester decides to drop the connection. Default is 4.
-T timeout
Timeout in seconds for each request. Default is 15.
-U username
Username to authenticate with.
-W workgroup
This option specifies the workgroup to be used in the authentication request.
-c case
Set a case option which affects name representation. case can be one of the following:
Value Meaning
l All existing file names are converted to lower case. Newly created file gets a lower case.
u All existing file names are converted to upper case. Newly created file gets an upper case.
-f mode, -d mode
Specify permissions that should be assigned to files and directories. The values must be specified as octal numbers. Default value
for the file mode is taken from mount point, default value for the directory mode adds execute permission where the file mode gives
read permission.
Note that these permissions can differ from the rights granted by SMB server.
-u uid, -g gid
User ID and group ID assigned to files. The default are owner and group IDs from the directory where the volume is mounted.
//user@server[:port1[:port2]]/share
The mount_smbfs command will use server as the NetBIOS name of remote computer, user as the remote user name and share as the
resource name on a remote server. Optional port1 and port2 arguments can be used to override default values of port numbers used by
communication protocols. For SMB over NetBIOS default value for port1 are 139, and port2 are 137.
node Path to mount point.
FILES
~/.nsmbrc Keeps static parameters for connections and other information. See /usr/share/examples/smbfs/dot.nsmbrc for details.
EXAMPLES
The following example illustrates how to connect to SMB server SAMBA as user GUEST, and mount shares PUBLIC and TMP:
mount_smbfs -I samba.mydomain.com //guest@samba/public /smb/public
mount_smbfs -I 192.168.20.3 -E koi8-r:cp866 //guest@samba/tmp /smb/tmp
It is also possible to use fstab(5) for smbfs mounts (the example below doesn't prompt for a password):
//guest@samba/public /smb/public smbfs rw,noauto,-N 0 0
AUTHORS
Boris Popov <bp@butya.kz>, <bp@FreeBSD.org>
BUGS
Please report bugs to the author.
BSD
September 17, 2011 BSD