Visit Our UNIX and Linux User Community

mount windows share folder

Thread Tools Search this Thread
Operating Systems Solaris mount windows share folder
# 1  
Old 06-04-2010
mount windows share folder

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 ?
# 2  
Old 06-04-2010
Originally Posted by Cellscript
is it must be root ?
by default, yes.

What's the FS type of your W2K share?
# 3  
Old 06-04-2010
Assuming your w2k server is providing CIFS shares, there is no such support in Solaris 10, only with OpenSolaris (smbfs). Alternatively, the Solaris 10 gnome file browser (nautilus) should be able to access cifs shares (just open smb://server/share ).
The natural protocol to share filesystems under Solaris is NFS. Using SFU on the windows size allows you to share file systems that should be mountable on Solaris.
# 4  
Old 06-05-2010
Here is a package sponsored by for samba.

samba-3.4.2-sol10-sparc-local.gz  The Samba software suite is a collection of programs that implements the SMB protocol for unix systems, allowing you to serve files and
printers to Windows, NT, OS/2 and DOS clients - installs in /usr/local/samba. Kerberos, SSL, and AIO support are added.
and either the libgcc-3.4.6 or the gcc-3.4.6 packages. Documentation for installation and configuration can be found in the /usr/local/doc/samba subdirectories. The man files
are in /usr/local/samba/share/man. This package was compiled with the ./configure --with-acl-support --with-pam --enable-socket-wrapper --with-krb5=/usr/local
--with-aio-support --prefix=/usr/local/samba.

Also, to install it
# gunzip samba-3.4.2-sol10-sparc-local.gz
# pkgadd -d . 
Select All (which should only be this one.)

As far as configuring and using samba, you'll have to toy around with it.

Last edited by DukeNuke2; 06-05-2010 at 01:57 PM..
# 5  
Old 06-07-2010
@adelsin: the package you suggested doesn't provides smbfs. There is no such support for Solaris 10 with samba. An alternative might be sharity light: Sharity-Light - SMBFS for Unix
# 6  
Old 06-07-2010
Configure Windows 2000 to support the UNIX NFS file system

Configure Windows 2000 as NFS server, then set up automounter to mount automatically NFS exported FS, advantage is that you do not need to use root account every time to mount because aoutmounter will mount on request
# 7  
Old 06-08-2010
As already said by jlliagre, there is no support for SMBFS in Solaris 10. SUN announced to support SMBFS by Solaris 11 (or already by OpenSolaris since longer period of time).

The package, adelsin told about, supports a CLI client, that can be used to get and put data to SMBFS. This client acts like an ftp client, and you do not have to be root to handle it. Therefore, you may also try to use it in scripts.

To have Windows 200x to support NFS is not a good idea. The package does not support cluster functionality or let itself fully integrate to Active Directory as it comes with an extra usermapping part.

I never took a closer look at Sharity's SMBFS for Unix... If you will buy it, let me know about your results, please Smilie


Previous Thread | Next Thread
Test Your Knowledge in Computers #883
Difficulty: Easy
A computer security vulnerability is a weakness in design, implementation, operation or internal control.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Trying to share a folder between windows machine and VM

I was following the guide I found here for doing this and I reached the step where I added myself to the vboxsf group but I am still getting a permissions denied message when I try to get into the folder: ubuntu12@ubuntu12-VirtualBox: /media$ cd sf_Shared_files/ bash: cd: sf_Shared_files/:... (0 Replies)
Discussion started by: Circuits
0 Replies

2. Red Hat

unable to mount windows share on linux 5.1

Hi, I am using redhat linux 5.1 - 64bit, using command mount -t cifs // / -o username=test I am getting below error. mount: block device // is write-protected, mounting read-only mount: cannot mount block device... (3 Replies)
Discussion started by: manoj.solaris
3 Replies

3. UNIX and Linux Applications

Virtualbox Need to change share folder name before i can mount it

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

4. IP Networking

Can't see home folder on one NFS mount but can in another mount on another share

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

how to mount Windows NFS share on solaris

Hi, How can i mount an NFS share on a solaris machine a filesystem ? I have enabled nfs on a windows server and the shares has given read/write access to it to all the users. I would like to mount it on around 10 different solaris boxes with different versions of solaris. Thanks in advance. (2 Replies)
Discussion started by: uxadmin007
2 Replies

6. Red Hat

Mount Windows share on Redhat, WITHOUT Samba?

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

7. Solaris

How to mount windows Share on solaris using SAMBA

Hi All I am new for Solaris and, I have configured SAMBA on my SUN10 Network machine and it's working fine. can anyone tell me how to mount windows share on my SUN10 machine. Thanks in advance daya (2 Replies)
Discussion started by: daya.pandit
2 Replies

8. AIX

Mount drive to Win2003 share folder

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

9. UNIX for Advanced & Expert Users

How to Mount a Unix share drive on Windows

We are trying to mount a Unix share drive on a Windows 2003 server to avoid transfering files accross the network using sftp. I can see shared drives on the Solaris server using the "share" command. How can I mount the drives on my Windows server so that I can read them directly. Do I need... (2 Replies)
Discussion started by: rbdenham
2 Replies

10. UNIX for Dummies Questions & Answers

using the mount command to connect to a windows share

Until recently I have been using the following command successfully to connect to a windows share: mount -t smbfs -o username=my_username,password=my_password /home/temp //oldserverx1/openexchange But from today, I've been getting the following error: INFO: Debug class all level = 1 (pid... (1 Reply)
Discussion started by: cw1972
1 Replies

Featured Tech Videos