Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12th June 2006, 08:03 PM
cdlaforc Offline
Registered User
 
Join Date: Jun 2005
Location: Wisconsin
Age: 33
Posts: 241
mounting share with cifs

Hello,
I'm trying to mount a share on an HP unix box. Previously I did this with smbmount, but it looks to no longer be available in FC5. Here is my command and the error I recieve.

sudo mount -t cifs //smbwhse/orareports /home/cdlaforc/My_Documents/My_Shares/OracleReports -o username=USERNAME,password=PASSWORD
retrying with upper case share name
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

I've also tried to substitute the share's dns name for it's IP address to no avail. Let me know if you have any ideas.
__________________
Thanks,

Chris.
Reply With Quote
  #2  
Old 12th June 2006, 09:33 PM
savage's Avatar
savage Offline
Registered User
 
Join Date: Jun 2005
Location: Mission Control
Posts: 1,229
Is "bwhse/orareports /home/cdlaforc/M" the space inbetween orareports and the / a typo on the forum or in your command?

Savage
Reply With Quote
  #3  
Old 12th June 2006, 10:42 PM
cdlaforc Offline
Registered User
 
Join Date: Jun 2005
Location: Wisconsin
Age: 33
Posts: 241
No, that was my command. Is it incorrect?
__________________
Thanks,

Chris.
Reply With Quote
  #4  
Old 15th June 2006, 03:40 PM
cdlaforc Offline
Registered User
 
Join Date: Jun 2005
Location: Wisconsin
Age: 33
Posts: 241
Anyone have any ideas on this. I have also tried to add the domain option because it seems I am only having problems mounting shares in a particular domain. The other domain works fine. Also I must add that smbmount works fine on these shares in FC4.
__________________
Thanks,

Chris.
Reply With Quote
  #5  
Old 15th June 2006, 04:01 PM
jhegge Offline
Registered User
 
Join Date: Feb 2005
Posts: 20
I usually mount /etc/fstab, storing the creds in a file but I add these options as well, helping translate the (NIS-origin) user that I'm running as locally:
,uid=9053,file_mode=0644,gid=5000
Reply With Quote
  #6  
Old 15th June 2006, 04:19 PM
cdlaforc Offline
Registered User
 
Join Date: Jun 2005
Location: Wisconsin
Age: 33
Posts: 241
So jhegge, are these your local uid and gid values or ones of a user on the server that you are trying to map?
__________________
Thanks,

Chris.
Reply With Quote
  #7  
Old 15th June 2006, 04:32 PM
jhegge Offline
Registered User
 
Join Date: Feb 2005
Posts: 20
These are my NIS uid and gid. When the windows files are mounted, I have proper ownership of the files under Linux. You might also make sure that the mount point matches these attributes.

I was frustrated mounting with CIFS as well. The credentials file helped and I did specify user, domain and password in the file.
Reply With Quote
  #8  
Old 16th June 2006, 03:27 PM
cdlaforc Offline
Registered User
 
Join Date: Jun 2005
Location: Wisconsin
Age: 33
Posts: 241
jhegge,
I guess I'm not very familiar with NIS, but I talked to one of our Unix admins here and he said all the user(username, password) stuff for our smb shares is deferred off to a windows server. If I go to Places -> Connect to Sever and setup a Windows share connection through my Gnome menus it works fine, but I would like to actually have these mapped to folders.
__________________
Thanks,

Chris.
Reply With Quote
  #9  
Old 16th June 2006, 04:12 PM
cdlaforc Offline
Registered User
 
Join Date: Jun 2005
Location: Wisconsin
Age: 33
Posts: 241
Thanks jhegge,
I got it. I had to enter the uid/gid of the user on the remote unix server I was mapping. I guess this is listed as a bug for mount.cifs.
__________________
Thanks,

Chris.
Reply With Quote
  #10  
Old 16th June 2006, 04:13 PM
jhegge Offline
Registered User
 
Join Date: Feb 2005
Posts: 20
okay, that's just what you use for authentication -- NIS is older (and a pain when not maintained properly).

if you run "id" at the command line, you'll see what your uid and gid are, something like:
[jhegge@ios ra]$ id
uid=9053(jhegge) gid=5000(nwsl) groups=5000(nwsl),5051(cvs)

The gnome path still uses SMB, not CIFS, from what I see. If you can get see the share, type "mount" and see if you can find the mount line they use. I don't think it actually mounts anything, just uses smbclient on demand to get info.

-johnathan
Reply With Quote
Reply

Tags
cifs, mounting, share

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems mounting windows share with cifs! pctech360 Servers & Networking 3 11th February 2009 12:30 PM
Problem with mounting CIFS share with autofs on F7 richi1801 Installation and Live Media 2 8th June 2007 11:45 AM
Problem mounting a samba share "CIFS VFS: Send error in SETFSUnixInfo = -5" Roderick Servers & Networking 3 9th November 2006 07:16 AM
Can't write to CIFS share czimmerman Using Fedora 2 21st February 2006 06:16 PM


Current GMT-time: 13:33 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat