Fedora Networking :: Unable To Mount Specific Directory Via CIFS?
Aug 19, 2011
I have a bootable utility toolset that I put together with Fedora 14, one of its primary functions is to map a user designated share via script and access information from it. The command that I used, that functioned perfectly, in Fedora 14 was:
Code:
sudo mount -t cifs -o user=provided.account.name //file-server.mydomain.com/share/images /mnt/source
[code]...
View 3 Replies
ADVERTISEMENT
Jul 14, 2010
I am getting an error when I try to mount a CIFS file-system via terminal:
cifs_mount failed w/return code = -22
If I Places > Connect to server, it will open just fine. The share is also accessible from all the other computers on the network.
Google search brought me here to an archived thread which gave a different error number (!)
Desktop is Ubuntu 10,4LTS/Gnome; fresh install with no additional packages installed (so it's possible I am missing something but not sure what!)
View 1 Replies
View Related
Oct 4, 2010
this subject seems to have been touched a hundred times, but after following all the advice google could provide, i'm still unable to mount cifs shares as user, here's the fstab line
<server> <mountpoint> cifs rw,noauto,credentials=/etc/gattonauth,uid=1000,gid=1000,dir_mode=0770 0 0
i've chowned the mountpoint to the user,
ive tried
chmod +s /sbin/mount.cifs /sbin/mount.cifs
suggested by http://www.linuxquestions.org/questi...-lenny-711337/
View 9 Replies
View Related
Jun 27, 2011
I have a linux server running slackware 13.37. I am trying to mount a samba share with my other slackware machine, but I get a "mount error(13): Permission denied" when I run
sudo mount -t cifs //server/share /mnt
But, if I run
sudo mount -t cifs //192.168.1.100/share /mnt
[code]...
View 2 Replies
View Related
Jan 8, 2011
My Open Office freezes when I try to save over a network to Win 7 Home Premium. I'm running fedora 14 with win 7 mount via mount.cifs. I have full rw access to windows via dolphin. Does anyone have a solution?UPDATE:this is an official bug.[URL]if anyone has a work around,but every work around I've seen in forums don't work.
View 3 Replies
View Related
Feb 18, 2009
I am trying to mount a samba share using an fstab entry
//srv1/Corporate /winfiles cifs user,uid=0,rw,noauto,suid,credentials=/root/wnmount_credentials.txt 0 0
The mount appears to complete cleanly, however when I browse the directory /winfiles it is always empty.The smbclient command works properly using the same credentials.The /root/credentials file looks something like this
username=********
password=********
View 5 Replies
View Related
Apr 27, 2010
I have mounted window shared partition to my RHEL 5.4 server through following command
Quote:
But I'm unable to mount the same via fstab.172.20.x.x is my windows server download is my shared folder name.
Suggest me correct fstab entries
My current fstab entry is as follows
Quote:
View 5 Replies
View Related
Dec 18, 2010
I have a server with Fedora 13 with which I would like to get NFS working. I have looked up multiple howto's and tutorials, but I'm having a problem not addressed by any of them.Official how-to, another how-to, and another how-to.I have verified that nfs-utils, nfs-utils-lib, portmap, and system-config-nfs are installed and running. I have verified that I have, in fact, shared the directory that I want to share, and that the proper permissions are set.
I had to go through some gyrations to get the Belkin wireless N router to allow my server to have a static IP. However, I can ping the server from the nfs client (a toshiba satellite running mint 8), and vice versa. I have (for now) disabled firewalls on both computers. I think I have disabled SELinux on Fedora 13 (for now).When I attempt to connect to the server from the client, the output looks like this:Quote:
aragorn ~ # mount -v 192.168.2.101:/test /home/kelev/test/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Dec 18 12:21:09 2010
[code]....
View 7 Replies
View Related
Mar 30, 2011
I currently have some windows (Win7 Ultimate 64-bit) shares automounted to my linux laptop whenever I am on my home wireless network. I have this functionality set up using autofs/CIFS and it works well, except for one issue: The directory listings for the mounted windows shares are incomplete, i.e. when listing the directories on the linux machine, it only lists a fraction of what is available in the actual share. One directory returns 28 of 51 files present, for example, and another 33 of 60. NOTE: None of the files on the windows shares are 'hidden' or in any way shared differently than the others.
View 1 Replies
View Related
Feb 18, 2010
I'm trying to talk the studio I work at into switching one of the departments to linux. (likely kubuntu). So I'm trialling it, but having issues mounting windows shares.It's working great; all except that only Root can write to the mount. I've tried a few different things with fstab, no go.Below is my fstab so far, and you can see the mountpoints.
Code:
# /etc/fstab: static file system information.
#
[code]....
View 2 Replies
View Related
Nov 18, 2010
I've been mounting our windows network by opening nautilus and typing in the address bar:
smb://<servername>/share
and I am prompted to log in, all is fine.
however, I need to use some apps where I need to pick the folder from a file list, which I can't get to work with the above connection.
I then created the following line in my fstab file:
Code:
//<servername>/<share> /mnt/fileserver cifs credentials=/home/<username>/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
This appears to mount correctly, however there are some filenames on the server with the bullet character() in their name, and by mounting via fstab, the bullet shows as a question mark, but mounting from nautilus shows the bullet.
Anyway I can mount with fstab, and have all characters show properly in the filename?
View 1 Replies
View Related
Jan 20, 2011
I have a directory on my server at /home/dave/www/images/site (ext3) which I want to mount directly to my Windows computer so that I can transfer data easily via command line tool. Is that something possible?
View 4 Replies
View Related
Feb 11, 2010
- my windows shares were working fine, since there was aktualization they don't any more
- i have Fedora 12
- my /sbin/mount.cifs und /sbin/umount.cifs have 777 permissions
when I execute my mount with normal user:
/sbin/mount.cifs //sdvbdta01/KADA/ /home/kada/dvb-shares/persoenlich -o user=kada,dom=dvbern,pass=$PASSWD
I get this error:
/sbin/mount.cifs: permission denied: no match for /home/kada/dvb-shares/persoenlich found in /etc/fstab
When I execute that mount with root then it works, but I can't edit documents on that share with normal user
View 2 Replies
View Related
Jun 24, 2010
I'm using cifs to mount windows share.I have created one credentials file and given the path in fstab to mount at boot time. Now i want to encrypt the credentials file and place that in the fstab file.But it is not accepting.. how to use encrypted file to use in fstab,so that normal users can not watch the credentials inside the file.
View 3 Replies
View Related
Apr 26, 2011
I have a CIFS share mounted from the "Places" menu and it is accessible from the desktop.I am unable to find its location in the filesystem using "mount" Where does it get mounted to?
View 1 Replies
View Related
Sep 28, 2010
Using Fedore 12 I am trying to mount on a server with the following command: # mount -t cifs //samba-pool-suse/pool-suse /mnt -o user=xxxx I was waiting that the system askme the user password and thats all, but the answer is: mount: wrong fs type, bad option, bad superblock on //samba-pool-suse/pool-suse, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so using:# dmesg | tail returs: CIFS VFS: cifs_mount failed w/return code = -22
View 3 Replies
View Related
Apr 4, 2011
Linux box info: root@mytestbox:~# uname -a Linux mytestbox 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC 2011 i686 GNU/Linux
Windows box info: Windows Server 2008 SP2 Enterprise I've verified via --verbose output that mount.cifs is indeed processing the passed on options.
root@mytestbox:~# mount -t cifs //10.1.1.10/Test /root/testwin --verbose -o credentials=/root/testcreds,rw,nocase,noperm,noacl,nounix,noserverin o,iocharset=utf8,file_mode=0777,dir_mode=0777
[Code]...
Yet, when I type mount all it reports is (rw,mand). The share works just fine, and I can see the masking (all files are showing as rwxrwxrwx as expected etc) but mount is not listing the options?!
Is this normal expected behavior? Is there a bug report on this? I've google'd to the best of my capabilities and could not locate any such information which is why I decided to hit the forums prior to filing a bug.
View 1 Replies
View Related
Oct 8, 2010
I'm having trouble making my cifs shares user mountable
from bash: mount.cifs: permission denied: no match for /home/jcress/gatton/webspace found in /etc/fstab
View 1 Replies
View Related
Jul 21, 2010
This is the first time I have run into issues mounting windows shares but I really can't figure this out. Can someone put me out of my windows misery please.
First off, last week I rebuilt my work PC fromWIN7 32bit to WIN7 64bit since then I can no longer mount the window share on my ubuntu server:
I recreated my windows share called "Linux" and used the properties, advanced sharing and added everyone, full access and my domain account full access.
If I browse to \ipaddress I can see my share and access it. From a XP machine I can see the share and access it.
From linux I use the same mount point as before, /linux I use the same fstab and it fails
Code:
I try this manually now:
Code:
Next I try to mount it:
Code:
I looked at my firewall rules and they seem ok.
Next test was connecting to my 2nd pc on windows XP no probs mounted first time.
What is wrong with my new Win 7 setup?
View 2 Replies
View Related
Jun 9, 2010
my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)
View 7 Replies
View Related
Mar 2, 2010
I am unable to mount Windows shares on Fedora 12. From Nautilus, I can navigate to the shares, but when I attempt to open one I get a dialog "Password required for share ... on ..." asking for username (prepopulated with my username), domain (prepopulated with MYGROUP) and password. I have the same username on the Windows box, but when I enter the password and click Connect, the dialog just pops up again. I'm not sure what "domain" is, tried with my Windows workgroup name, no good. If I blank out either username or domain, the Connect button is disabled.
I tried using the mount command:mount -t cifs //192.168.0.2/... /tmp/mnt -o username=adrian,password=...,iocharset=utf8,file_m ode=0777,dir_mode=0777
That did work once, but now gives the useful error message:mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I can run Windows instead on the client machine, and that gives me access to the shares, no problem.
I have libsmbclient-3.4.5-55.fc12.i686, but that was installed a month ago. I don't see any more recent changes to anything relating to the samba client. I've never had to enter a password to access Windows shares. Actually, it looks like the problem may be on the Windows side, although as far as I know, nothing has changed there. Using smbclient with debuglevel set high, I see failures with this error:SPNEGO login failed: NT_STATUS_REQUEST_NOT_ACCEPTED
Every now and again, I can connect to one or more shares, but after a few attempts, I can't connect to any more. Tried rebooting the Windows box, but that's had no effect. Oh, and "smbclient -L" shows domain as the host name of the windows box, but anonymous login (smbclient -L -N) shows domain as the workgroup name.
View 5 Replies
View Related
Jan 22, 2010
I have a server with a /data/ directory, everything in the /data/ folder has "-rwxrw-rw- 1 root root" permissions.all works fine, multiple users are mounting this over a lan and everyone is able to modify files. However I would like to be able to access the /data/music/ directory from the internet.
Is it possible to configure sshfs to only accept logins from a user restricted to reading the /data/music directory, or would it be possible to tunnel nfs over ssh in such a way that everyone on the lan 192.168.0.xxx has unrestricted access to the data directory, but something coming from outside only has read access to the music directory. Although is one were tunneling nfs over ssh, the nfs mount request would appear to come from the server itself. The router is at 192.168.0.1 and the server is at 192.168.0.3.This Seems very much like what I want to do, however I'm having a bit of trouble getting this to work well with other users mounting with full rights over the lan too.
View 5 Replies
View Related
Jul 20, 2011
I'm having some trouble in trying to make a clean solution and tougher time searching to not get the basic mounting pages/posts. So I thought I'd throw this out hereFor Oracle, we have an app server that runs /sharedapps and is an NFS mount for all other app/db nodes. What I'm working on now is that on this app server that hosts/exports /sharedapps file system has a sub folder with a CIFS mount (/sharedapps/data/appmount). e thing is that the remote nodes with the NFS mount to /sharedapps don't see the remote data in /sharedapps/data/appmount, only the main app server that has the CIFS connection. Realistically it makes sense why, but I'm trying to research if there is a way to have it do so. This is where I'm struggling. We are working on this in a dev instance right now but soon to be in production. In production, there are many DB nodes that could process a request which is why it would be best to have the NFS connection follow the remote CIFS connection
View 8 Replies
View Related
Apr 29, 2009
I use F10 at home and while away from work on my laptop. Recently I could get the VPN sorted out ( I can now connect to the vpn (ppp0) server at work from home or anywhere else). I am trying to mount a windows folder that is on the work server on my F10 box at home through the VPN connection that is first established.What I know about the windws server
servername
sharename
username
password
When I try this
sudo mount -t cifs //pxxxx/home/abcd /mnt/dir/ -o username=abcd,password=xxxx
I get this error
mount error: could not resolve address for pxxxx: Name or service not known
No ip address specified and hostname not found
I think the VPN connection is established successfully. I have a ppp0 connection under ifconfig with an IP address after vpn connection is established.In windows I just map the network drive (\pxxxxhome) username=abcd, password=xxxx and mount the folder as "abcd on pxxxxhome"
View 3 Replies
View Related
Jan 15, 2009
We are using spare parts (Socket 775 Biostar motherboard, OCZ 500wat PSU) to build a computer that will just be another system in the house. I want this system to be running Folding@Home, and the F@H SMP client for Linux is much less of a headache than its Windows couterpart, so I would like this computer to run Fedora. My dad loves networking, and knows how to do it in XP / Vista, so he has always opposed my frequent use of Linux. There are ways of accessing Windows shared folders from Linux, but that I haven't figured it out yet. I want to access Windows shared folders from my Fedora 10. I don't know how to go about doing this, can anyone point me in the right direction? Do I have to install anything special? I can go to Places, and then Network (in Gnome) and I see "Windows Network", but when I click it, I get "Unable to mount location Failed to retrieve share list from server"
View 8 Replies
View Related
Jul 26, 2010
I have a Dell Inspiron 1720 running Ubuntu v10.04 with a wireless card.My desktop is a Dell Optiflex running WinXP.The desktop is connected via ethernet cable to a Linksys wireless router. Certain folders on the desktop are set for sharing. Up until early last week I was able to access the desktop folders from the laptop with no issues.Suddenly I am now getting this error "Unable to mount location Failed to mount Windows share" whenever I try to access the desktop folders from the laptop.I suspect an upgrade is the culprit, but not sure.
View 3 Replies
View Related
Mar 21, 2010
i'm trying to connect to the three other machines in my house but am having quite a hard time doing so. i've never had a problem in the past with ubuntu, but, with 9.1 and windows 7, things have gotten a bit harder. i'm running 9.1 and my roommates are running windows 7. i've installed, set up and configured samba and i can see the computers on my network, but any time i try to access either of the drives, it says unable to mount location: failed to mount windows share.
View 4 Replies
View Related
Mar 27, 2010
i am not able to mount a pen drive (which is formatted in ext2 format) with directory permission drwxrwxrwx and file permission as -rw-rw-rw.
View 3 Replies
View Related
Jan 28, 2010
I have one NAS device and using samba share one folder without password, how can I use command mount -t cifs to mount this share folder? I tried the below command, but always popup password checking?How should I do mount this folder without password checking?
View 3 Replies
View Related
Mar 15, 2011
I am trying to image about 30 laptops with WinXP, and I am using Clonezilla and DRBL for the task. We will start migration to Win7 starting Q4, so for now we are still using XP. I used a Clonezilla live USB to capture a standardized image to a CIFS/SAMBA share on the enterprise file server. The file server does not support NFS. To deploy the image, I used Virtualbox to build a VM with Centos 5.5 and then later Ubuntu 10.10. I mounted the CIFS share to /home/partimag but I found that I cannot share this CIFS mount out as NFS so I was unable to deploy the image with the image still residing on the CIFS; I had to copy the image to the VM's local drive.
Now using the DRBL live distribution, which is Debian based, I was able to obtain the image from a CIFS share and then share it out to the clients to be imaged as NFS (I think). I was able to use the DRBL live for some older computers, but since that hasn't been updated in nearly 2 years, I think it's missing some device drivers for my newer machines so it doesn't work on them -- this is why I looked at using CentOS and Ubuntu. To mount the CIFS shares, I'm using the following command:
mount -t cifs -o user@domain //share_ip_addr/share_name/folder /home/mount_point
Do I need to do something different to enable the mounted CIFS share to be shared out as a NFS share so that the clients to be imaged can see the contents from the CIFS share as a NFS share? The below image depicts my setup. The workstation has two NICs. The 10 network is the enterprise network and the 192 network is for DRBL imaging only. DRBL/Clonezilla does PXE boot and leases DHCP for the laptops. The laptops are shielded from the enterprise LAN; I am not doing any kind of NAT on on the server. The Linux VM is built with dual NICs and are set to bridged mode so they appear to be a separate NIC from the VM host on the network even though they going into the same port on the wall. [URL]
View 4 Replies
View Related