I'm pulling my hair out trying to figure out what is wrong with my Samba share. I have set up a directory /samba to serve up some movies, music, etc, on an Ubuntu 10.04 Server box. For now, I have given that directory 777 permissions, along with the subfolders:
Code: drwxrwxrwx 4 michal michal 4096 2010-06-22 18:02 Apps drwxrwxrwx 3 michal michal 4096 2010-06-22 19:02 Music drwxrwxrwx 3 michal michal 4096 2010-08-14 19:27 Pics drwxrwxrwx 5 michal michal 4096 2010-06-22 19:48 Video This is how my smb.conf file looks like for this particular share:
Code: [share1] comment = share1 browsable = yes path = /samba write list = michal Furthermore, I went ahead and mapped the Samba user to my Linux user account in /etc/samba/smbusers:
Code: michal = "michal" When I try to login from a Windows machine using michal as the username, I can see the folders, but I am unable to create new files on the share. Considering that the file system permissions are liberal on the share directory, I have no clue as to why I'm still getting denied write permission.
Mount a Windows share where my user account has admin privileges. All permissions granted to the share on the windows pc side.Mount statement is as follows:sudo mount -t smbfs -o username=johndoe //winname/directoryname /mnt/tmp/Share mounts ok but does not let me create or write to an existing file. When I select Properties on the directory it says that permissions are unknown on the share looking at it from Ubuntu.
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.
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.
I'm currently using ubuntu on my laptop, and I want to access my windows 7 folders via network and file sharing...but there's this problem...
Everytime I want to connect to my Windows 7 pc, it will just prompt me a "password required for xx pc"...and keep looping on every username/password [afaik from the windows account], and I'm unable to login to it.
Even tho I've set "LmCompatibilityLevel" dword key, 1 or 2 [restarted every set] under LSA..it's still the same thing happens...
Unable to access linux(ubuntu 10.10) share drive on my windows PCIn my office we have few linux (obuntu 10.10) computers and 3 computers running on windows. We have data stored on one of the shared drives of a linux(ubuntu 10.10) system which has samba installed and we are able to access that folder from other linux systems and 1 windows xp system where it asks for user name and password and is able to access the data while in other 2 windows systems (with 1 having xp and 1 having windows 7) we are unable to access the folder because it does not ask for user name and password and it shows an error network drive not accessible as you may not have the permission.
I'm pretty new to using Linux and I installed SUSE 11.3 on Sun Virtual Box to play around with it. I am trying to mount one of my Windows shares to my SUSE system and I'm getting an error "Mount error(13): Permission denied". I have made sure my Windows permissions are open, in fact I used a test share and added everyone and gave full control. Below is the command I tried to use to mount it.
mount -t cifs -o username=Nick //computername/share /mnt/temp
I pre-created the temp folder under mnt and I tried both my PC name and my ip address in the above command with the same error each time. I also tried using my pc name in my username string as well "username=pcname/Nick" and that did not work either. Can someone advise me why this error is occuring?
Trying to setup Samba for the first time and am unable to connect to the share from my Windows machine. It is a very basic setup, just trying to setup a single share to use a backup location for my windows files.
I've done the following: 1. Fresh install if fedora 15 2. installed samba rpm -qa | grep samba gives the following:
3. Used samba server configuration to setup the share and create the samba users 4. When I tried to connect from my windows machine I get the error that the server is not accessible, you might not have permission to use this network resource or I get the error "windows cannot access server, check spelling and try again.
Both computers can ping each other. I opened samba ports in the linux firewall and tried to connect again: same error Disabled firewall all together and have the same error. Here is the output from the testparm command
I am trying to mount a shared drive on a Windows Server 2008 machine using a Linux machine (Fedora 13). I try mounting by
# mount //HOSTNAME/SHARENAME /mnt/FOLDER
and I get mount error(13): Permission denied.
I have tried other options like # mount -t nfs //HOSTNAME/SHARENAME /mnt/FOLDER -o username=USERNAME and the same thing with different filesystem types (ntfs, smbfs, cifs).
checked all firewall configurations. verified security/sharing settings for the drive verified registry keys under HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesNfsSvrParameters verified NFS server is running
I am familiar with Windows Server 2008 but I have never configured a system from scratch on my own. The computer I'm using used to have Windows 7 for sharing folders to a Linux server. I have just switched to Server 2008 and have not been able to mount anymore.
One thing that I think is that I tried setting up an identity mapping solution; however, I do not have a domain controller setup. I am still functioning on a workgroup.
I can't be the first one with this problem. What am I missing?
I have setup Samba servers in the past, just none under SELinux. The last one I configured was a couple years ago, so I wouldn't doubt I'm a bit rusty.
---- Environment summary: Clean server install of CentOS 5.4 includes SELinux - lets call this 'server' - updated samba to 3.0.33-3.15.el5_4.1
Client1 - Windows XP sp4 - WINS configuration uses 'server' noted above Client2 - Windows Vista - WINS configuration uses 'server' noted above
---- What works / what doesn't ------ Clients can see the server (XP and vista) in network neighborhood. The following does not work from windows (xp or vista) net view net view \server net view \server-ip net view \servershare
This does work on the server smbclient -L \server smbclient -L \server --user validuser smbclient -L \client1 --user validuser
---- What I have configured and tried (config/output below) -------- firewall ports for samba are open SELinux enforcing or permissive file context is set on share samba booleans are set
***firewall -A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m tcp -p tcp --dport 445 -j ACCEPT -A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT -A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT -A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m tcp -p udp --dport 139 -j ACCEPT
***SELinux mode/booleans # sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: permissive Mode from config file: enforcing Policy version: 21 Policy from config file: targeted
# getsebool -a | grep smb allow_smbd_anon_write --> off smbd_disable_trans --> on
# getsebool -a | grep samba samba_domain_controller --> on samba_enable_home_dirs --> on samba_export_all_ro --> off samba_export_all_rw --> off samba_share_fusefs --> off samba_share_nfs --> off use_samba_home_dirs --> on virt_use_samba --> off
I have a windows machine (in a domain) and I have created 2 Virtual Machines with Suse 11.2 installed on them.Now, I want to share a folder in windows to both Suse images. I am succesfully able to do that.I used: mount -t cifs -o user..... command to mount it at /mnt/win on my linux and succesfully able to work with it.
Now, I want a user in my Linux box (both Linux images)to be able to write to the shared folder in windows (actually both linux images will write to the shared folder but it is based on acquairing locks and releasing them to be able to use the shared folder on windows).
I tried etc fstab and lot other options but my efforts were in vain.Simply put - I need a user in my linux box (suse 11.2) to be able to write to a windows shared folder.
I try to use the same firefox/thunderbird profile in opensuse and in windows, but if i give the windows profile to the suse firefox, it says to me: "profile is already used/ firefox is already running " Is there any workaroud for this? Btw the profile sharing works well with ubuntu. I use opensuse 11.1 kde4 reloaded and the installer mounted my windows partition to /windows/c
In the Windows network, there are 2 or more shares as follows:
I can access both shares in nautilus e.g. "smb://bla.bla.company.com/share $". The shares are mounted then in "home/user/.gvfs/". ok.
In one of shares, is a file-based repo, which I can access easily with svn.
Unfortunately when I try to checkout any normal folder from a share (as in MS$ with Tortoise), I fail...
What's more in the file-based repo, external references exist to other shares in the network, the name is as "file:///X:/folder/file.txt". SVN gives error messages about such references and does not access files (where "X:/" is also mounted, but as a "test$ to smb://bla.bla.company.com/test$" in "home/user/.gvfs/ ").
My questions: - what is the best solution to mount shares, so I can access all the SVN repos? - How can I access normal files and folders from a share with svn? - How can the problem with external file references in a file-based SVN repo can be solved? without to checkout/commit files "manually"... - Some checkouted scripts (Perl, etc.) use libs from shares: "Use lib qw(r:/tools/perl/lib/). how to get around this as well? - How can I change mount-names: "test$ on smb://bla.bla.company.com/test$" to something like "share-test$? - How can I change the mount location? in "home/user/SAMBA/" instead of "/home/user/.gvfs/"..
I had tried to use "fuse-smb": installed, created config, but when I run "fusesmb /home/user/SHARES/", i get an error message: smb.conf is missing.. Where can I get this config?
And one last question: Can someone recommend me a svn-gui? i have tried tried rabbitcvs, esvn and some others .. but all either do not work or crash.
I'm not sure, but maybe I can use svn and tortoise in wine, and checkout/commit the necessary files from/to "home/user/project/"? there raises the questions whether it is possible to install tortoise in wine and how to mount the shares on the wine? How to manage the hard-coded lib-names in some scripts...
I have a computer running Ubuntu 10.10. I am using it to share many hard drives connected to it. I am using Samba. I have successfully shared many folders to one Windows user. I am attempting to share other folders within the shared folders to another user as read only but have not had any success. When I attempt to connect to one of the shares from another computer running Ubuntu 10.10, logged into an Administrator account with the same username and password which I setup on the Samba share I get the error: "Unable to mount location" "Failed to mount Windows share"
I have searched for days on this problem and no one seems to have the fix. Everyone else seems to go off on tangents.I have 3 computers. One runs XP pro, one runs Windows 7 Ultimate x64, and one runs openSUSE 11.2.The two windows machines can share files between each other with no problems.On suse I setup samba correctly. When I go to Computer -> Network on suse, I then go into Samba Shares. Then I see my workgroup name. I click to go in and I can see all 3 of my PC's listed here.When I click on my XP pro machine,am prompted for a user name and password. I put it in and I gain access perfectly.
When I click on my Windows 7 machine, I am prompted for a user name and password. I enter it in and it prompts me again for the user name and password. It will not let me in.I have changed all of the settings in 7, I have disabled the firewall, I have changed the security policies, I have changed the encryption strength.Simply Samba is nolaying well with Windows 7. I cannot believe that I am the only one with this problem
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)?
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 am using F10 desktop edition, all the computers using windows are able to access the shared folders over lan except me using F10. I have tried many things with smb but still unable to connect.I am new to linux so i dont khow much of its technicalities.kindly suggest how can i be able to access the shared documents ..
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've read several threads on the subject but all seem to be related to problems I'm not having, or at least the troubleshooting loses me at some point where my results have differed too many times to ignore.So, I'd like to start from scratch if anyone can help me. I'm simply trying to access a folder shared on Windows 7. The Windows computers on the network have no trouble accessing it with the username and password -- both XP and Win7 systems are able to access the share.I can try going to Places > Network > Windows Network -- but I get "Unable to mount location. Failed to retrieve share list from server".I can try going to Places > Connect to Server but I get "Cannot display location "smb://192.168.1.8/". Failed to retrieve share list from server." (tried both computer name and local IP)
I currently have Windows Firewall turned off on the server for troubleshooting purposes.I'm pretty new to Linux still -- are there any commands I can report on from Terminal that will help steer me in the right direction?