01-16-2003
try this:
to view the shares:
$ smbclient -L host -U username
to mount the shares:
# mount -t smbfs //machine/dir /mountpoint -o username=user
# smbmount //machine/dir /mountpoing -o username=user
regards!
9 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
hi,
Could anyone tell me mounting windows directories in unix.I have used mount command in all directions like mounting hd00,hd1,hd2,hd3 and so on but that don't work for me
Mohan (2 Replies)
Discussion started by: mohan
2 Replies
2. UNIX for Dummies Questions & Answers
I'd like to become a web applications developer, and the company I currently work for use Sun/Apache and Perl, CGI and Python and Oracle to develop in (which is a little unfortunate for me as I have MS IIS and ASP/VBScript and SQL from my last job).
I have an old laptop I'd like to convert from... (2 Replies)
Discussion started by: dawn
2 Replies
3. AIX
Dear all,
How can mount a drive from AIX 4.3 to Windows 2003 Server share folder ?
Thank a lot. (1 Reply)
Discussion started by: sinopec
1 Replies
4. 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
5. 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
6. AIX
Hi,
Iam unable to share WInXp folder in AIX, i configured samba, its working fine, i am able to access win folder from AIX by using samba but unbale to access AIX folder from Windows.
bash-3.00# mount -v cifs -n Win_IP/Win_username/Win_passwd /Win_Folder /AIX-folder
Result:
There was an... (1 Reply)
Discussion started by: mpasha06
1 Replies
7. UNIX and Linux Applications
HI
I would like to ask about my virtualbox 4.0.4 in my lucyd lynx box
My shared forlder isn't auto mount in my linux guest OS. And everytime i manually mount using command sudo mount -t vboxsf <shared_folder_name> <Guest_location> it throw an error msg "/sbin/mount.vboxsf: mounting failed... (1 Reply)
Discussion started by: jao_madn
1 Replies
8. Shell Programming and Scripting
I have a file server that has a pretty large folder tree. There's a shared folder, under that are 5 departmental folders. Nested inside of those are thousands of subfolders and files.
I would like to be able to trace growth of those 5 departmental folders. There are certain particular... (4 Replies)
Discussion started by: arijitsaha
4 Replies
9. Red Hat
Dear,
I am using Redhat 6.6 . How to identify a given directory is part of which mount point. (2 Replies)
Discussion started by: aneesha
2 Replies
LEARN ABOUT OPENSOLARIS
smbfs
smbfs(7FS) File Systems smbfs(7FS)
NAME
smbfs - CIFS/SMB file system
DESCRIPTION
The smbfs file system allows you to mount CIFS shares that are exported from Windows or compatible systems. SMB is the historical name for
the CIFS protocol, which stands for Server Message Block and is more commonly used in technical contexts.
The smbfs file system permits ordinary UNIX applications to change directory into an smbfs mount and perform simple file and directory
operations. Supported operations include open, close, read, write, rename, delete, mkdir, rmdir and ls.
Limitations
Some local UNIX file systems (for example UFS) have features that are not supported by smbfs. These include:
o A server disconnect is not automatically reconnected.
o No mapped-file access because mmap(2) returns ENOSYS.
o Locking is local only and is not sent to the server.
The following are limitations in the CIFS protocol:
o unlink() or rename() of open files returns EBUSY.
o rename() of extended attribute files returns EINVAL.
o Creation of files with any of the following illegal characters returns EINVAL: colon (:), backslash (), slash (/), asterisk
(*), question mark (?), double quote ("), less than (<), greater than (>), and vertical bar (|).
o chmod and chown settings are silently discarded.
o Links are not supported.
o Symbolic links are not supported.
o mknod is not supported. (Only file and directory objects are supported.)
The current smbfs implementation does not support multi-user mounts. Instead, each Unix user needs to make their own private mount points.
Currently, all access through an smbfs mount point uses the Windows credentials established by the user that ran the mount command. Nor-
mally, permissions on smbfs mount points should be 0700 to prevent Unix users from using each others' Windows credentials. See the diperms
option to mount_smbfs(1M) for details regarding how to control smbfs mount point permissions.
An important implication of this limitation is that system-wide mounts, such as those made using /etc/vfstab or automount maps are only
useful in cases where access control is not a concern, such as for public read-only resources.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-------------------------+---------------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-------------------------+---------------------------------+
|Availability | SUNWsmbfsu |
+-------------------------+---------------------------------+
|Interface Stability | Uncommitted |
+-------------------------+---------------------------------+
SEE ALSO
smbutil(1), mount_smbfs(1M), nsmbrc(4), attributes(5)
SunOS 5.11 3 Feb 2009 smbfs(7FS)