Ubuntu Networking :: Win7 PC See Share But Unable To Connect
Jan 23, 2010
I have a share on my home server with all my music in. When I go to a windows PC (Windows 7) and go to network I can see the share, but when I try to connect in ubuntu by going to places>network>windows network. I get the error: "Unable to connect. Failed to retrieve share list from server". However when I try the connect to server option and specify the IP address its fine. I have tried this with the firewall disabled with the same results. I am trying to get my family to use ubuntu and I don't want them to have tp specify an IP address.
My Ubuntu Desktop (9.10, 64-bit) VM can't connect to my Windows 7 (64-bit, Ultimate) File Share using Nautilus. I enter "smb://<comuterName>" in the address bar and then it comes up with a password dialog (see screenshot) and then after entering the correct login info, the dialog disappears for a second or two but then reappears again. The dialog always comes back up and the share is never mounted. Connecting from an XP box on the network to the windows 7 share works just fine. Connecting from the Ubuntu machine to the windows 7 share using the appropriate 'smbmount' command works just fine. Connecting from the Ubuntu machine (using the nautilus GUI) to the XP box (password protected) works just fine. Then I turned off password protection in Win7, rebooted the win7 machine, and still all of the above tests turned out the same. And the Ubuntu machine still doesn't connect to the windows share using the nautilus GUI, and still displays the password dialog even though no password is required anymore. I tried using smbclient to view the shares, here is the output (not sure if I should be trying something else using the smbclient program):eddie@eddie-ubuntu:~$ smbclient -L eddie-win7 Enter eddie's password: session setup failed: SUCCESS - 0
I'd like to know how to connect Ubuntu to the windows 7 share using the nautilus GUI. If it's a bug, I'd like to file it (I think it is). But first I would like some direction trouble-shooting to make sure it is in fact a bug. (I think I read elsewhere on this forum that someone connected Karmic to win7 share, so maybe it's not a reproducible bug. But then again, maybe they weren't using 64-bit Karmic...)
I just recently constructed a computer to create a nice Fedora Linux server to replace a Mac Mini server that I have been using for a few years. I'm attempting to create a Samba share for my machines, a Windoze 7 machine as well as a couple MacOS 10.6 machines. I've set up Samba, started the service, allowed Samba in the firewall, and used system-config-samba to set up a share with a user. I created a User called "space", and a share /media/peliculas/Movies (a mounted hard drive). When I type in \IP_ADDRESS in the address bar in windows 7, I get the option to log in. I log in correctly and I see two directories "space" and "Movies." Unfortunately when I click on one of them I get the following error message:
Windows cannot access \IP_ADDRESSMovies Check the spelling of the name. Otherwize, there might be a problem with your network. To try and identify and resolve network problems, click Diagnose. I also get something similar when I attempt to connect with my mac machine. Using "Connect to Server" I type in: smb:\IP_ADDRESS, and login, I have the option to mount "Movies" or "space." If I select any of these, I get the following error message: There was an error connecting to the server "IP_ADDRESS." Check the server name or IP addres, and then try again. If you are unable to resolve the problem contact your system administrator.
Also, if I type 'smbclient -U space -L IP_ADDRESS' I can see the "Movies" in the "Sharename." At this point I'm not sure what else to do, and have been trying to figure this out for the last few days (losing sleep due to being baffled). The only thing that I can think of is that I have something wrong with the smb.conf file. Here is what it currently displays:
Global Settings
workgroup = WORKGROUP server string = Samba Server Version %v log file = /var/log/samba/log.%m max log size = 50
[code].....
One last thing, when I check the log files, there are error messages that state: smbd/service.c:1009(make_connection_snum) '/home/space' does not exist or permission denied when connecting to [peliculas] Error was Permission denied --Windoze 7 and MacOS 10.6 log files
so i found an older computer i want to play with as a file server. ubuntu server edition, installed gnome GUI (to make things easier for now, i plan on removing it later) and used [URL].. to configure my 1.5tb harddrive so my windows machines can access it. i had everything working but than a fatal crash made me start from scratch (os and all) now i am unable to access the samba share from a machine running windows 7, but i can access it from a machine running windows XP using the same login and password i set up for windows 7.this makes me believe it's a problem with windows 7 and not samba.
I've just installed Ubuntu 9.10 and Samba 3.4. I've shared a folder and have accessed the share from a Windows 7 client. However, I've struggled to configure the share and folder so that the Win7 client can create files and/or folders in the share. Kept getting Permission Denied errors. Finally, (using Webmin) I set the permissions on the file folder so that "Other" had write access. I don't understand why this was necessary (and how unsecure this is). I already had the write access checkbox ticked for "User" but it wasn't enough.
this has happened in different distros, so far i have tried slack, arch, and mint at work i have an xp box with a shared folder i created. on my linux box i setup fstab as follows
this gets mounted correctly and i can read/write the shared folder at home i have a win7 box that i create a share on and use the exact same code in fstab, but it wont mount the share. i get something like permission denied or access denied is there a difference in how winxp and win7 share folders? my usernames on the linux boxes match those of my windows boxes at each location. i have given my win accounts full access and control over the win shares.
I have installed both win7 and ubuntu, and with win7 i can easily connect to wifi in my arrea. Why i cannot i connect with this? I've installed the system with wired internet, and i'm trying to connect to a unsecured wifi.
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:
[Code].....
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
When I try to connect to the share from my XP machine, I get a "network path cannot be found" error message.
Below is the entry in /var/log/samba/samba.log
[2008/11/19 11:57:51, 0] smbd/service.c:make_connection_snum(1003) '/server2/test' does not exist or permission denied when connecting to [server2] Error was Permission denied
Here is my smb.conf file:
[global] # Server name server string = Intranet Server (Primary)
# These are the default password settings. ; encrypt passwords = yes ; smb passwd file = /etc/samba/smbpasswd
# Define NT domain/workgroup name. workgroup = intranet
# Security mode. (See SAMBA documentation for details.) ; security = user
# Restrict conections to specific IP addresses. hosts allow = all
# The %m variable sets a separate log file for each # connecting machine. # log file = /var/log/samba-log.%m # Keep it basic - one file! log file = /var/log/samba/samba.log
# The number of minutes inactivity before a connection is # disconnected. (This disconnection should be transparent to most # clients, which an have auto-reconnect feature. Removing inactive # connections is to preserve the server's resources.) deadtime = 10
# These socket options are suggested in the default smb.conf file. # Who am I to disagree? socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# Define both Ethernet interfaces. (Otherwise, I suspect only one # will be configured??) interfaces = eth0 eth1 username map = /etc/samba/smbusers ; guest ok = no ; guest account = nobody
But whenever I try to connect from my Mac to my Ubuntu AFP share, I get "invalid username/password". I have the correct username/password entered, so I think there is a configuration step that I can't find.
My laptop has Ubuntu 9.10. It can connect to shares on my XP and Vista computers without issue, but cannot connect to a share on my Windows 7 system. I'm using "Connect to Server" and have tried by both Computer name and IP address. When I click connect, it prompts me for User ID, workgroup and password, however when I enter them, the same prompt comes back a few seconds later and is blank. I don't receive any errors, it just won't connect.My XP and Vista systems can connect to the Windows 7 share, just not the Ubuntu system
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.
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 a Dell PowerEdge 1650 server with 3 NICs in it. I am trying to use one NIC (eth0) to connect to the internet, the second NIC (eth1) to share the internet connection to a LAN, and the third NIC (eth2) to connect to the LAN.
It is running Ubuntu server 8.10
The problem that I'm having is that NetworkManager (version 0.7.0) keeps setting eth2 as the default connection, and then I don't get any internet at all from the server.
My main goal is to be able to share files from the server to computers on the LAN. The secondary goal is to have a virtual machine hosting a Halo server, connected through eth2, so that it can host LAN games. But that is a secondary goal after I get the connections to work.
I've been looking around and finding other people who have done bits and pieces of this, but not the whole thing. I had been hoping to simply use the NetworkManger, but I don't mind editing config files.
Also I can't seem to find any good instructions on editing the /etc/network/interfaces file. The man file is incomplete, and everything seems to point back to the man file.
I'm wondering if I can get an answer to this oneI'm pretty new to Ubuntu, been using it off and on for a few months now. Right now I'm using Lucid and I have no problem connecting to the other PC's in my house that run Windows 7, however when I try to access them it asks for a password. I disabled the password on the Windows PC, so is it possible to get into them without a pass? If so, how
I can connect & share my dual-boot PC with no problems under WinXPPro using wired or wireless. (I've another thread going trying to get the wireless-n usb adapter to work.) Two questions so I can get the wired shares to work. I want to copy beaucoup files from the Win7 PC to the dual-boot PC. When booting into XP, no problems. When booting into Ubuntu 10.04, nothing. I can see the Win7 PC but can't access it. My two questions then are these.First, is there some switch to enable fire & drive sharing under Lynx as there is under WinXP / 7? Second, how does one set the IPv4 address? Under WinXP it's one address and under Lynx it's another.
I have shared my cpl-300 from my windows 7 machine to my network, so that may print from my linux laptop to it.
Now whenever I go to system -> Administration -> Printing and try and browse for my printer it asks for a username and password any username or password I enter that is on the windows 7 machine gets rejected.
So I tested to see what would happen if you used smbclient to view the shares available from the windows 7 machine, unfortunately it results in another permission error. The funny thing is I can mount a share using "mount -t cifs".
I'm running 10.10 on a pretty fresh install with a brand new system I built especially for Ubuntu.For some reason, I'm beginning to have trouble with accessing my Samba shares from this computer. I have a Windows Home Server also running on my network and I have to be able to access the files on it.At first Nautilus showed "SERVER" in the folder tree when I clicked on "Network" and everything was working great. A couple of days ago my WHS "SERVER" suddenly no longer showed up in Nautilus and I had to mount the WHS server manually (via "Connect to Server...").
Now, today, even that doesn't work. When I try to mount manually I get the error "Failed to Retrieve Share List from Server". I can now no longer access the WHS from Ubuntu at all.Why has my ability to access the Samba shares on my WHS deteriorated over time to the point where I can't access them at all?? Any ideas?I have other systems on this network (Mac and Windows) and none of the others have any problems at all with the WHS. Re-booting WHS and router has no effect. I've changed nothing in my set-up. Is this update related?
I am trying to setup a dhcp server for my internal network. I have two NICs, a modem, and a wireless router. I have my server connected directly to my modem which is providing me with Internet access on eth1 and is working fine. I have dhcp and dns setup on eth0 which is connected to my router. The router shows that it is connected to the Internet but when the router gives a client computer an IP address, the client is unable to connect to the Internet but can connect to the router. I will post my configuration files below with my current configuration.
My friend is trying to share his clearwire connection with me using Windows ICS. Using network-manager or wicd, I am unable to connect to his share. I am able to connect unencrypted with iwconfig, to the ad-hoc network, and then use dhclient to gain ip address.
I am not able to connect to WPA encrypted share using network-manager or wicd. nm-applet crashes when trying to connect. I am attempting to setup wpa_supplicant, but haven't got it working yet.As usual, the wireless networking out of the box experience in Ubuntu doesn't work. This is extremely frustrating. If Ubunut's goals are to be the default desktop, then these guys need to get wifi that "Just Works"...
My internet is provided by a 3g modem usb. I am sharing the internet connection through my desktop into a router and then to the rest of my Ubunut machines. Currently if I want to file share I have to go into the network manager and change the eth0 settings from shared to dchp automatic and then unplug the cable from the internet port on the router to one of the network ports. Is it possible to add another network card to the main machine and use that exclusively for either internet or file sharing.
I'm running Fedora 13 on my laptop and am trying to share out a folder from a Win7 computer. Folder on Win7 machine is set to allow access to everyone.In Fedora, I have SELinux disable, I've made sure samba is allowed in the firewall, and that the smb service is running. There's no password on the Win7 computer, so in the Windows Share setting on Fedora I just put the username and left the pass field blank.
I've seen some things say all you have to do is go the the "Network" place...but somehow that seems to have become non-existent and I don't know how to get it back.Also, trying to connect to smb://WinShare/Share results in it saying that the server has timed out.
I have ubuntu 9.10 installed with 2.6.31-21-generic kernel and have recently bought a LaCie d2 network NAS to which I am connecting via a Conceptronic C54BRS4A router, but am having problems with connecting to the share drives.
The d2 software is version 1.0.8 and I have configured a share drive <4music>, and a user <myuser> assigned to a workgroup <workgroup> and with readwrite permissions for that drive.
The version of LaCie Network Assistant (LNA) for Linux available for download here url is just 1.1.0, but the CD accompanying the NAS actually contains LNA for linux version 1.4.1 (5). I have installed both versions and the version 1.1.0 does not even find the drives, let alone mount them, so I am using the 1.4.1 version which does seem to work.
On launching LNA 1.4.1 I am asked for password to mount the drive:
�Enter your password to perform administrative tasks. The application 'mount -t cifs '//192.168.0.102/Public' '/home/myuser/mount -lacie/192.168.0.102/Public' -0 user=myuser, pass=mypassword' lets you modify essential parts of your system and both the Public and 4music drives are marked in green as Smb (Windows File Sharing) when connecting as registered user <myuser> with password <mypassword>
When I navigate to smb://d2.local/ I can connect fine to Public drive, but the problem comes when I try to connect to Share drive and I get dialogue box saying �Password required for share share on d2.local� and requiring me to input username, domain, password.
The user <myuser> on my linux box is the same as that configured for d2. The domain field autopopulates with the workgroup <workgroup> I have set up for that user on the d2, and I enter the appropriate password <mypassword>, but the connection is not authenticated.
Running /usr/bin/smbclient -L 192.168.0.102 returns: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.1] Sharename Type Comment Share Disk code....
I have created a share on a Windows XP VM and a share on Ubuntu, both access each other fine without a hitch. On my Windows 7 net book I can access shared files on Ubuntu, but cannot access a share on Windows 7 via Ubuntu. So I figure the cause of the problem is a certain configuration in Windows 7.
Also another question. On my net book I have IIS setup for hosting media files onto my local network so that I can use my PS3 browser to view them on my television. What software can I use in Linux to achieve this?
I'm running Lucid and and trying to get Samba set up to allow sharing files on my network. My problem is that my Windows laptop (Win7) can't see the Linux PC when I click on Network. It only shows my own laptop and my roommate's Vista laptop. However, if I manually connect to the computer (\serenity) it works just fine.
Right now I'm simply using the smb.conf that comes with the package and adding my share info.
When trying to connect to a Samba share, it requires to send the servernetbiosname. Let me try to describe it.At my university anyone has a personal web directory, which is hosted at another university. It's on a SuSE server, shared via Samba. There are several universities on this server, using the same Samba with different NetBIOS names.There is an open Cisco WiFi, anyone can connect. But to use it, you have to use VPN (Anyconnect for example or in my case the module Ubuntu provides).Now my problem is, I can't easily connect to any share on the server (tried several shares from several machine to be sure it's not just me). After trying several variants on bash, I finally figured out, that I have to supply the servernetbiosname to get it to work.Not working:
Trying to figure out if there is a way to connect to a cifs share, and only being prompted for one password? ie using the following:
sudo mount -t cifs //goanna/neddy -o username=neddy,iocharset=utf8,file_mode=0777,dir_mode=0777 /mnt/neddy prompts twice for a password (sudo & the share password). Is there anyway to "catch" the sudo password for the connect? (Long shot!
I am unable to share a folder on my Ubuntu 9.10 desktop machine. Networking is working, I can see and be seen by windows machines and also my Ubuntu 9.10 laptop. The laptop is able to share folders with no problem. The error message I get when I try to set sharing on a folder is "'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. Memory allocation error."
I know there has been a thread relating to this in the past, but the solution there did not work for me, and I have been beating my head against the wall for a couple of weeks on this problem, and have spent a bit of time with smb.conf. I would hate to have to do a new install to fix this, after all this is not MS windows!Can anyone point me in the right direction?