Ubuntu Networking :: Info For Accessing Shares On A Windows 7 Computer?
Dec 29, 2010
I just got my Ubuntu 10.10 laptop to finally be able to access my Windows 7 Professional's shares, and I'd like to share how I got it working. Whenever I would go to Places > Network on Ubuntu, and then double click on my Windows computer (sometimes after finding it in Windows Network > {workgroup name}), it would immediately bring up a box saying "Password required for {computer name}". My Windows password wouldn't work here, but I didn't even want to be asked for a password. In Windows, under Network and Sharing Center > Choose homegroup and sharing options > Change advanced sharing settings..., Turn off password protected sharing was already selected.
So, I eventually found out that samba (the program Linux uses to talk with Microsoft's SMB network share protocol) has a bug of sorts. The format of the SMB packets coming from a clean Windows 7 is known by samba. However, if you install Windows Live Sign-In Assistant (which is provided through Microsoft Update) on Windows 7, the packets coming from Windows 7 are modified, and samba can not handle this. A patch has been written for samba, but Ubuntu's repositories (which has samba version 2:3.5.4~dfsg-1ubuntu8.1) does not yet have that patch.
Also, it seems Microsoft has stopped Windows Live Sign-In Assistant from appearing in Programs and Features. It doesn't appear even if you specifically download and install it separately. I did, however, notice that the installer calls itself Windows Live Essentials 2011. So I found that in Programs and Features, and uninstalled it. It asked which components I wanted to uninstall, and I selected all of them. Rebooted Windows, and now I can access the share no problem. I also grabbed the offending packet using Wireshark before and after that uninstall. The packet is indeed different. Specifically, without Windows Live Essentials 2011, there is no mechToken in the packet.
The current version of samba available is 3.5.6. I may try downloading and compiling that later, and see if it deals with the change that Windows Live Essentials 2011 makes OK. Also, it may be possible to get the share working without uninstalling every single Windows Live Essentials 2011 component. You may want to try that if you would like to keep a component.
View 9 Replies
ADVERTISEMENT
Feb 16, 2010
i have 3 ubuntu machines running 9.10. All of them are running SMB so that the Windows machines can access the shares on the Ubuntu machines, but the ubuntu machines can not access shares on the Windows machines. When I click to connect to a windows machine ( all of them running XP), it says "connecting to COMPUTERNAME.." It never opens the computer, and it always comes back with an error saying that it failed to connect. I haven't been using ubuntu for very long, so im not as savvy with it as I am on windows. All windows machines can see all ubuntu shares, just not the other way around and I'd like it to be both.
View 3 Replies
View Related
Jan 15, 2009
We are using spare parts (Socket 775 Biostar motherboard, OCZ 500wat PSU) to build a computer that will just be another system in the house. I want this system to be running Folding@Home, and the F@H SMP client for Linux is much less of a headache than its Windows couterpart, so I would like this computer to run Fedora. My dad loves networking, and knows how to do it in XP / Vista, so he has always opposed my frequent use of Linux. There are ways of accessing Windows shared folders from Linux, but that I haven't figured it out yet. I want to access Windows shared folders from my Fedora 10. I don't know how to go about doing this, can anyone point me in the right direction? Do I have to install anything special? I can go to Places, and then Network (in Gnome) and I see "Windows Network", but when I click it, I get "Unable to mount location Failed to retrieve share list from server"
View 8 Replies
View Related
Sep 13, 2009
I have a machine acting as a gateway for a private network. While it can ping hosts on that private network, I can't use samba (smbclient or smbmount) to access shares on hosts on the private network from that machine. Other machines on the private network can access shares on other machines - just not the gateway server.
Here's how the gateway is configured:
When I try to connect to ports 139 or 445 (via smbclient or smbmount) the mount() system call times out. As I mentioned above, I can ping those hosts, so UDP packets work but TCP packets seem to get blocked or lost.
View 1 Replies
View Related
Jan 4, 2011
I have a NAS running Samba. My Samba shares are accessed from a Windows computer, it works very well.
With the kubuntu 10.04 computer, things are different : I can see the Samba shares in Dolphin, and copy files to the local drive, but lots of applications don't allow me to open a file on a Samba share.
Some applications such as OpenOffice let me browse to the share but refuse to open the remote file
Some other applications don't let me browse to shares at all.
What's up with that ? Surely I'm not the only one wanting to access files on a NAS ? How do other people do it ?
PS I chose kubuntu 10.04 because the 10.10 install hangs, the "ui" workaround I saw here and there did not work, the only solution offered was to go back to 10.04
View 3 Replies
View Related
Apr 2, 2010
I'm trying to do the normal setup of sharing some dir's on my linux machine using samba, to allow a windows laptop to access them.
I've managed to get the printer shared and this is allowing to send print jobs, which come out beautifully! however the actual file shares still aren't accessible
Depending on my settings, if I have security = user then when I access from the windows machine I get a username and password box - I dont want this functionality, I want the system to access right away as it would between two windows shares.
If i change security = share then it simply lists the shares, but tells me they are all inaccessible.
I've googled and searched here, tried various different things but I just can't see why/where its asking me for the username/password combo.
Code:
From /var/log/samba/smbd :
Code:
View 5 Replies
View Related
May 16, 2010
Since "upgrading" (ha!) to lucid I have had a number of problems that I am working my way through. The latest is accessing samba shares from a Win7 PC. It takes minutes to open the requested share from the Windows 7 PC. File transfers, once the directory is accessed, can be measured in bytes. It is an absolute trickle.
AFAIK the smb.conf is unchanged and, in any case, there is no problem accessing the shares from another linux PC.
View 9 Replies
View Related
Oct 3, 2010
I'm trying to get my Ubuntu computer to connect my Windows 7 shares. I do have Samba installed and it can "see" my Windows 7 computer...however, I cannot connect to the machine. I think I've heard some issues with the way how Windows 7 deals with networking now and Samba doesn't work with Windows 7 now or something? If possible, I can always use an NFS server and client for my Windows 7 computer.
View 5 Replies
View Related
Sep 21, 2010
I am using Xubuntu 10.04 and can't find where I can create shares as well as access network shares. In Ubuntu I just go under Places/Network and there are my shares. How do you do this in Xubuntu?
View 6 Replies
View Related
May 27, 2010
provide support for a small business that uses Windows machines to access files stored on an Ubuntu server which has just been upgraded from 8.04 to 10.04 (32 bit version). Before the upgrade the users accessed their share by this batch file:
Code:
net use x: \servernamesharename /user:username
This would then prompt the user for his or her password which they would enter to allow them access to the share.Since upgrading to 10.04, the user gets a "system error 58" stating "The specified server cannot perform the requested operation"If the batch file command is changed to:
Code:
net use x: \servernamesharename
The same error message is given. The only work around I have found is to modify the file to read:
Code:
net use x: \servernamesharename /user:username password
This is not ideal at all as it makes the password protection useless.When I performed the upgrade I left the smb.conf unchanged. The smb.conf file is:
Code:
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
[code]...
View 7 Replies
View Related
Jan 6, 2010
I wonder how to get Samba share access working well...Dolphin supports Samba but it doesn't really mount anything, it seems... Non-KDE Applications therefor can't access samba that way. In Gnome there was a workaround for the same problem. You could simply go to ~/.gvfs in any application and find the samba mounted there.Is there anything like that in KDE? I set up a Samba mount via /etc/fstab for now but that is quite annoying because it fails after each Suspend, changing WLAN Access Points, etc. Then I have to go to the console and manually launch sudo mount -a to get it working again. How can I make things more comfortable?
P.S.: I'm even up for using something else than Samba to talk to my fileserver. However I don't know of anything that would work better in this regard. (NFS would have the exactly same problem for example)
View 5 Replies
View Related
Aug 1, 2010
Simply share a printer in a small, secure home network spread over 5 or 6 machines running mostly windows (98 through Win7) but using the UBUNTU box as the host for the printer.
The network has basic connectivity. I have no problem pinging any box from any box. Or surfing from any box.
From UBUNTU box, can see and browse Windows Workgroup no problem.
Windows machines see the announcement of UBUNPRIN but cannot connect. Cannot seem to authenticate. I'm thinking that I have the share set up with NO security.
security = SHARE
And
map to guest = Bad User
Adding some terminal output and the smb.conf file...
Clip from log.nmbd:
View 9 Replies
View Related
Mar 8, 2010
I'm trying to get my computer connected to the internet at work. how to set up a connect in ubuntu or any other Linux system. So I'm completely on my own. I went into windows to get my IP address, subnet Mask, gateway address, and DNS server. I put these in using sys>admin>network>wired connect | dns. Nothing works. I went to Network Tools and tried to ping the dns server and another address given from the Ubuntu help menu. Nothing. In network tools, I see two options under devices, loopback interface and ethernet (eth0). I can't do anything with loopback and it has the standard 127.0.0.1 255.0.0.0 showing (shadowed). So i skipped that and then clicked on the ethernet option and the "configure" button becomes active. The ip and such that I put in seem to be showing there, but when I click on "configure" I get something like "The interface doesn't exist". the network proxy setting is "direct internet connection". Seems that since I can connect when in Windows, I ought to just be able to get all the information I need and set it all up in Ubuntu. Maybe I don't have enough info from Windows, and maybe I'm not putting things in the right places in Ubuntu.
View 6 Replies
View Related
Jun 6, 2011
I am having a problem accessing my samba shares from my notebook that has a fresh install of Fedora 15. I know that the server with the samba shares is working since I can access them from the windose box. I have just moved from using Ubuntu to Fedora and have definitely found my home. How would I tell if samba is running (or any service for that matter) on my notebook? I Installed samba-client
Code:
yum install samba-client
Though I still cannot access the shares. All it shows is windows network.
View 3 Replies
View Related
Jun 27, 2011
Recently upgraded Ubuntu home server from 8.04 client to 10.04 server and reinstalled all services therein. One of them is a Netatalk daemon that I configured in a fashion similar to this website:[URL]inder recognizes my server and the afp service, yet when I attempt to log in (using valid credentials), Finder indicates its the wrong username and password. I've tried altering some of the config files and my Google-fu to look for solutions
View 1 Replies
View Related
Jan 31, 2010
I've recently switched to Ubuntu from debian, and I'm now running a fresh install of 9.04 32 bit. I have a Windows XP media computer which I would like to be able to browse using smb://. This worked fine on my debian system, but I cannot get it to work on ubuntu. The windows XP machine has a couple of shares, e.g Music. I can access the Music share via smb://, but I cannot write to it. Nautilus just says "Permission denied". I can also see the default shares, e.g. E$, but if I try to open them I am prompted with a password, but no matter what I enter it seems to have no effect. How to proceed?
View 8 Replies
View Related
Feb 3, 2011
Running Ubuntu 10.10 M-M..Running Network, my machine sees my Windows Workgroup, and even the machines on the workgroup. When I try to access those machines, I get a message "Failed to retrieve share list from server." I've been able to mount other machines by using straight IP accesss, but that is of little use since IP addresses are not Static.
View 6 Replies
View Related
May 1, 2010
Since upgrading to 10.04 I have had constant CIFS errors in /var/log/syslog
Eg -
May 1 10:33:46 eclair kernel: [ 933.789217] CIFS VFS: No response for cmd 50 mid 32895
May 1 10:33:46 eclair kernel: [ 933.794567] CIFS VFS: No response for cmd 50 mid 32900
May 1 10:33:48 eclair kernel: [ 935.721371] CIFS VFS: No response to cmd 46 mid 37294
[code]....
All shares mount and I can open them etc, but always those errors appear whenever I try and browse to it, read them etc. These shares are mount from a Windows 2003 Server and no other machine has a problem reading or writing to this machine. I have changed the network cable and network cards in both machines, with no success. If I copy a file from a local drive to a CIFS drive, the file on the CIFS drive becomes corrupted.
View 4 Replies
View Related
Jan 27, 2016
When I boot up, or come out of standby, etc, it takes about a minute for my Windows shares on Win 7 to show up under Network. Is there anything I can try that will make this initial connection faster? Either on Debian or the Win7 machine? I have the latest Debian vanilla. This is over wifi. My other devices list the shares right away.
View 1 Replies
View Related
Feb 13, 2010
I am trying to share files on my Windows XP Home machine over my P2P network to my Ubuntu netbook. The folder I wish to share is configured in Windows with public permissions. I go to the Files & Folders > Documents and then I click on Network in the Places tab. A Windows Network icon appears, but when I double click it I receive the error message, "Unable to mount location. Failed to retrieve share list from server."
View 2 Replies
View Related
Feb 27, 2010
I setup shares on a fresh install of Ubuntu 9.10 via the shared folders application from here: [URL]. The shares are visible on my vista laptop but when I go to open them I get an error "you might not have permission to use this network resource". I set the smbpswd to nothing via the method in the above article as well and my /etc/samba/smd.conf has the follow lines:
[300]
path = /media/Secondary Storage
available = yes
browsable = yes
public = yes
writable = no
[500]
path = /media/New Volume
available = yes
browsable = yes
public = yes
writable = no
View 7 Replies
View Related
Jul 9, 2010
Been trying to deal with this one for some time, and still not sure it's more or an issue on the Samba or Win 7 side.
Running Ubuntu 10.04 with Samba 3.4.7, using Windows clients from 2000 on up to access shares.
2000 and XP have no trouble both connecting initially to shares, but upon reboot the shares are disconnected and do not automatically reconnect unless one of them is double-clicked on. Passwords and mappings are saved such that Windows tries to reconnect upon restart. When manually reconnected in this way, shares remain open as they should. This isn't a big issue, but it would be preferable to have these shares reconnect so that links and shortcuts across the LAN work right from bootup.
The bigger issue is with Vista/Windows 7 - When shares are set up with appropriate passwords and such on the clients, they work as expected, until the client is rebooted. After signing into windows 2 things are observable:
- Black screen for 2-5 minutes before desktop appears
- error message appears when you try to double-click on a mapped share (even with a saved password) that the connection cannot be restored.
If you go into credentials manager and delete the saved password for the share(s) on the samba server, you are prompted for the password when you try to open any of the shares - reenter it and you're then fine until the next reboot.
There must be some issue with the persistence of the saved password, but not sure if this a Windows-side issue or not. Read some other info on this, and had to make the following changes earlier to even get Win 7 clients to connect to samba at all:
[URL]
It appears that when Win 7 starts up, it simply can't connect using the saved password, and the desktop doesn't come up until the reconnecting action(s) time out (if you disconnect your win 7 machine from the network the delay is not present).
It's not a game-breaker, but really annoying when rebooting having the delay and reentering the network share password(s).
View 9 Replies
View Related
Aug 17, 2010
After running updates earlier today, none of my Ubuntu-based computers can connect to any Windows shares in Nautilus.Samba is running and working fine; I can access the shares via web browser using smb://hostname, so I know it's not an issue with Samba not working.Also, the two Windows-based computers can see each others' shares, including printers.
View 3 Replies
View Related
Nov 9, 2010
when I try to access the shares from a Win98 laptop. The server name shows up in the Network Neighborhood (freaking childish names!) but when I double-click it, Win98 keeps asking me for the password for the \SHOPIPC$ connection. I have deleted the .pwl file on the Win98 and logged in using the same user/pass combination as I do on the Linux. On the Linux, I ran 'smbpasswd -a derek' and supplied my password.Windows XP sees the server just fine, but Windows 98 just does not want to play nice. Is there any thing that I can do to fix this without breaking the connection to the XP box or the Linux laptop?
View 9 Replies
View Related
Dec 20, 2010
I have a machine with Windows 7 Ultimate with several shared folders. Then I have VMWare with Ubuntu 10.10 as guest running. Samba runs in Ubuntu and in Windows, I can see the shared folders of the Ubuntu guest (read and write) as well. This morning I saw the shared folder of the Windows host and I could still open it manually in the Ubuntu guest. After this, I wanted to mount the folders permanently with fixed entries in the /etc/fstab. This failed and now I can't see the folders of the Windows host in the Ubuntu guest..
View 3 Replies
View Related
Mar 3, 2011
My computer running Ubuntu 10.10 cannot see the Samba shares on either of my two Windows XP machines. I have Samba installed and configured, I am on the correct workgroup. However, under "Network", there is only one item - Windows Network, which contains no workgroups. I am hosting a share on this Ubuntu PC, but I haven't had the time lately to see if I can view it from the Windows XP computers. If I click Connect to Server, and enter the IP Address of one of my XP computers, I can connect to them. However, if I enter the computer's name I get "Failed to retrieve share list from server" without a specific share, and with it I get "Failed to mount Windows share."
View 2 Replies
View Related
Dec 2, 2010
I am trying to access the files and directories that are on my Ubuntu 10.10 computer from my Windows 7 computer. Both are connected to the same wireless router. I have installed and uninstalled Samba and rebooted both computers several times.
View 9 Replies
View Related
Aug 2, 2011
I'd like to setup a drive on my Ubuntu Server (10.04.2 LTS) so two laptops running Windows 7 can read/write to it via the local network.
Can Windows read/write to ext2/3/4, or do I need to format the drive as NTFS?
View 2 Replies
View Related
May 28, 2011
I have three computers in my network, but two will be mentioned. Computer A is a Linux Mint 9/Windows 7 dual-boot, and I have just installed Mandriva Free 2010.2, which I will call Computer B.
Now my main problem is that Computer B, while it can see and access Computer A's shares as well as the third computer, the aforementioned computers cannot access Computer B. The message was: "Unable to mount location/Failed to mount Windows share." Now, the SMB protocol was used because of the third computer and Computer A have Windows OSs installed in them.
What I originally wanted was that I can share Computer B's NTFS partition, namely Documents and Downloads, to the other computers. And I can't do that, because of the error message.
What I can do, however, is use Computer B to view shares from the other two computers (Computer A, as an example). By my experiences in Linux Mint, I understand that I'd have to mount my Windows partitions in order to share them. I don't even know if my NTFS drive in Computer B is mounted, though that is what was described.
View 2 Replies
View Related
Jun 13, 2009
I'm just staring with fedora 11 and I want to know how to do the following:
1- Connect to windows shares on another PC.
2- Set these shares to be accessible in the Computer location at all times.
View 2 Replies
View Related