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
ADVERTISEMENT
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
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
May 12, 2011
I tried the smbmount command like this
Code:
And then i get an error instead of my shared files
Code:
I assure that the /home/baronobeefdip/share directory exsists and i am using the username and password that exsist on the server's system (the username is baronobeefdip and the password i would like to keep secret)
What am i doing wrong here because something is wrong
And for refernece here is the result from the
Code:
command
Code:
I want to the get one that is commented as the "debian floor computer"
View 13 Replies
View Related
Apr 24, 2011
I'm having some trouble mounting a Samba share on my two Ubuntu machines. The Samba share is setup so that all files are readable and writable by everyone (it's only accessible via the local network). When I create a new folder on the share with either of my Ubuntu machines, the folder becomes non-writable by anyone ie. I can't place anything into the folder. I'm using the following command to mount the share:
[Code].....
I think the problem is with the way I'm mounting the share on my Ubuntu machines. If I go to the share using smb://192.168.1.160 in a file browser, I can create new folders which are readable and writable by everyone. But, if I create the new folder where it's mounted at /mnt/backup, no-one can modify or change it.
View 2 Replies
View Related
Feb 2, 2010
I have created a samba share and mounted the share with /etc/fstab on another machine. This share is supposed to be a fully public share i.e. i have different share where different permissions are set but on this particular share i intend to have full read write and execute rights to all the users on my mounting machine.
The problem is that I get only owner and group rights for write on directories that i create due to which all my users can create files in my mount directory but when they create a folder they cannot create any file inside that folder.
View 4 Replies
View Related
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
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
May 1, 2011
I upgraded my testing/Wheezy Inspiron N5010 to 2.6.38-2-amd64 recently (along with a bunch of other updates, of course) and now my Samba network share is no longer automatically mounting, I have to open a root terminal and do a "mount /mountpoint"; my relevant /etc/fstab entry:
I've tried over options, as well, but it isn't automatically mounting. Any suggestions (including where to file a bug report)?
View 3 Replies
View Related
Apr 26, 2011
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:
setsebool -P samba_domain_controller on
Trying to connect to samba locally gives me this:
Code:
[tedward@hp-firegate ~]$ smbclient //192.168.0.1/storage -Utedafur
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
[code]....
View 6 Replies
View Related
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
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
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
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
View Related
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
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
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
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
Jul 19, 2010
So my brother has a home network that is setup with multiple workgroups (don't ask why - I have no idea and he refuses to change it). Anyways I just installed Mint 9 (Ubuntu 10.04) on my mother's computer and I need it to be able to access the fileserver in her house where her data is stored. The Mint system is part of the default workgroup and can only see one other system in this workgroup.
The workgroup the file server is a part of is called "hobnw", the server's name is "fileserver", and the share I want to connect to is called "TV Shows" How can I connect to this network share on Linux? (I also know the username and password) When I browse the network under nautilus all I see is the default workgroup and no others. All of the Windows systems on the network (Windows XP, Vista, and Win7) all see and can access the file server without issues.
View 1 Replies
View Related
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
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
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
Dec 10, 2010
I have a shared directory on another machine but I can't get it to mount as a samba share. The permission denied doesn't say where/which permission is denied. Is it on the remote on on the local machine? The remote has sharing enabled for the shareddocs directory and after I have mkdir'ed the local mount point I open it's permissions too. The verbose response from mount.cfis looks like this:
mount.cifs kernel mount options: unc=//192.168.1.102shareddocs,domain=WORKGROUP,ver=1,rw ,username=clive,,,,,,,,,,,ip=192.168.1.102,pass=** ******
mount error(13): Permission denied
Refer to the mount.cifs( manual page (e.g. man mount.cifs)
The man page does not have a list of error codes.
View 4 Replies
View Related
Feb 15, 2010
I have karmic on my laptop, and I can't access my windows network. I have had previous versions of ubuntu and managed to configure samba. However, since my last reinstall, I can't get it to work.
View 7 Replies
View Related
Apr 21, 2010
Can I share an NFS mount with samba?
Scenario:
ServerA has an NFS Mount to ServerB at mount point /home/qlogger/logs
I can cd to /home/qlogger/logs on ServerA and see the contents as they would be on ServerB (NFS Working with proper permissions rw).
I have a samba share setup on ServerA to share the NFS Mounted Directory (/home/qlogger/logs)
I connect with my windows host and am able to view the files and folders. I can create folders just fine however; when I go to copy a file from the windows machine to the samba share I receive a message saying the file is locked.
I have disabled oplocks in samba and the problem still persists.
View 1 Replies
View Related
Jul 29, 2010
I setup samba file sharing to auto mount in fstab. Everything works great except when a computer has more than on user account.
The folders in mnt are owned by root and ownership changes to the first user account no matter what user logs in. So only the first user can edit files in the mounted share.
Anyone got a clue why this is happening? Seems the mount folders should be changing ownership to the user that is logged in.
View 2 Replies
View Related
Mar 4, 2010
I am running Jaunty 9.0.4. I used system-config-samba (gui) to configure Samba. I put myself as a user and tried to map the drive from my local PC. I am unable to map the drive. On windows, I try to connect using a different user and when I select finish, it prompts me again and adds my workgroup before my user name.
View 8 Replies
View Related
Jun 6, 2010
When I create a new folder on my ubuntu machine and share it with my windows 7 machine using 'net usershare add <dir> <path>', I can't get write perms in Win 7. It keeps giving me a "You need permission to perform this action'. I've chmod the folder to 777 but still no luck.
The funny thing is, it was all working fine until I tried to add a new usershare yesterday (Can't think what I've changed). I use this sharing method to share all of my development /var/www/ folders so I can work on them from my win machine.
I have had a few problems with my samba smb.conf, and it nuked and rebuilt yesterday. I'm fairly new to the Linux game, and this permissions problem has me baffled.
View 1 Replies
View Related
Jul 26, 2010
I have mounted a samba share on my desktop from a remote server (with smb4k). There I created a symlink to "/". When I open the symlink with konqueror it opens the right one (the root directory of the server), but when i open this link with the shell (cd rootfs/), then it opens my local root directory (of my host)... Is it possible to open the right link with the shell?
View 1 Replies
View Related
Sep 15, 2010
Ubuntu 10.04 with Windows OS as Virtualbox, using Samba I connected to another computer which shows up mounted as:
Code:
smb://scott/premier9/
Now in Virtualbox Shared folders it doesn't show up so I can't share it?
Screen shots below...
How can I See it in Virtualbox?
View 1 Replies
View Related