Ubuntu :: Home Network With Samba - "failed To Mount"
Mar 17, 2011
I am using lucid lynx, it is my only OS. I have a home network using samba with another machine using Windows 7 (I know, it is my wife and she is not ready to change to Linux yet) I just built her machine and went from Windows XP to Windows 7. The network was working great for over a year, then with the new OS I cannot get Windows to share. I can go from the windows to the Linux fine, but when I go from Linux to Windows, I see the machine and the folders that I have shared, when I click on one it says "failed to mount", if I physically mount it it ask for a password, (I have it set up to connect without a password) I set up myself as a user and try to use my log-in password, the window pops back up asking for the password. I tried my wife's password, no joy. Windows 7 is a weird OS it wants to tell you what you should do and then does it for you. I won't let you do what you want, it does what it wants.
I have been trying to share folders from my main PC which is running Ubuntu 10.04. I have been able to figure out Samba enough to get my a couple of folders shared, but I have been unable to share any folders which are on my external harddrive. After entering the path in my smb.conf file they appear on the network but I am unable to navigate to them. When trying to navigate to them through the network folder on the pc they are actually connected to I get an "Unable to mount location: Failed to mount windows share" dialog box. On the windows pc I am trying to share with I get, "Windows cannot acces \Josh-Desktop ame of folder"
My smb.conf file looks like this:
That folders I cannot access are Music and Videos.
i have installed nfs server on my redhat machine.when i want to mount shared data from client(suse)machine the following error occur."mount.nfs: mount to NFS server '10.3.31.146:/home/usbtest' failed: System Error: No route to host"
I want to use samba for file sharing like on a Windows home network. Actually they are all Linux machines but nfs is too complicated. On my host machine I installed samba and system-config-samba. I created a new share for /home, check marked writable and visible and put access to everybody. For preferences-->server settings--> security the "authentication mode" is set to user, encrypt passwords is no, and guest account is no guest account. Under preferences-->samba users I added myself as a user with the same windows user name as my Linux user name and the same password.
My client is a virtualbox fedora (used for testing purposes but actual clients will be real computers on my home network). I entered the address smb://192.168.1.184. When asked for the user name and password I put my regular user name and password since that was what I set in samba users. However, the password dialog keeps coming up and won't let met into my own computer. If I quit it says something like access is denied. How can I get my home network back? I liked this feature when my home computers ran XP but I switched them to Fedora 12.
I've tried to get an opensuse box I have to share a directory via NFS. I've failed each time, but I thought that the third time, I'd enlist some help from the forums, if I could. how do I know that the nfs server and not the client is the problem? Short answer is: I don't! That's why nfs (and many netwrk problems) are laborious, you're troubleshooting needs to take place at both source and desitination. Next question, what do I have set up so far? Well, I did download the nfs server kernel stuff (two months back) and /etc/init.d/nfsserver start seems to get set up OK. No errors and the daemons nfsd, idmapd, mountd area all running. So, I *think* that part is OK. I have the share set up properly in /etc/exportfs and have "exportfs -r" it.
OK, now onto the trickier stuff: the client and iptables. On the client pinging to the nfserver box is perfect, and I have rpcbind running. the reported error is "mount.nfs: mount system call failed" though from experience nfs errors don't mean a whole lot.However, I will go off and check now and see if I need a mountd running on client-side too.Then there's iptables .... ouch, that could be a long and painful trek. I don't see any specific ports being blocked, and it's the iptables that the default v11.2 opensuse came with. I did turn them off and the problem was the same, so whether wishfl thinking or not, I'm hoping it's not an iptables issue.
I'm trying to configure a per user samba login for full access to the user's home directory.Mounting the shared directory works flawless when mounting from Windows. I can read, write, create without problems. However, when mounting from Linux the shared space is readonly.
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.
Iam trying to get samba work with no password on my home network. I want to have Writeble permissions for creating files and folders and sub folders in the shared folder with no password needed.
I have this set up
Code: # # Sample configuration file for the Samba suite for Debian GNU/Linux. # # # This is the main Samba configuration file. You should read the
[Code].....
I can access the /home/seb/ directory but cant write in it. And with the same permissions for the down directory I cant even access the folder from the other pc it only says "Could not display "smb://laptop/down".The file is of an unknown type"
And finally how can I clean up the smb.conf so it is readable?
I can not use nfs from F10 client to F12 server. nfs mount on F10 to F12 times out anf nfs4 mount gives "mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory" I have tried to close firewall and set selinux to permissive mode on both client and server with same result. Samba works fine. On server [root@flokipal ~]# mount -t nfs4 localhost:/home /media/tonlist mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory
but
[root@flokipal ~]# mount -t nfs localhost:/home /media/tonlist [root@flokipal ~]#
I'm looking for an easy guide to connect to my home network with Fedora 12. So far I did what I thought was pretty straight forward but I'm not seeing any computers. Here is what I've done
yum install samba restart system settings -> advanced -> samba
I set up my two paths that I wanted to be shared when I go to network in Dolphin I'm seeing Network, Network Services and Samba Shares If I click on Network nothing shows, same with Network services, samba shares shows nothing and the bottom reads "unable to find any workgroups on your local network. This might be caused by an enabled firewall"
There are two workgroups which my Ubuntu machine shows fine, workgroup and mshome, I can connect to my roomates and my girlfriends computer no problem within Ubuntu (they are running XP, Vista and Ubuntu).
It's been awhile since I posted anything which is a good sign my install has been working well and I have been able to handle most everything. However, I'm not able to handle this issue. I recently installed F11 and everything went well. But, when trying to see my other computers on the local network, I cannot. I receive this error message: Unable to mount location Failed to receive shared list from server. I understand the message as it is obvious, but do not know how to fix it.
Linux and have a western digital server (my book world edition) I can access it with Ubuntu 11.04, just by downloading Samba and then by clicking on network and the server shows up, but with Fedora 15, after I have installed Samba, I click on network and all that shows up is my router?
I've used Samba for several years and when it works it's great. Unfortunately from time to time it seems to get messed up and either all the 7 machines on my home network can't be seen or I can't access the shares on some. I have 2 Windows XP computers 4 Kubuntu and one Linux Mint KDE, all the latest versions. I'd rather not plough through all the documentation for Samba, but would really like a "model" smb.conf with a few comments about parts that might have legitimate variants. I have researched this with Google searches many times but have failed to find the information I need in concise form.
Continuing with my assigned task of migrating the company's PCs to GNU/Linux (openSUSE as server for GNU/Linux clients) I managed to set up a DC with roaming profiles for the few remaining Windows users, user validation and login for the openSUSE boxes and a few network shares with different rights. I know there are no roaming profiles for GNU/Linux and I can live with that but I would like to specify wich users/groups would have their home directories saved locally (notebook users) and which will save them on the Samba server.
By default home directories are saved locally but somehow Samba creates a minimal home directory for each user under /home in the Samba server. How can I tell the client box to use that directory? and how can I set up the few notebook users to save it on their disks? Maybe using the options under Yast > Security... > Users and groups management > Users (LDAP Users filter) > and then select the user and use the "Manage Samba account parameters" plug-in for specifying the different paths cant achieve this.
I am using the mount command to mount Windows shared folders are another machine on my LAN, to have them show up in the Linux filesystem. The command mounts the folders just fine, however the access is read-only.
In the command, I am also using the -o option to specify a username and password that should have full access. Also, I have used this identical command on my other distros and it seems to work fine. I've Googled high and low, trying to find a way to specify a Samba user/password for authentication. I know one of the other distros had a program that I could specify a Samba user/password to simulate a Windows login.
I've, for years, been using a little script, as user, to mount network shares, like this: mount.cifs //server/Data ~/Data -o username=robertw Previously it used to be smbmount, but that changed. Anyway, the latest updates have stopped me be able to run this as a user. I tried running it as root and that just won't let me get access to the shares, tells me permission denied. I thought I'd try using fstab. This gives varying degrees of success.
Here are two of the entries: //server/CAD /mnt/CAD cifs credentials=/etc/samba/auth.server.robertw 0 0 //server/Data /mnt/Data cifs credentials=/etc/samba/auth.server.robertw 0 0 The auth.server.robertw clearly shows my correct username and password.
Now, I can't get into the /mnt/Data directory at all, just says permission denied and I can only read from, but not write to, the /mnt/CAD directory. My /mnt directory is like this. drwxr-xr-x 20 500 505 0 2010-05-11 06:21 CAD/ drwxr-x--x 170 500 501 0 2010-04-09 23:18 Data/ I'm on Mandriva 2010 if that's important.
I would like my Ubuntu server to show up as a drive on my XP home machine. I have loaded samba on to the server but I can only get it to show as the printer and faxes under my work group. Also is there a way to have my Ubuntu laptop to auto mount the server when I am on my home network?
I have tried to mount an HP laser printer on my home network through a VPN IPSES connection from my laptop, but I cannot manage to see the printer or make it accept commands.
I'm trying to setup a Ubuntu workstation in a corporate environment, right now just as a proof of concept but hopefully soon I will do the real thing. The problem is trying to establish a Linux equivalent of a roaming profile. The user logs into the Ubuntu Machine using their Windows Active Directory Credentials. (A big victory) Then I would like the client to mount their /home folder off of a Windows 2008 Small Business Server. So far I can make Ubuntu mount everyone's /home folders but I would like to narrow it down to only mount the specific user who has logged in and with proper permissions.
Mount the proper /home folder from the server with that users permissions so they are the owner, have full access etc. Only Mount the current users folder. Or any logged on etc. (I just don't want to mount every folder for every user that exists in Active Directory) Do it automagically.
I login as "dirtandgas est" (dirtandgas is our test domain) and here is the line from the FSTAB that's used to mount the directory.
Code: //server/redirectedfolders /home/DIRTANDGAS cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode0777,dir_mode0777,rw,uid=892863608 0 0 Now I know if I changed that to the following, it would only mount the one directory, but I don't want to have to maintain the FSTAB on each computer for each user. (the point of using active directory)
OK, this is really little to do with Linux, as my question really involves my Vista Home machines. Anyone know good methods to have Windows Vista (Home Edition) machines stay mapped to a SAMBA share on a Linux server? I'm using user-level security on the server (Ubuntu Server 10.10), and it (generally) works really well, but I can't get the rest of my family to use it, as (understandably), they don't want to have to type in their password to the share every time they log in to the Vista machines (or my one XP machine left, for that matter), plus the problems when it occasionally decides it's already tried to connect once and failed, and refuses to "restore" the connection, ugh. I currently have one Win7 machine, and surprisingly, with the Win7 Home Premium edition, it actually "remembers" the passwords to the SAMBA shares.
I want to setup a Linux File Server for a small windows network (around 50 users). I do know that I am gona need Smb service/pkg for that. I haven't used Samba for a while now and as per the best of my knowledge, entire communication (including usernames and passwords) between a samba server & windows client machines will be plain text. Is there any way to secure all this communication??
Secondly, if i remember correctly, MS windows wont let me mount more than one samba shares as network disk when all my shares can be accessed by different smb users with different passwords?? is there a solution to this problem? OR may be if there is any other package available for this purpose so that i wont have to use samba?
Start>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run:
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.
I have configured the remote installation of Fedora 13 with kickstart with nfs installation method. All work ok until I boot the Fedora 13 client system.
Fed13 client system receives the IP address from dhcp, receives the loader, loads vmlinuz and initrd.img from tftp, load anaconda, configures the network and dev eth0, mounts nfs server to load kickstart file, loads kickstart file (language...) but when it tries to mount nfs server to install from Fedora 13 installation tree it fails.
First, I thought that I had an error on my NFS configuration but I was wrong. I opened tty with ALT+F4 on the Fedora 13 client and I sew this error:
Code:
Is this a bug or can I modify anything to correct this error? How?
I have 2 internal drives. One is for the OS and one is for the Data. I tried to get the Data drive to mount automatically at login using some crap I found on a linux blog. Safe to say it didn't work and now I can't mount it with the OS on the OS Drive.
It mounts from a live CD and all the data is perfectly safe. When I try to mount the drive I get this error message: "Error mounting: mount exited with exit code 1: helper failed with: mount: only root can mount /dev/sdb1 on /media/data" What have I done wrong and how can I make it mount again? Preferably this time at login.
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:
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.
I have recently set up an ubuntu installation on an old PC. After some fiddling with both it, and the windows 7 machine, I have managed to share all of my drives. However, when attempting to access them from ubuntu, only 2 of the 4 hard disk shares will mount, with the other 2 failing with a Unable to mount location, failed to mount windows share error message.