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

12th June 2006, 08:03 PM
|
|
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.
|

12th June 2006, 09:33 PM
|
 |
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
|

12th June 2006, 10:42 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Wisconsin
Age: 33
Posts: 241

|
|
|
No, that was my command. Is it incorrect?
__________________
Thanks,
Chris.
|

15th June 2006, 03:40 PM
|
|
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.
|

15th June 2006, 04:01 PM
|
|
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
|

15th June 2006, 04:19 PM
|
|
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.
|

15th June 2006, 04:32 PM
|
|
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.
|

16th June 2006, 03:27 PM
|
|
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.
|

16th June 2006, 04:12 PM
|
|
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.
|

16th June 2006, 04:13 PM
|
|
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 13:33 (Wednesday, 19-06-2013)
|
|
 |
 |
 |
 |
|
|