mount smb shares at boot
location: linuxquestions.com - date: April 11, 2005
Hi all, again.
I've about read myself cross-eyed and I'm not making any progress. This may look like it's been asked/answered before, but I can't find it. If it has, please give me the link rather than go through the whole 'this is how you do it' explanation.
The reason I have this here is that I am using Deb and I believe the resolution to my challenge has something to do with the way Deb boots up.
What I want to do is mount three network shares, via Samba since I use these shares when I boot to Windows, also. I can su to root and mount them manually immediately after boot, but I'd like to not HAVE to do that. Part of why people stick with M$ products is there's just too much work being repeated when you have to reboot that Windows does automagically. I am pretty confident that this doesn't NEED to be this way, it's just a matter of identifying and editing the right configuration files or setting up a shell script that runs at boot. Either way would work for me in this
Mount SMB shares on login
location: ubuntuforums.com - date: October 5, 2013
I am trying to configure an Ubuntu server to login with Active Directory credentials.
I have been using likewise-open (the newer version, now owned by powerbroker) to authenticate using Active Directory. I can join a domain, and login as a domain user.
The issue is that I cannot figure out how to mount Windows file shares. I have tried running the likewise
command but it does not seem to make any difference. I have been able to successfully mount windows shares manually using the mount command.
I've been told that I must write a login script that somehow grabs the password and then mounts the shared folder.
However, there doesn't seem to be an easy way to get the password from lightdm (because it would be a security hole)
Has anyone done this and have any tips for a good way of doing it?
A bit of context:
This is for a school environment. I'd like users to be able to login with their active directory credentials and have their network home
Can you Mount SMB Shares to your /mnt directory??
location: linuxquestions.com - date: April 13, 2008
I have SimplyMepis and wanted to know when you mount your smb shares, can you mount them somehow in your /mnt directory. Is it imilar to mounting an .iso file like (mount -o loop /mnt/hda6/SomeFile.iso /mnt/isos). The reason I wanted to mount the smb share is because I wanted to run a command like the following to see what directories over the network PCs I have (du -s -B 1024k /home/* | sort -n). Thanks.
SMB shares fail to mount during boot up, hangs booting
location: ubuntuforums.com - date: November 19, 2013
I've been dealing with this issue for a while by just using noauto on the cifs fstab entries but i am sick of mounting the drives after booting is finished and restarting dropbox (since the dropbox app is linked to 1 of those shares and complains since it's not there) everytime i turn on my computer so I guess I'll finally ask for help. Whats weird is that i just removed the noauto option from the following fstab entries
//192.168.0.5/fat32 /media/fat32 cifs _netdev,noexec,credentials=/etc/samba/.credentials,nounix,uid=1000,gid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
//192.168.0.50/public /mnt/circle cifs _netdev,noexec,username=daniel,password=,nounix,uid=1000,gid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
and now the computer doesn't hang permanently anymore (it used to which is why I added the noauto option) but it does make it hang for about 1 minute before it continues.
When I boot up Xubuntu 12.04.3 running kernel 3.7.0-030700-gener
[Solved]Where is the mount point for smb shares?
location: ubuntuforums.com - date: May 11, 2010
sorry if this question has already been answered but i was not able to find it neither in ubuntuforums.org nor via google:
Where are the mount points for smb shares connected via
"Places -> Connect to Server"?
I assumed them in one of the usual places like
but these folders are both empty.
There are a couple of applications which are not capable of accessing my shares because i can't navigate to the right location...
Many thanks for your time!
Unable to mount network shares
location: linuxquestions.com - date: October 31, 2011
I'm fairly new to Linux and looking for a bit of hep or advice, I have a low spec pc running Peppermint that I control through remote desktop, I'm trying to access a freenas server and other shres on my network I couldn't see a network browser in the file manager so i installed the SMB4K browser but I cannot mount any shares on the network at all, when I try to mount a share I get the error message "mount.cifs: permission denied: no match for /home/emegra2/smb4k/FREENAS/Serverdrive 1 found in /etc/fstab" if I enable both settings in the superuser tab and try to mount a share I get the error "mount error: could not resolve address for FREENAS: Name or service not known", can anyone give me some idea what may be wrong and how I might fix this, any help would be greatly appreciated
SMB shares between FTP servers
location: ubuntuforums.com - date: January 18, 2011
If someone can help me, I need to increase my underlying knowledge of permissions, so I can understand and know how to make the following configuration work:
I have two ubuntu servers (9.10)
Let's call them "ftpsecure" and "ftpnormal". Both are successfully running vsftpd, the first one is configured to accept connections by both FTPS and via ssh with scponly. The second is configured as a normal ftp server, with normal user authentication. Anonymous is disabled for both.
I want to share a particular user's normal ftp folder from "ftpsecure" (in this case, /home/username/incoming) and mount it in the place of a another user's normal ftp folder on "ftpnormal". (in this case /home/username).
The goal being that when someone connects to "ftpnormal" and drops a file in there, it immediately is available to a user that connects to "ftpsecure", and vice versa, files actually residing on "ftpsecure", never really being
Mount samba shares with utf8 encoding using cifs
location: ubuntuforums.com - date: October 30, 2006
I was having the most difficult time in the world trying to figure out the best way to connect from my ubuntu workstation to a server hosting shares which were created on a windows 2000 server.
Nautilus mounted them fine, and displayed the correct folder and file names. However, the files were not cashed which meant that I was getting very slow response times, and applications which were Nautilus unaware (Open office) could not access the shares. I was also having difficulty with my keyring among a few other share related issues.
I tried using the smbfs mount function, but it didn't want to cooperate with the Japanese file names. So, since cifs is suppose to be poised for a smbfs replacement I decided to take a look into it and see what it could do. So, even if you don't have Japanese (or other non-latin based characters) in your shared folder/file names, you should still take a look at cifs.
Despite the fact that this is
Permanently Mount Samba Shares
location: ubuntuforums.com - date: January 22, 2013
Hello I am currently trying to mount a few shares on my Ubuntu Desktop and having a bit of a problem. I just reinstalled Ubuntu and this was working previously.
I have a Ubuntu 12.04 server sitting in the basement that houses all my media, documents etc...
I have a desktop that has Ubuntu 12.04 and I am able to connect to the share manually using the connect to server method. So I was wanting to mount these specific drives so that they would be there even after I reboot the computer.
I did some reading and came up with this method.
I installed samba from the appstore.
I created a few folders in /media called brent,music,movies,www
I opened up /etc/fstab and modified it with adding the following at the bottom
//192.168.2.105/Movies /media/Movies smbfs credentials=/etc/samba/cred-file,uid=brent,gid=users 0 0
//192.168.2.105/Music /media/Music smbfs credentials=/etc/samba/cred-file,uid=brent,gid=users 0 0
//192.168.2.105/Brent /media/Brent smbfs credentials=/etc/
[HOWTO] Mount samba shares using fstab in Ubuntu 10.10
location: ubuntuforums.com - date: January 3, 2011
You can likely find this somewhere else but it was giving me a lot of headache so I decided to put some info here, surely it will at least help me in the future.
Scenario: You have a samba share on your network and you want to put it in fstab instead of using ubuntu default gvfs that are not accessible using all types of applications and also do not mount on boot. Also you want read and write access and not show the password to anybody who knows some linux basics.
So here are the options I use, feel free to improve and comment:
credentials - stores username and password, should not be readable by anyone other than root
rw - read/write
iocharset - since my samba server is linux I specify utf8 to make sure the right encoding of special chars
uid - this is what was giving me the headache - without this I could create folders but nautilus thought I didn't have permissions to create files/folders within that directory.
gid should solve previous problem to let users of a group access the
Page: 1 2 3 4 5 6 7 8 9 10