Ubuntu Networking :: Odd Mounting Windows Share With Fstab?

Jun 8, 2010

I cannot mount my windows share automatically with fstab and have the files be R/W. They are only mounted as read-only.I have tried several dozen commands in the fstab file with many mount points and different users. The share is on a Windows 2000 server, but NOT a domain controller.Thing is, using the Places|Connect To Server|Windows Server menu selection, it works fine. And when I use that, the share shows up on the desktop. However, in some programs I cannot see the share in the open/close dialog boxes. I can however go to /mnt/server to see them if I mount them in fstab. The files just open as "read only" that way however.Have tried... on last line of fstab mount command.....rw option, +777 option, using IP address of server, using server name.

Same result (as fstab) if I do a manual mount command, then a mount -a. Mounts Ok, just as "Read only".
ex: sudo mount -t smbfs //192.168.1.xxx/sharename /media/server -o username=xxxxxx,password=xxxxxxxxThis has been the case with Ubuntu 8.04 until my current one, 9.10. Ubuntu (if you are listening) really needs to make this easier. It truly is basic network stuff that for some reason is rather difficult to do. Read only access is not actual network access and my other option (having to manually connect via the drop-down menu) each time I boot up is a pain.What is different about that "connect to server" option on the menu that makes it work? It'd be great if there was a check box there that said "remember this connection". Then all would work fine.

View 3 Replies


ADVERTISEMENT

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 Networking :: Mounting Windows Share No Password?

Oct 6, 2010

We have a computer here with stuff on it we all use. If I load up my Windows XP VM and open it through My Network Places it loads up just fine. In Ubuntu Nautilus complains that it cant mount the share. If I do:

sudo mount -t cifs //tech1/e /mnt/tech1

it asks for a password. There is no password.

View 5 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

Fedora Networking :: Mounting A Windows Share In FC 10

Jun 12, 2009

Usually you put external mounts in the /mnt folder, then link there with a symbolic link if you want access from somewhere else. By keeping all of your mounts in /mnt its easier to manage them as your system and ability grow.

You need to make mounts as root. Mounts take the data in the target and put it on top of an existing folder. When you mount something on top of a folder whatever was there becomes invisible until you remove the mount on top of it. If there is a problem with a mount and it does not work, any writes to the mount will go to the folder underneath, and any data you expect to read from there will not exist.

In making a mount you should realize that the char requires an escape char in bash to show up in the final output to the command. The escape char is also . Therefore to show \ in a Windows command, you need to type \\. Also, spaces must be escaped once with .

Howto:

You should substitute your ip or name for 10.10.9.5

Reminders: Make sure your Windows folder is shared read/write if you need to write to it.

You probably want to change permissions on /mnt/WindowsDocuments to 777

Tips:If you want a link from your desktop to your Windows "My Documents" folder you can now do this:

$cd ~/Desktop ln -s /mnt/WindowsDocuments WindowsDocs

This will make a symbolic link to /mnt/Windows, and if you execute: ls -l ~/Desktop you should see the links information in the response

Finally, if you want to keep a local backup of what's on the windows box in a local folder you could do:

The ~ char is shorthand for /home/<uername> and represents your home folder.

The result of the rsync command is to make a copy of WindowsDocs (which points to your mount at /mnt/WindowsDocuments which is linked to your Windows machine shared 'My Documents' folder) and put it into ~/WindowsDocumentsBackup

As always, make use of the man command if you get confused or the info command for more detail. ie man rsync

View 1 Replies View Related

Ubuntu Networking :: Mounting A Volume As An ISCSI Share On A Windows Box?

Jun 21, 2010

Does anyone have any good articles on mounting a Ubuntu volume as an iSCSI share on a windows box? Originally I was just going to use a SAMBA share but it turns out samba has issues with my lan security. So I thought since all I really want to do is create the share on my backup server that an iSCSI device would do. Been using the following article with limited success... [URL]

View 2 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

Networking :: Mounting Windows Share Without Encrypted Passwords?

Aug 4, 2010

We have a Windows server at work that has several shared directories. For whatever reason the lab administrator has required clear-text passwords for it. There is a registry tweak for Windows boxes. Nautilus can't mount shares because it is trying to use an ecrypted password. Ironically enough the Windows VM I have running in Virtual Box can mount the shares.... smbclient can see the server and shares if I specify a clear-text password option.

View 1 Replies View Related

Ubuntu Networking :: Root Level Parent Directory - Mounting Windows Share?

Mar 26, 2010

I've mucked through and figured out how to mount a windows share. I can access the folders I was looking for, but the windows share was not what I thought it would be. I was looking for the specific shared folder. Instead I got a root level parent directory that included the folder I wanted, and a couple others.

smbclient -L <ipaddress> gives me a parent directory on the root

First question: Can I mount a specific folder within a share?
Second question: Could somebody define share? I thought it was the specific shared folder, but that doesn't seem to be the case.

View 1 Replies View Related

Ubuntu Networking :: Mounting Windows - Failed To Retrieve Share List From Server

Apr 11, 2010

A few days ago I got this Ubuntu box (9.10) to connect to the Windows network in our house. Sharing printers and files. Life was good. But today, Places > Network > Workgroup tries to connect for about a minute then I get a "Unable to mount locations, Failed to retrieve share list from server" error. The only thing I recall changing at around the same time was adding Wine.

View 6 Replies View Related

Debian :: Mounting Windows Partition - Fstab - Get Permission Denied

Jan 27, 2010

mounting my windows partition.. I've got it set up under /etc/fstab, but anytime I try and open it (as local user) I get permission denied.

[Code]...

View 1 Replies View Related

Ubuntu :: Pidgin Symlink Or Fstab For Windows Share?

Aug 14, 2010

I have been using pidgin on windows XP with .purple on another networked computer [also win XP]. in windows you can set the environmental variable to change the location of purplehome to the //windows_share/.purple and it 'just works' I am now trying to replicate this using ubuntu 10.04 LTS I need some answers: should a symlink be used? should it be added to fstab? should properties, command be changed in pidgin? I have tried all of these but I must not be doing it right cos it is not working! Trust you can help me out on this. I am a relative newbie but have been using ubuntu for a year or so, just never sorted this one out.

View 1 Replies View Related

Ubuntu Networking :: NFS Mounting With Fstab > Loop On Shutdown

May 20, 2010

I have this configuration on my Ubuntu server:

1. Physical HDD1, mounted in /media/MYDATA
2. Physical HDD2, mounted in /media/MYDATA/MYMOVIES

This works, and has all my information. Unfortunately I can not use CIFS to get my data, because of a bug with wireless connection and umounting at shutdown. Until yesterday, I have no problem at all, mounting my NFS unit automatically in /media/MYDATA perfectly. But, when I go to /media/MYDATA/MYMOVIES in my laptops, filesystem is empty. I've included /media/MYMOVIES in the exports file (server) and in the fstab (client) and...it worked!!

But...system does not shutdown at all. If I manually try to umount /media/MYDATA the message received is "resource busy". :/ so...I guess this is the problem. If I manually umount /media/MYDATA/MYMOVIES first, laptop shutdown perfectly.

View 1 Replies View Related

Ubuntu Networking :: Fstab Setup For Cifs Mounting?

Aug 12, 2010

Hopefully this'll be an easy one (but I wasn't able to find any other posts with the exact same problem).I'm connecting to a large hard drive at work. I can mount perfectly fine. The following is the relevant line in my fstab file:

//XXX.XXX.XXX.XXX/data /mnt/labdata cifs users,rw,exec,suid,dev,username=XXX,password=XXX,_ netdev,fmask=777,dmask=777 0 0

The problem is that when I try to cd to the correct directory, I get a permission denied error. I don't own the mount point, and there aren't general read/write permissions set. But if I change to superuser, I can access it no problem. I can read, write, make directories, etc. So the problem is with my computer--not the remote one.

Now, if I add the option uid=MYID, I can read and write just fine. The system makes me the owner of the directory on mounting. But that's not what I want--I'm trying to allow multiple users access to this file system. I want there to either be a neutral owner (e.g. root) with others having read/write access, or I want the owner of the mount point to be the user currently logged in.

View 5 Replies View Related

Networking :: Ubuntu 10.04 Delay Mounting Network Shares In Fstab?

Jun 14, 2010

Using Xubuntu 10.04 to connect to some Windows XP shares by adding lines to fstab. The network shares are not mounted at boot, but can be mounted from the command line, after the OS has booted and everything is up. I am suspecting the network isn't up yet, when fstab is processed. I tried adding the option "_netdev" to the relevant network share lines in fstab, but the shares still don't mount automatically at boot up. I read that this option only works for NFS and I am using CIFS. Can someone confirm that _netdev only works for NFS ?

I've seen solutions involving running a mount script after the OS is fully loaded, or running a cron job to periodically check the status of the share and mount if needed. Good workaround but doesn't address the root cause. Is there any other way (besides the _netdev option) to delay mounting of network shares that appear in fstab until the network interface is up ?

View 14 Replies View Related

Ubuntu :: Mounting A Windows NFS Share

May 12, 2011

I am attempting to mount an NFS share that has been setup on a Windows Storage Server 2008 (R1). Initially, I could not even mount the share, though it would show up using "showmount -e <server_ip>". After adding the "ANONYMOUS LOGON" user to the NTFS permissions and granting the "Full Control" permission, I was able to successfully mount the share and read from it. However, I cannot write to it. The NFS share is set to allow anonymous access, UID 0 and GID 0. The appropriate host is listed in the NFS Share Permissions with Read-Write permissions, and ANSI encoding. Root access has also been allowed. I also tried granting the "Everyone" user full control in the NTFS permissions as well. See screenshots and console quote for clarification if needed.

View 1 Replies View Related

Ubuntu :: Mounting Windows Share Using Nautilus

Jul 20, 2010

In Nautilus, I can find the share under Network which I want to mount. When I double-click on the desired folder, I was prompted for a username, domain and password. However, I could not log in; there was no error messages, but Nautilus kept prompting me for my username etc..It would seem like I've entered the wrong details, but I've used a Mac OS to access the share using the same wired network and I had no problems doing so.So what could be the problem? Am I missing some setting? Or is the Windows share setting denying access to Linux systems?

View 9 Replies View Related

Ubuntu :: Nautilus Mounting Windows Share?

Aug 4, 2010

I have been looking into how to get Nautilus to emulate the windows "map network drive" feature.

I have found several howto's that use various command line utilities to try to do this, however they tend to be like trying to use a sledgehammer to fix small dents.

When I connect to a share server, Nautilus puts a directory on my desktop that only Nautilus seems to be able to see and use. I would like to be able to access this directory with non-Nautilus applications.

View 5 Replies View Related

Ubuntu Servers :: Mounting Windows XP Share For Back Up

Jan 9, 2011

Mounting Windows XP Share for back up.

View 1 Replies View Related

General :: Automatically Mounting Windows Share In Fedora 12?

Apr 8, 2010

I'm trying to automatically mount a windows share in a Fedora 12 instance (FC12).When I manually mount things work:mount -t cifs //nas01/servers -o username=guest,password=myPassword /mnt/nas01/serversIf I update /etc/fstab with the following://nas01/servers /mnt/nas01/servers cifs username=guest,password=myPassword 0 0Nothing happens after reboot. The thing that has me baffled is after a reboot if I run:mount -aThe share is mounted.

View 3 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

General :: Fedora 13 Mounting Share On Windows Server 2003?

Sep 1, 2010

I'm trying to mount a Windows Server 2003 share in Fedora 13. With Fedora 8 and with RHEL 5.5 this works properly, but not with Fedora 13.

The mount point I'm using is /usr/eg

The symptoms are: Nautilus (the file browser) does not display the mount in the places or tree as a mounted drive. Using the file broser I can browse under file system down to the files on the server Programs cannot find the files under /usr/eg ie the files on the server.

Here is my fstab entry:

//192.168.1.40/eg /usr/eg cifs auto,user=<user>,password=<password>,rw,uid=500,gid=500,file_mode=0774._netdev 0 0

View 1 Replies View Related

General :: Mounting Windows 2008 Server Share On Red Hat 4 Machine?

Jun 8, 2010

I am having issues mounting a share on a Windows 2008 Server from all of our Redhat 4 machines. I am trying to back up files before wiping and upgrading them to 5. I will try and post as much information that I gathered after trying different things. I am a newer hire for this network and a Linux newbie.

The scenario is this:

1. Windows 2008 Active Directory.
2. Redhat Enterprise 4 machines

I have root access and I tried entering at the terminal:

" smbclient -L "servername" -U "username"

get the "password" prompt I enter my password and get:

"session setup failed: NT_STATUS_ACCOUNT_LOCKED_OUT."

I check event viewer on the 2008 box and last week was seeing:

Event ID: 4625
Keywords: Audit Failure
etc, etc
"Account for which Logon failed:
Security ID: NULL SID
Account name: anonymous
Account Domain:MYGROUP
Failure Information:
Failure Reason: Uknown user name or bad password
etc, etc

Now the last couple of days the audit failures have not shown up on the 2008 Server box even though I attempted to log in.

The end users used to just use Konquerer smb://"servername"/"share" and it worked but for some reason starting last week this no longer works. Nothing was changed that I know of, this network is in a sealed classified environment with no external access. All additions to the network are monitored and no unapproved software is installed. The lab is in a vault type environment and only a few people know the combination and alarm pass codes so no chance of somebody adding stuff without me knowing it.

I would think with the locked out message it was an issue with my user account but that works fine on the Windows side so I tried my Linux credentials with no success when trying to mount the directory.

Is there something anybody can suggest Linux or Windows side to check? No user accounts work connecting to the Windows share.

p.s. I am aware the above command is only to see the Windows shares but i get the same thing when I just try and mount using CIFS or SMBFS.

View 6 Replies View Related

Server :: Can Mount WinXP Share But Not Win7 Share In Fstab

Jun 8, 2010

this has happened in different distros, so far i have tried slack, arch, and mint at work i have an xp box with a shared folder i created. on my linux box i setup fstab as follows

Code:

//winxp/temp$ /home/user/temp cifs rw,uid=1000,gid=1000,credentials=/home/user/.creds 0 0

this gets mounted correctly and i can read/write the shared folder at home i have a win7 box that i create a share on and use the exact same code in fstab, but it wont mount the share. i get something like permission denied or access denied is there a difference in how winxp and win7 share folders? my usernames on the linux boxes match those of my windows boxes at each location. i have given my win accounts full access and control over the win shares.

View 9 Replies View Related

Networking :: Mounting Permissions Error / Mounting A Windows Host?

May 28, 2009

I am having permissions errors every time I try to mount a windows host. I have a linux server and all the windows computers can see that computer and its files, but we wanted to start backing up the linux machine to one of our other computers. so I tried to mount one of the computers. here is the sequence of events:

Code:
$mount -t cifs //192.168.1.194/Admin$ /mnt/Anita-comp
password: (I have no password so I left it blank)
Mount error (13): Permission Denied
I tried all sorts of passwords we use around the office and none of them worked.

I then decided to try mounting one of our other computers. this one looked like it worked fine. no error messages at all. (I left password blank) so I look in my filesystem and the mounted drive is not in the /mnt/Anita-comp file. What gives?

View 11 Replies View Related

Ubuntu Networking :: Mounting NFS Share By Autofs?

Oct 28, 2010

I have a server, with a static IP of 192.168.1.17, that is running Ubuntu lucid sever edition and that exports some shares per NFS. Here is its /etc/exports:

Code:
/media/Share00 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)
/media/Share01 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)
/media/Share02 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)
/media/Share03 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)

[Code]....

However, autofs does not work: the /msrv directory appears and disappears when I start and stop autofs; but when I enter "cd /msrv" followed by "cd Share05" in the terminal, I get the "bash: cd: /msrv/Share05: No such file or directory" message after the second command.

View 9 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 :: Samba Share Not Mounting At Boot?

Aug 12, 2011

I have been searching around but could not find an answer that suits my problem.Here is the line I have in my /etc/fstab//192.168.1.188/openshare /mnt/lacie_nas/openshare cifs errors=remount-ro,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0The remote directory is a LACIE NAS.At boot the directory is not mounted but if I execute the command "mount -a" it works perfectly.

View 4 Replies View Related

Networking :: Mounting A Samba Share Fails ?

Mar 20, 2011

I have a security camera (Mobotix M12) which can save video to a Samba share, but it's unable to mount the share. So from another system I am trying to mount that share and it's failing.

The problem is not firewall, as no problem messages, and the Samba log is vacant.

When using this command, and I give the password:

In dmesg on the client I get:

And on the server I get nothing in dmesg or samba logs. And no logfile is created for the client machine in /var/log/samba. I can ssh over to driveway on the server just fine.

I used to use Samba, although it's been a long time, since I discovered sshfs.

View 2 Replies View Related







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