Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How can I mount windows share file system into RHEL?

I'm not a sysadmin, but I got this task assigned :(

I've tried this solution

mount -t smbfs -o username=samba,password=samba //Desktop/Public /mnt/public

But the output is:

mount: unknown filesystem type 'smbfs'

How can I mount a windows share into RHEL 5?

FWIW I've successfully created a link with the menu: Places>Connect to Server>Service Type:Windows Share

Which creates a link in the desktop, but I would need to programatically save files in that machine, hence I need it mounted as filesystem.

Thanks in advance

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The samba client programs, including smbmount are not installed by default, so you will need to install them first.

yum install samba-client
share|improve this answer
    
+1 oops, I just noticed this trial version is not registered with RHN :P This is a test environment :( Is there a way to connect without those tools? For instance the way Places>Connect toServer>ServiceType:Windows Share does? –  OscarRyz Dec 21 '10 at 18:33
    
Not in any meaningful way. Connecting to the share through the Gnome interface uses the gvfs, which is a different subsystem with its own libraries. –  Scott Pack Dec 21 '10 at 19:16
    
:-/ :-( ....... –  OscarRyz Dec 21 '10 at 20:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.