Visit The New, Modern Unix Linux Community

Is it possible to setup a samba share to always mount to a specific Windows drive letter???

Thread Tools Search this Thread
Operating Systems Solaris Is it possible to setup a samba share to always mount to a specific Windows drive letter???
# 1  
Is it possible to setup a samba share to always mount to a specific Windows drive letter???

I'm trying to setup Samba in a solaris zone... Is there a way to setup Samba so that every Windows machine that tries to connect to the share always gets it mounted under the same drive letter (e.g. HSmilie???

My Samba share (in smb.conf)

I want that all Window users get it mounted under "H:" drive letter by default.

Thanks you.
# 2  
Drive letters are a Windows (DOS) thing, not a Samba, or a UNIX thing... so, I guess not!

Last edited by Scott; 03-09-2010 at 03:57 PM..
# 3  
Well yes... I was just wondering if there were any options I could add to my smb.conf to prevent users from mounting the share under "C:" for example.

Anyway I think that solved my question, thank you very much for your fast reply! Smilie
# 4  
As far as I know there is nothing you can do on your Samba server to force Windows to use a specific drive letter. You'll have to add the mapping to your AD login script or a local batch file in the startup folder on each Windows workstation.

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #917
Difficulty: Easy
Unix time is also known as Epoch time.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Samba Share access from windows

Hello, I want to connect to two samba shares both on the same Linux box but each with a different username from a windows server 2008. I created 2 gpos to connect and I can connect to the shares individually via net use command, but once I entered credentials for one of the shares, it seems I... (1 Reply)
Discussion started by: zaineyma
1 Replies

2. UNIX for Dummies Questions & Answers

Samba share Windows problem

I have a problem with a Samba share (Debian) on Windows. My config With smbclient -U ftp // I can connect with another Linux Server. Only with Windows it does not work. Deactivate firewall also but I can not connect me. ... (0 Replies)
Discussion started by: PAfreakFlorian
0 Replies

3. UNIX for Advanced & Expert Users

How to get file from share drive when filename with spaces using samba client?

Hi Team, I am not able to get file name from shared drive when filename have spaces in it. following command i am using. filename="REP00105 - ABC XYZ (SCM)_ 1.TXT" /hfx/opt/samba220/bin/smbclient \\\\${nt_host}\\${nt_share} ${NT_PASSWORD} -U${NT_USERNAME} -c "cd ${nt_directory}; prompt;... (1 Reply)
Discussion started by: Makarand Dodmis
1 Replies

4. Ubuntu

how to mount specific drive for specific users in ubuntu 11.04?

hi friends ... could u tell me how to mount specific drive (ntfs or fat 32) for specific users in ubuntu 11.04 ? ie ,if there is a user called staff (a desktop user ) ,then he should able to use staff drive only ? thanks in advance ...:) (1 Reply)
Discussion started by: kapali255
1 Replies

5. UNIX for Advanced & Expert Users

Problems between a HP UX 11.31 Samba share and Windows 7...

Hi I have an issue with a client. He was able to use his mounted Samba share for a long time. However, a couple of days ago, he wasn't able to access all of his files all of a sudden. He still see's the share and majority of the files, but not some that he needs. I checked with Secure CRT on... (1 Reply)
Discussion started by: zixzix01
1 Replies

6. Solaris

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 ? (6 Replies)
Discussion started by: Cellscript
6 Replies

7. 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

8. 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

9. 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

10. 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

Featured Tech Videos