OpenSUSE Network :: Mount Error 12 When Mounting A CIFS Share?

Jan 26, 2010

We recently moved to a new home and I am trying to get my home file/print server set up again. Thanks to swerdna's excellent website, I got my server box (just upgraded from 11.0 to 11.2) running Samba and serving my shares over the network, and my "client" machines can access them without a problem.However, I'm not having much luck setting up CIFS mounts on my Linux desktop. I have my all-purpose user added to the Samba auth list (via smbpasswd), and configured my client as swerdna's howto's specify, and I can access the files just find. However, when I try to mount the shares with this command:

Code:
mount -t cifs -o username=klein,password=klein //192.168.1.70/sharedmedia /home/zak/SharedMedia/
I get the following error:

[code].....

View 2 Replies


ADVERTISEMENT

OpenSUSE Network :: User Parameters Don't Work Mounting CIFS Share?

Nov 18, 2010

I need to mount a windows share on my OpenSUSE 11.3. I get it using the mount.cifs command (by itself or using cifstab), but only root can rw file. I try the uid/gid parameters (also using forceuid) and the file_mode/dir_mode parameters, but I get the same behavior: all files and directory with rwxr-xr-x permissions and root/root (user/group). I read the whole section FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS in man mount.cifs but nothing works.

View 9 Replies View Related

OpenSUSE Network :: Mounting A Cifs Share As Normal User In OpenSuse 11.4?

Apr 2, 2011

Q: How can I allow my users to mount a cifs share without an entry in fstab in OpenSuse 11.4?

I have an answer myself. Until OpenSuse 11.2 I could mount my samba shares by making mount.cifs and umount.cifs setuid root. Today I installed OpenSuse 11.4. Unfortunately mount.cifs isn't anymore allowed to be setuid due to security concerns. Security is not an issue in my case, so I copied the mount.cifs and umount.cifs from 11.2 to make it work again:

1. Download cifs-mount-3.4.2-1.1.3.1.x86_64.rpm from this repository (I use 64 bit):
"http://download.opensuse.org/distribution/11.2/repo/oss/suse/x86_64/"
2. Extract the files mount.cifs and umount.cifs from the rpm and copy them to /sbin
3. Make them setuid root:

Code:
linux-y5qw:~ # chmod u+s /sbin/mount.cifs
linux-y5qw:~ # chmod u+s /sbin/umount.cifs
4. Mount your cifs shares as a normal user:

Code:
martin@linux-y5qw:~> /sbin/mount.cifs //192.168.2.2/data /home/martin/data/ -ousername=martin
Password:

View 1 Replies View Related

OpenSUSE Network :: Mount A CIFS Share So That User Stevej Has All Rights To It

Mar 21, 2011

Q: How do I mount a CIFS share so that my user stevej has all rights to it?

Summary: I can mount the share as root.

mount.cifs //10.x.x.x/Data /home/stevej/Synology/Data/ --verbose -o user=stevej

Using Dolphin in Super-User mode, I can copy files and directories from the share to itself with no errors. Using Dolphin in Normal-user mode. I get the failure "Could not change permissions for...". The file is copied, but its owner,timestamp and permissions are wrong. If a subdirectory is involved, the copy aborts.

Using Windows XP I can copy files and directories from the share to itself with no errors.

Testing: If I mount with uid and gid, then my normal user can not access the share.
mount.cifs //10.x.x.x/Data /home/stevej/Synology/Data/ --verbose -o user=stevej uid=stevej gid=users

[code]...

Synology DS211 - There are 2 users on it. One of which is stevej and the other is julie. Rights RWX are applied to the users and the group called users. All files have stevej as the owner and users as the group with RWX Opensuse 11.4 - There are 2 pc's. One is run as stevej. The other pc runs as julie Windows 2000 - Runs as stevej and maps to the share as stevej.

Works as expected Windows XP - Runs as julie and maps the the share as julie. Works as expected Ultimately, I want the shares to automount at boot, or login and give the user full access. I have been to Swerdna's page and done as much as I can, but still no luck.

View 4 Replies View Related

Server :: Mounting CIFS Share Causes The Mount Point To Be Destroyed?

Jun 18, 2009

I've been trying for a while mounting a EMC NAS share on linux. As far as I know the NAS share behaves just like a regular windows share, so the mount process should be very similar. On the NAS server, the disc "Disc1" is shared, and I need to mount a sub-subfolder of that share. This is my line in /etc/fstab:

Code:

//windows_box/Disc1$/folder1/subfolder /var/tmp/mount_test cifs defaults,acl,soft,uid=srvadm,gid=adm,umask=0027,file_mode=0600,dir_mode=0700,credentials=/root/cred.txt,sec=ntlmv2 0 0

When mounting the share, this is what happens:

Code:

[root@server1 tmp]# ll
total 8
drwxr-xr-x 2 root root 4096 Jun 18 10:39 mount_test

[code]....

In the console (i.e. bash), the "mount_test" word on the last line has a red background. When I issue "umount mount_test", everything is back to normal.

View 13 Replies View Related

OpenSUSE Network :: Error When Mounting Remote Cifs/samba Compact Flash?

Jan 3, 2010

Am in the process of upgrading from an ancient OpenSuSE release (7.2) to 11.2. One thing I have been unable to do that worked fine under 7.2 is remotely mounting a compact flash drive from an XP machine. Worked fine for many moons on 7.2:

# mount -t cifs -o rw //xpbox/'cf (H)' /cf0
I get:
mount error(12): Cannot allocate memory
Other cifs mounts of hard disks work fine.

I found a posting that says this means the memory allocation error is from the XP side. It says to fiddle with the XP registry, specifically IRPStackSize. I was not confident this fix would work since there should not be anything significantly more consuming with 11.2 compared to 7.2, and indeed, I got the same error after changing the parameter to 18 and rebooting the XP machine. Any ideas? I have some suspicion that the space and parenthesis in the share name might be fouling up someone. XP forces the share name to this for some reason.

View 1 Replies View Related

Fedora Networking :: Mounting Windows Share With Cifs?

Feb 10, 2009

Following instructions that I received from the Fedora 10 Guide, I recently edited my etc/fstab file so that I could auto mount my Windows share. It worked the first time, but when I rebooted, I noticed an error saying that Linux could not not unmount the cifs shares. Eventually it did reboot, but now I cannot mount the share at all from fstab. When I run the command #mount -a and then #mount, my share is shown to be mounted although I cannot access it and there is no link to it on the desktop like there was the first time it mounted. I basically want my Windows share to be permanently mounted with read/write permissions. My Distro is Fedora Core 10 64 bit. How can I resolve this issue?

View 3 Replies View Related

CentOS 5 :: Samba CIFS - Mounting Directory On Share

Jul 22, 2009

I've to make a Windows 2000 share on my Server Linux CentOS 5.1 with all the updates installed with yum. I've a directory on a Windows 2000 that contains some images for a catalogue. I have my internet site on CentOS 5.1 with a Apache - Mysql - PHP web server. I have to mount my directory on a share in /mnt/catalogueimages and made a symbolic link from my /var/www/html/mysite/catimages to this samba share.

This is what I do following your guide a this link: [URL]
I have placed in my /etc/fstab this line:
//SERVER/C/Catalogue /mnt/catalogueimages cifs user,username=Administrator,password=,uid=apache,gid=apache 0 0
My Windows 2000 server have no password.

After that I made the symbolic link:
ln -s /mnt/catalogueimages /var/www/html/mysite/catimages
All it's OK.

The problem is that I can't see the images via browser. I have tried also to put some images in the directory /mnt/catalogueimages, deleting the mount point, in order to see if the problem was in apache: the images are visible via browser. Why I don't reach to see the images mounted with samba?

View 9 Replies View Related

Ubuntu :: When Mounting CIFS Share, App Files Are Owned By Root?

Jul 26, 2011

I'm trying to mount some CIFS shares (NetApp) to my Ubuntu 11.04 desktop (64-bit).I am mounting it as a domain user with admin rights and full control over the share.ter mounting it as root, all the files are owned by root and I can't modify them from my non-root user.Here is how I am mounting the share:

mount -t cifs -o domain=example,username=example-user,password=mypassword //myfiler.example.com/myshare$/mydir /mnt/myshare/

This share is a qtree under a volume with security type set to NTFS. (Although I have also tried security type = Mixed) We don't configure user-level access to shares on the filer, we create directories and lay down permissions on those from the Windows side. (Although I have tried explicitly adding my domain user to the access list for the share)

View 5 Replies View Related

OpenSUSE Network :: 11.2M5 Mount T Cifs Terribly Slow

Aug 20, 2009

I used command as followings. nothing special. mount -t cifs //192.168.55.53/windows$/Home /mnt/ -o user=username%password It works well after mounted. But mounting itself takes 1-2 minutes terribly. After mounted successfully, file transfer speed looks to be normal.

View 9 Replies View Related

OpenSUSE Network :: Mount CIFS Drive With Multiple Credentials Files?

Jul 26, 2011

I'd like to have a CIFS drive mountable for various users. Each user uses different credentials and I want the drives to be automounted without using sudo-rights. I imagine the best thing to do would be to have the fstab entry point to multiple credentials files. Is there a way of doing that?

View 2 Replies View Related

Server :: Share CIFS Mount As NFS?

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

Ubuntu :: Fstab Not Mounting Cifs Manually Call Mount -a?

Apr 30, 2010

I have the following line in my fstab:

Code:
//192.168.0.242/websites /mnt/supercube cifs rw,user=XXX,pass=XXX,iocharset=utf8,file_mode=0777,file_mode=0777,dir_mode=0777,uid=XXX 0 0
But it doesn't auto mount with everything and disconnects whenever I suspend my computer. The only way to get it to mount is with
Code: sudo mount -a and it mounts fine with no error.

Did lucid change the way it uses fstab or something? Obviously writing mount -a isn't a huge concern, but it kind of destroys the point of putting it in my fstab.

View 9 Replies View Related

OpenSUSE Network :: CIFS Writing Error In 11.4?

Aug 23, 2011

I mount the share on my Windows server with following command:

Code:
mount -t cifs -o username=Administrator,password='mypassword',rw,dir_mode=0777,file_mode=0777,nobrl,uid=1000,gid=100 //10.8.0.1/users /mnt/

In my 11.3 computer it works well. I opening, copying files like I do in local filesystem. At the same time it's not working well on my 11.4 computer: the share mounts without errors, I see all files, can copy them from server to local computer. But when I'm trying to make copies to server, sometimes I receive messages like "Error writing file ...". Not always, but in the most part of my attempts. find the part of my /var/log/messages file:

Code:
Aug 23 17:35:55 linux-393i kernel: [ 3522.419904] CIFS VFS: Unexpected SMB signature

I use following kernel: 2.6.37.6-0.7-desktop

View 9 Replies View Related

Server :: Use Autofs To Mount CIFS Share And Busy Files?

Apr 29, 2010

We have a homegrown process that runs on a windows box and produces a csv file. We mount the directory these are output to using autofs/cifs and then process them using a program on our linux database servers.

Is there a way from linux, looking at the cifs share, to tell if the target file is currently in use by a process on the windows box? We are having issues where an incomplete file is being processed occasionally.

View 5 Replies View Related

Networking :: Not Accepting The Encryped File In Fstab To Mount Win Share Through Cifs?

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

OpenSUSE Network :: Mounting Apache WebDAV Share On Windows 7

Aug 12, 2011

I want to setup a SSL encrypted WebDAV share on my OpenSUSE 11.4 server that is accessible from the internet. Everything is working fine when using Windows XP or Linux clients, but a connection with Windows 7 is not possible ("the selected folder is not valid").

I already searched for a solution to this problem I tried several setups:
- with and without encryption
- with Basic authentication
- with Digest authentication
- without authentication

I did not have success so far. Is there any solution to this (except not using Windows 7)? Or can anyone confirm that this should be working (and maybe my configuration is messed up)?

View 1 Replies View Related

Ubuntu Security :: Using AutoFS To Mount CIFS Share Without Leaving Unencrypted Passwords

Jul 30, 2011

I followed this howto in order to mount CIFS shares on demand. This works great, however, this guide suggests leaving my network passwords unencrypted on the disk. This is a very bad security practice, as the passwords can be easly retrieved by booting the computer using a different OS.

I was looking for a way to secure things up, so I came up with this solution: Instead of storing the passwords plain text on the disk, I store them in a tar file encrypted using GPG. When I boot my system, I open this file to a directory in /dev/shm, and order AutoFS to retrieve the passwords from there.

This does the trick, but I presume this solution is not that secure, since /dev/shm content can be written to the swap partition. Is there any other solution which is a better security practice? Maybe using some sort of keyring service?

View 3 Replies View Related

Debian Configuration :: Connect Jessie To Windows Share - Network And CIFS

Dec 4, 2015

I try to connect my Debian Jessie to my Windows share

This is what I have done:

-> 1 - create an .smbcredentials file located in my /home directory (with account / password and domain)
-> 2 - implement /etc/fstab with information like that :
//192.168.x.x/Animes/media/Animes cifs uid=toto,dir_mode=0777,file_mode=0777,credentials=/home/.smbcredentials,iocharset=utf800

and when I try to go on my windows share, I have this message:

An error occurred while accessing 'Home', the system responded: mount: only root can mount //192.168.x.x/Audio-Video-01 on /media/Audio-Video-01

I think about one thing, if uid=toto is different in fstab than my current debian account session name, it is possible the problem came because of that?

(fstab, uid=toto and current session titi)

View 3 Replies View Related

Ubuntu Networking :: Samba Share : Get An Error Message "unable To Mount Location, Failed To Mount Windows Share"?

Jan 22, 2011

I have installed ubuntu 10.10 and the Samba addon to configure my shares to my Windows terminals.This is what I got

Firewall off (utf disabled)

Internal Sata /dev/sda1 (EXT4 FS)

External USB HDD /dev/sdb1 mounted at /media/SG1500GB (EXT4 FS)

I have two shares

1. //home/test - Which I can see and access with no problems (can't write to it though even though I set the share as writable?, but, I can read from it). This is available to everyone. My windows terminal can see this folder and access it. This is on my main 80GB internal drive /dev/sda1.

2. //media/SG1500GB/Music. I set this up for everyone full access and I can see it at all my Windows machines but,I can't get into the folder. Windows keeps giving me an error stating network path not found.I also try to access it via the Nautilus (Places/Network/system/music) and get an error message "unable to mount location, Failed to mount windows share". This drive is mounted per the disk utility.

View 4 Replies View Related

OpenSUSE Network :: Mount NFS Share Folder From Diferent Subnets?

Sep 13, 2010

I tried to mount a NFS share folder from another subnet. The NFS client on my SUSE 11 server could not detect it. The folder is in a different subnet. Is some one know how to make it work?

View 6 Replies View Related

Debian Configuration :: Mount Network Drive With CIFS

May 6, 2015

So after having spent the past half year preparing to abandon Windows and come over to Debian I finally made the switch last night only to realize I forgot one important thing... I didn't figure out how to map the network drive on my Windows server (currently learning to replace this with Debian as well) to my Debian system.

I have read about 15 links but keep getting the following error: Mount Error (6): No such device or address

Here is what I'm trying to enter into my terminal (with important bits removed for security of course)

mount -t cifs //xxx.xxx.xxx.xxx/Network_Storage/ -o username=xxx,password=xxx /mnt/cifs

View 14 Replies View Related

Ubuntu :: Samba Share Mounting - From 'mount' To Fstab

Mar 21, 2010

I have a command line that mounts the disk of my mobile

Code:

It works, but there is a problem with it. Every folder and file has root:root ownership, so I am unable to change anything. Even when I change permissions manually, it does not work.

Now, I want to move this to fstab but have no idea how an fstab line should look like. Obviously, I want to also have rw access to the disk.

View 7 Replies View Related

Ubuntu :: Lucid Startup Error 101 - CIFS VFS Mount Failed

May 1, 2010

I upgraded my Karmic OS to Lucid the day after it became available and have been having some troubles - I am having trouble starting the OS. Brief history: I have real troubles with the ATI graphics and spent a while trying (finally successfully) to remove fglrx and associated dependencies. I then rebooted ready to install new drivers. I now get the following error on startup:

CIFS VFS Error connecting to socket - aborting connection
CIFS VFS cifs_mount failed w/return code (-101)

For the last couple of weeks or so, I have noticed CFS errors on shutdown which has meant that I have needed to physically press the off button to turn the machine off, but since I could still operate I left that problem on the back burner "for when I have more time". Don't know if the two problems are related. Anyway, I am currently in the situation where I cannot start Ubuntu at all unless I use the install CD and try the LIVE distro.

My fstab file looks like this:
aufs / aufs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
/dev/sda6 swap swap defaults 0 0

(My PC Has a 1 TB drive and a 500 gig drive. The 1 TB drive has dual boot Vista (came preinstalled and I have a couple of games for it - else, yuk) and Linux. The 500 gig drive is a data drive). I'd rather not reinstall from scratch though may have to? I don't know of any way to repair-install the OS - maybe that would be possible too?

View 9 Replies View Related

OpenSUSE Network :: Error Mounting NFS Shares Ato Boot Time?

May 20, 2011

I'm using Opensuse 11.4 updated from 11.3, update from 11.2 updated from. I'm mounting at boot time (in fstab) some shares from an opensuse 11.2 server. Mounting worked fine in 11.2, 11.3 and also in 11.4 but suddenly (maybe an automatic update?) It stopped working.... sometimes.

Sometimes they are mounted properly but sometimes they aren't. When mount fails I get a log error: "rpc.statd is not runninf but is required for remote locking. Either use '-o nolock' to keep locks local or start statd"

If I run manually (as root) mount -a the shares mount properly always, so I thought it was a problem of timing (the service starting late) so I tried to get a script to run after the network initialitation, the script does: "mount -a". But it doesn't work either.

View 3 Replies View Related

Ubuntu :: Cannot Mount Partitions Anymore - Error Mounting: Mount Exited With Exit Code 1: Helper Failed

Aug 24, 2010

First of all: it's been more than 12 years ago since I worked with Linux, and a lot has changed in the meantime. But I considered it a challenge to install Ubuntu 9.10 and lateron upgraded to 10.04 LTS without any troubles, until now:

Except my main partition ("/") all other partitions fail to mount. All NTFS partitions from my other OS and also 2 other linux ext4 partitions I've made are not accessible anymore. and, what bothers me the most: I deleted those 2 new linux partitions in the meantime because I couldn't access them initially because Root was the owner (Duh! root is standard disabled in Ubuntu, right?). After an attempt to try to automount all partitions following the help guides I got now big grey errors on my splashscreen while booting, telling that an error occured with e.g. /media/Backup because it is missing or it cannot be mounted, with 3 options below: waiting, skipping or using a command prompt to solve this. I always choose Skip for safety.

Now if I want to see the content of all my other partitions I got a popup telling me unable to mount e.g. /media/Downloads and the message included:

[Code]....

View 9 Replies View Related

OpenSUSE Network :: NFS Server Returns Error For Client Mount Calls - Error 13

Mar 21, 2011

I'm working with OpenSusse 11.2. I installed and activated the NFS server via yast2. I exported the relevant directory via yast2 (NFS server configurastion)
I'm trying to setup my Linux target to boot via NFS. The kernel boots up but fails to mount the file system. When looking on a capture from ethereal it can be found that the NFS server return error when client try to mount the /nfstest directory from this server. The returned error is 13

serverip: 192.168.56.130
targetip: 192.168.20.180
gateway: 192.168.20.101

[Code].....

View 1 Replies View Related

Fedora :: Getting Error While Mounting Nfs Share?

Jul 19, 2011

When ever i try to mount my nfs share i got a msg mount: 192.168.10.1:/home failed, reason given by server: Permission denied

And my log file show the message Jul 19 04:33:25 localhost mountd[28294]: mount request from unknown host 192.168.10.1 for /mount_rhel/Server (/mount_rhel/Server)

My Exportfs file
/mount_rhel 192.168.10.0(rw,sync)

i try to reinstall nfs but the problem is still same. i also checked all the daemon is running in backgroup like portmap , mountd etc.

View 4 Replies View Related

Ubuntu Networking :: Samba Network Share Mounting ?

Oct 8, 2010

I have 2 Ubuntu machines: a desktop in my bedroom, and a laptop.

I have my music shared on my desktop machine, and can access it through the network menu item in the nautilus manager, but I want the files from the share to be mounted on the disk so I can access it through the commandline.

If I right-click the shared folder in Nautilus, it says its location is smb://rob/music

If I do:

mount -t smbfs //rob/music /mnt/music, it tells me that it cant locate rob.

So I try "ping rob" and that doesn't work.

I can't make a hosts entry for rob which happens at this moment to be 192.168.0.8, because my router assigns different IP addresses to various machines at different times, and I cant seem to find a way to make static maps from MAC address to ip address.

So, how come nautilus can see my samba share on the machine "rob", but the mount commands cannot?

View 7 Replies View Related

Ubuntu Networking :: Mounting Windows Share On Network?

Jan 1, 2011

I have a network PC running Win7 that u use for storage of all my media; movies, music and pictures.I can connect and use the share just fine using the "connect to server" option under places menu.I think i need to modify the fstab file but I am not familiar enough with it to do this.Have searched other threads for help but I am doing something wrong.HP Laptop running Ubuntu 10.10 connecting to a win7 share through a router.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved