Ubuntu :: Unable To Access (10.10) Share Drive On Windows PC?
Jun 29, 2011
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 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...
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'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?
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 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 just built 2 Ubuntu Desktop machines with a 2TB drive in each.
The machines are to sit on a Windows network one as media storage the other to as backup for the first.
I have shared a folder on each machine and all the shares can be accessed from the other Ubuntu machine and from the windows machines.
I have installed another 2TB hard drive in each machine and formatted as ext4 file system.
I then created a folder on each machines new hard drive and shared as usual. The shared folders can be seen on the network but cannot be accessed by network machines.
The error is "Unable to Mount location" "Failed to mount Windows Share"
I have just built 2 Ubuntu Desktop machines with a 2TB drive in each. The machines are to sit on a Windows network one as media storage the other to as backup for the first. I have shared a folder on each machine and all the shares can be accessed from the other Ubuntu machine and from the windows machines. The problem: I have installed another 2TB hard drive in each machine and formatted as ext4 file system. I then created a folder on each machines new hard drive and shared as usual. The shared folders can be seen on the network but cannot be accessed by network machines. The error is "Unable to Mount location" "Failed to mount Windows Share".
Overview I have a couple of Pc's that I have installed Ubuntu 10.10 on, standard installs. No install issues I have a FreeNAS box set up with a windows share for various things pictures, videos, musicThe files are located in a directory Media, i.e., media My Pictures mediaMy Videos mediaMy Music each folder has lots of files and directories, specifically My Music has >2000 files/top level directories I connect to the FreeNAS share with no issue and can browse all the files, EXCEPT....The issueI cannot access the My Music directory. Can access Media, see all directories but when I click My Music I get >>The contents could not be displayed.... Sorry, could not display all the contents of "My Music": Invalid argument<
Currently I am using HP NAS box and we have installed HP Storage Works storage Mirroring on NAS for Replication. Windows 2008 is installed on this NAS box. I have shared a directory as NFS share on this NAS box and allow anonymous read and write access to all machines. I want to mount and access this NFS share directory on one LINUX machine and this Linux machine has Redhat 5.3 Enterprise edition.
1.The issue I am facing here is, I can mount the NFS share on my Linux machine successfully but I can not do read/write on this NFS share. Whenever I try to access this mounted NFS share, I always get error Permission denied. I can do any read/write operation on this mount point. Please provide the inputs to resolve this issue.
2.How do I mount NFS share with user credential and password? Can I share a directory as NFS share with user credential which I can use when I mount the share? 3.Is there any other way to access NFS share by using user authentication and password?
I got my server set up with 10.04, and with everything installed: DHCP, SSH, Samba, VBox, etc.
DHCP, SSH work fine, but I am having problems where I cannot ping the hostname of the machine.
It worked for a few minutes after I got everything installed and now it's not letting me connect via hostname. I can connect fine if I use the IP address. I cannot ping the machine by hostname unless I add it's IP address to the hosts file.
I'm trying to access a share across the net. the share is a disk "fat32" which I mounted using "vfat users,rw,exec 0 0." However, after I created the samba user "smbpasswd -a user" I'm still unable to access the share across the net. ports are open, and entry has been made in smb.conf for share. But I'm having problems giving permission to smb user. the share it is mounted on /media/share, and I've tried everything from
chmod -R ug+rwx /media/share chmod -R ugo+rwx /media/share chown -R user /media/share and I always get unable to set permission for user
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.
It's the strangest thing, I've done this on a couple othervers with no issues whatsoever... here goes:I need to mount a windows share to copy some files to it, so I used this command which gets no errors:
Code: sudo mount -t smbfs -o username=XXXXX,password=XXXXX,domain=XXXX.com //192.168.12.30/operrors /home/XXXX/scripts/operrors
I am running Ubuntu 9.10 on my desktop right now. I have an external western digital terabyte drive plugged into it. I am able to see it and view it fine. Let's work with my music folder for example. I want to be able to access this music from my Windows 7 laptop so that I may add it to my itunes. However, when I enter the \servershare from the windows 7 laptop it says that the "server" is found but the "share" seems to be invalid. I've checked this 20 times and setting the share name to "music". I've rebooted 2 times on each computer yet to no avail. If I make a share on the Ubuntu desktop I can access it from the laptop. So it seems like it just gets lost when looking inside the external. This was just working last week, then I had to blow away they win 7 lappy and now it just won't work!
I had the previous edition of Ubuntu Desktop Edition installed on my Acer Aspire 1 and it asked me to upgrade which I then confirmed and proceeded to do. When it was done it started up with the Ubuntu Netbook edition and Samba was removed.
How do I access a windows share with a netbook edition, because there's no places menu? What programs / addons do I need to install to be able to access windows shares when using the netbook edition?? Otherwise, how can I revert back to my previous edition of Ubuntu which I was happy with?
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.
I've a Windows and a Ubuntu Machine on the same network.I've a shared folder on my Windows machine.I need to permanently map it to drive letter in Ubuntu, just like a hard disk.Think of mapping a network drive in windows, I need to do the exact same thing.Is there a way? I've honestly gone through about 500 posts explaining different ways and I go none working. Is there a GUI for this?I know there is something called mounting, but I need it to be a drive letter for my program to understand.
I got a wireless network. 1pc running win xp and one laptop running ubuntu. I want to share my windows hard drive, and access it on my (ubuntu) laptop.
"My network" is behind a firewall inside a larger windows network with AD. My network has a Debian Server with samba 3.2 running. One of the hosts that are on the outside of my firewall has a share that I and other Linux-users on the debian server wants to access.
he moved in a new place and there is a huge share on the network machine which runs windows... however he has fedora 10 installed on a desktop pc with a big screen and asked me to configure it so it can access the share... i have almost no experience with fedora and i've been trying to do this for two days now... i installed the samba package, but now what? how to do this because the exact commands are unknown to me... i have the root password and everything else on the network... so i just need to know what ot write in order to be able to mount all the TBs of information on the server...
i did install and configure samba buy google tutorials. I can ping the centos box from windows but cannt access folder which is on centos. I can ping the machine.
Noticed this in both Ubuntu 10.04 & now Mint 9, both Gnome. I didn't have PCLinuxOS2010 KDE installed long enough to experience it so I don't know if it's a property of Linux or part of Gnome.I have two users, both myself and my wife, and I noticed thatn I mount an internal SATA drive I can only see/access it under the user that mounted it. In order for the other user to see it I need to un-mount the drive. Drive is a 1TB SATA formatted NTFS.I can't imagine this is normal and the 2nd drive is shared for pics/data/etc. Strange quirk is that my install is on a partitioned primary drive, 320gb, that also has Windows on it so the OS must access the drive in order to boot - both users can see the mounted 215gb Windows NTFS partition simultaneously.Is there a setting that needs to be changed or is this normal?
I have set up RHEL 5 file server with Winbind and samba services running.I am able to assign and authenticate windows XP users against my RHEL 5 server.No issues.But one or two of my users are using Windows 7 Ultimate edition and they are not able to access my network samba shares.I can view the shares in windows 7 box but trying to access gives me "network access denied error".But i can access the same share in Windows xp machine for the above tested users.Working great but not in windows 7 box.I haven't tested with Vista OS yet.
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.