Ubuntu Networking :: Windows 7 Not Reconnecting To Samba Shares?

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


ADVERTISEMENT

OpenSUSE Network :: Automatically Reconnecting Samba Shares (from Fstab)

Mar 16, 2010

Since OpenSuse 11.2 doesn't reconnect samba shares upon a resume from suspend, I wrote a small, ugly script to do so. It's placed in /etc/pm/sleep.d/66samba-remount

#!/bin/bash
case $1 in
hibernate)
echo "Hey guy, we are going to suspend to disk!"
/etc/init.d/smbfs stop ;;
suspend)
/etc/init.d/smbfs stop ;;
thaw)
echo "oh, suspend to disk is over, we are resuming..."
sleep 15
/etc/init.d/smbfs restart ;;
resume)
sleep 15
/etc/init.d/smbfs restart ;;
*) echo "somebody is calling me totally wrong." ;;
esac

and made it executable
(as root)
chmod +x /etc/pm/sleep.d/66samba-remount

The 15 seconds sleep time is useful to me to postpone the remount after WiFi is back online. Perhaps there are way more elegant ways to do so (check for x times if WiFi is on, for example), but I'm no good at bash, and this serves me well. How do I file a wishlist for 11.3? If someone puts a samba share in fstab, I'd assume he wants it connected mostly everytime (at startup for sure... so why not over a standby?) I hope 11.3 just reconnects in-fstab samba shares in a polished way, out of the box.

View 1 Replies View Related

Ubuntu Networking :: Using Samba Shares On Windows Vista

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

Networking :: Samba Server And Windows Shares

Jan 25, 2010

I have a problem with 'Samba' shares on Ubuntu 8.04. Bringing shared folders over from Windows (on another computer) is not a problem...until I try same process with a Windows backup folder holding .tib data from an 'Acronis' backup.The files appear in Ubuntu Network, everything looks o.k., Ubuntu just won't copy the data to another folder. Other shares work without a problem, its only with these ':.tib' data.

View 3 Replies View Related

Ubuntu Networking :: Samba Shares Used In Windows DFS Not Accessible To Remote Users

Feb 7, 2010

We have an existing Windows 2000 network that I am trying to add an Ubuntu 8.04 server to. I have put links into the windows domain DFS to the linux machine's samba shares.

The shares work fine for local users that are physically on the same network (192.168.0.X). Remote users from other offices or dialing in with a vpn client can not access the these particular folders off the DFS. However, they can map them directly from the ubuntu server.

View 5 Replies View Related

Ubuntu Networking :: Windows Browsing To Samba 3.4 Shares Freezes Randomly

Oct 8, 2010

I have an Ubuntu Server 9.10 box running Samba 3.4.0. It has 4 shares, one of which is a CIFS connection to an XP machine, another of which is a password protected share. All the shares work fine and well. However, lately the client has called to say that "everything's hanging and freezing" when they browse the shares via Windows Explorer (approximately 30+ PCs on network, variety of XP, Vista and 7 OSes).

Not all users always experience the problem, and I remote in to test when I hear this via an XP machine, and today for the fist time I also experienced this problem - browsing literally sticks and hangs. No entries in PC's eventviewer. They are running on Netgear switches, all the same age, a couple of months old. A simple reboot and and everything's fine again for an indeterminable time, then I get another phonecall and an unhappy client on the end!

View 9 Replies View Related

Networking :: Samba Client Accessing Windows Shares On Secondary Subnet

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

CentOS 5 :: Windows XP And Windows 7 Cannot Access SAMBA Shares?

Jan 27, 2011

I have setup CentOS 5.5 with SAMBA 3, configured all my Unix users, Samba users and shares. My server hostname is REL3

[root@REL3 ~]# smbclient -L REL3
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.33-3.29.el5_5.1]

[code]....

View 16 Replies View Related

Ubuntu Installation :: Setting Up Windows Shares - Samba Not Available

Jan 5, 2010

Fairly new to Karmic - wanting to setup some Windows Shares on an external Hard drive. I understand that I need to install Samba to do this but when I try to install it I get the following message:-

pat@CCBC-13112:~$ sudo apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package samba is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
However the following packages replace it:
samba-common-bin smbclient samba-common
E: Package samba has no installation candidate

View 2 Replies View Related

Ubuntu :: Samba Sees But Does Not Conect To Windows Shares

Apr 5, 2010

I am using Ubuntu 9.1 and want to connect to my other computer (win 7) on my home network. I installed Samba...and it sees the 'windows network'...then it sees the pc I want to connect to, but when I try to dbl click on its name, I get 'unable to mount location, failed to retrieve share list from server'. There are at least 8 publicly shared folders on that PC that other Windows pc's can connect to without problem.

View 4 Replies View Related

Server :: Cant Access Samba Shares In Ubuntu 10.04 From Windows

Jul 7, 2010

So I setup the newest Ubuntu on my old desktop on a 30g HD and have 2 200G HDs with a ntfs file system on those two. I got SSH and FTP configured, then went on to setup Samba.I have it (seemingly) set up well. /dev/sb1 gets mounted on /data1 /dev/sc1 gets mounted on /data2.I want anyone connected to my router to be able to see this machine and be able to read and write to both shares.

I configured WINS on my laptop to point to the linux box. and i've seen the pc in question (TECH-PC) in "My Network Places" on both of our laptops.Long story short, I try to connect to my network share and it says i don't have permission and i need to contact my network admin. This computer is the only one with Linux installed, the rest are windows-OS.Let me know if you need more info, pretty stumped here, have searched, read, scrapped my install and started from scratch, maybe i need to sleep on it

View 5 Replies View Related

General :: Cannot Log In To Samba Shares On Windows From Different Domain

Sep 2, 2011

I'm trying to connect to a Samba share on a VirtualBox'ed Windows 7 that is connected to an openSUSE host in bridged mode. For reasons beyond my comprehension I cannot use the shared folders feature, so I'm using Samba instead. I configured a share through openSUSE's Samba server configuration tool:

[iTunes]
inherit acls = Yes
path = /home/myusername/iTunes
read only = No
valid users = myusername

I also set a password for this user using smbpasswd -a myusername. I can go to smb://192.168.1.6 on the host machine and log in to the share successfully, but on Windows 7 I see this: What am I doing wrong? I can connect to the shares list without any problems. It's just the login that doesn't work.

Update: I noticed that my Samba server is part of the WORKGROUP domain.

Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64]
Sharename Type

[code]....

View 2 Replies View Related

Server :: Samba Not Seeing Windows 7 Shares / What To Show?

Jun 28, 2010

As the subjects states, I cannot see my windows 7 shares from any of my *nix computers. I tend to over complicate things and I may do so here, but I want to try and be as thorough as possible in explaining the situation. I'll state w/ the basic layout of my lan code...

View 7 Replies View Related

Server :: Windows 7 Acting Up With Samba Shares

Aug 23, 2010

We have a samba server with a couple of shares defined as follows:

Code:
[Storage]
comment = Storage
browseable = yes
path = /home/samba
writable = yes

[Backup]
comment = Backup
browseable = yes
path = /mnt/hd2/home/samba
writable = no

[Administration]
comment = Administration
path = /home/adm
valid users = adm
public = no
writeable = yes
browseable = no

We have two samba users: samba and adm. The first is used to connect to Storage and Backup shares, and adm is used to connect to Administration share. There are two problems:

1) If Storage and Backup shares are connected to a Win7 box, the Administration share cannot be connected. All we get is an error saying that that share is already connected with different username.
2) We have managed to work around this by connecting the Administration share with the IP-address of the server instead of it's name(?!). The problem then becomes that sometimes connecting Administration share this way makes Storage share read-only. Not always though.

Wrong "security" type in smb.conf (was "user", needs to be "share"). For some reason the Storage share still occasionally gets connected read-only. Win7 also tends to forget the passwords/usernames for some shares upon reboot (not all of them, though).

View 1 Replies View Related

Ubuntu Servers :: Couple Of Samba Shares Not Accessible From Windows?

Jan 28, 2011

I am running Ubuntu 10.10 and have 5 shares that I have setup for Samba (assume names of share1, ..., share5). I find that shares(2,3,4) are accessible from my MS Windows system, but the share1 and share5 are listed but Windows gives an error accessing them that I may not have permissions.I have reviewed the sharesve the same owner, group, and permissions.Is this a known Samba bug or configuration issue? I have gone through the smb.conf file multiple times as well as examining the directories and do not see what the issue might be.

View 9 Replies View Related

Fedora :: Samba Shares Not Appearing In Some Nautilus Windows

Nov 23, 2010

I am in the process of migrating my small workplace to a basic spin i've created of f14. Everything is suave but some file browser windows eg: file upload in gmail, hotmail etc, does not show my samba shortcuts i've created nor even the option to browse the network in the "places" section. It shows other locally created shortcuts but no samba ones. Just to test it, even creating an ftp:// shoftcut yeilds no dice. I had a quick search through the forums and I couldn't find anything. I have a feeling this has an easy solution that my inferior brain cannot comprehend! Loving F14 on my macbook pro and so are my employees in my office! Feels much less bloated than Ubuntu IMHO.

View 2 Replies View Related

OpenSUSE Network :: Does Not Finds Shares - Samba - Windows Ok

Oct 14, 2010

I can't for the life of me figure out why I cannot browse my own shares from my linux boxes. both run OpenSuSE 11.3 I follow swerdna's tutorials and reboot several times but don't have a clue as to whats going on to prevent me from viewing localhost shares or 2nd linux box shares. I get 'unable to mount location, Failed to retrieve share list from server' error when I click on my workgroup icon in nautilus.

View 7 Replies View Related

Fedora Servers :: Samba Shares And Windows Vista - Cannot Authenticate

May 22, 2009

I had an older fedora box (I think it was Core 3) that acted as my file server in my small network (4). It worked fine when I had all XP clients connecting to it. Recently we decided to get all new computers. So now I have a fedora 10 box acting as my file/print server and all Vista Home premium computers as the clients. For the life of me I can not get samba to work. When I try to map the network drives on windows it will not let me authenticate. I install swat and try it that way, still no luck. Here is a copy of my smb.conf file:

Code:
# Samba config file created using SWAT
# from UNKNOWN
# Date: 2009/05/19 21:47:31

[global]
workgroup = AIVILANET
server string = Bighat Samba Server
interfaces = eth0
null passwords = Yes
smb passwd file = /etc/samba/smbpasswd
passdb backend = tdbsam
username map = /etc/samba/smbusers
syslog only = Yes
announce version = 5.0
name resolve order = hosts wins bcast
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = CUPS
wins support = Yes

[HP-LaserJet-1200]
comment = HP LaserJet 1200
path = /var/spool/samba
read only = No
printable = Yes
printer name = HP-LaserJet-1200
oplocks = No
share modes = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[home]
path = /home/savona/
username = savona
valid users = @Users
admin users = savona
write list = savona
force user = savona
force group = savona
read only = No
hosts allow = 10.0.0.2

View 8 Replies View Related

OpenSUSE Network :: SAMBA: Can Mount Windows Shares But They Are Read-only

Apr 1, 2010

I am using the mount command to mount Windows shared folders are another machine on my LAN, to have them show up in the Linux filesystem. The command mounts the folders just fine, however the access is read-only.

In the command, I am also using the -o option to specify a username and password that should have full access. Also, I have used this identical command on my other distros and it seems to work fine. I've Googled high and low, trying to find a way to specify a Samba user/password for authentication. I know one of the other distros had a program that I could specify a Samba user/password to simulate a Windows login.

View 6 Replies View Related

General :: How To Mount SAMBA Shares With Windows 95 4.0 Running With QEMU?

Feb 12, 2011

I am encountering this difficulty. I have no networking onto windows 95 4.0 which in on the linux ubuntu machine. Windows 95 4.0 has no networking..

View 4 Replies View Related

Server :: Samba - Setting Up Shares For Windows Machine On CentOS?

May 10, 2010

Can anyone point me in the direction of setting up shares for windows machines on centos. I have found a few document but never managed to get it up and running correctly. I need to be able to get access to subfolder etc for different users. Is there any way of doing it with some sort of gui?

View 2 Replies View Related

General :: Administration - Managing SAMBA Shares And Giving User Specific Access For The Shares

Jul 28, 2010

I am working as a Linux administrator in a very small data centre with 5 servers with following routine tasks.

1. Managing SAMBA shares and giving user specific access for the shares.
2. Scheduling backup of some mount points with rsycn to store data in remote hard disk
3. User and group administration, with sudo access.
4. Creating and Managing Xen Virtual machines and giving access to other project teams.
5. Automating some tasks with Shell Scripting.
6. Managing FTP server for user uploads.

I have practiced a lot in my home laptop without RHEL training, Cleared RHCE and LPIC1. I want to do some advanced system admin tasks, but do not have option in my current data centre. With Above skills is it possible to get a job ?

View 9 Replies View Related

Ubuntu Networking :: 10.04 Can't See Shares On 9.10 Samba Server?

May 10, 2010

I have an Ubuntu 9.10 Samba file server. I have set up Ubuntu 10.04 netbook remix in a home network which also has Windows XP home and Vista computers already present in the network. The XP and Vista machines have no problem accessing the file shares.

The server is running mhddfs with FlexRaid. The security is set to share level access. I have a hosts allow line in the smb.conf file to permit access to certain IP addresses and have added the 10.04 netbook remix IP address to this hosts allow line.

I cannot access shares from the 10.04netbook remix machine if the hosts allow line is active, but have no problem from the windows machines. If i comment out the hosts allow line, all machines can access the share, including the netbook remix machine. I am fairly new to Linux and would appreciate any help in solving this problem.

View 1 Replies View Related

Ubuntu Networking :: Samba Shares Not Accessible On OSX?

Apr 26, 2011

I have setup Samba shares on my Ubuntu 10.10 and assigned different different username and password combination for each share.

The sharing works perfectly fine on all the Windows machines but it does not work on OSX. When I try to connect using OSX, it ends up showing waiting icon (screenshot attached) after entering username and password. (It asks for the login details after selecting the share from the list)

Following is my smb file content:

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 8 Replies View Related

Ubuntu Networking :: Cant Access Samba Shares?

May 31, 2011

find that i cant access from my ubuntu box (desktop), now running 11.04 (i was able to access yesterday, when i tested the config). I CAN access from my XP and Win7 virtualboxes.and also from another win7 on the house.. So server is working good aparently.This is all i modified from the default config file:

Code:
####### Authentication #######
# "security = user" is always a good idea. This will require a Unix account

[code]....

View 1 Replies View Related

Software :: When Copy Files Between Two Samba Shares From Windows Machine \ Copies The File Through PC To The New Destination?

Apr 17, 2011

I recently replaced my windows fileserver with one running Ubuntu. One thing I've noticed (which is a annoying) is that when I copy files between two samba shares from my windows machine, it copies the file through my PC to the new destination. On windows shares it just did some sort of local copy (ie it took about 2 seconds) rather than 3-4 minutes. Is this the normal behaviour, is there any way around it on Linux

View 5 Replies View Related

Ubuntu Networking :: Samba Shares Not Visible On The Network?

Jan 24, 2010

I'm trying to share some folders over the network, but the shared folders are not visible on another computer. This is through double clicking my computer from the Network list in Nautilus. However, I can access the share by typing the full address(<computer name>/<share name>) in "File > Connect to Server...".Since I can't type the address manually from my blu-ray drive, I need to get the shares to show on the network. What is wrong with my settings?

View 2 Replies View Related

Ubuntu Networking :: Cant See Samba Shares After Changing IP Addresses?

Feb 27, 2010

i have a file server running kubuntu and samba, when i plugged it into a different router, the router assigned it a different IP address (as I expected - its using DHCP) - but the old router was supplying 192.168.1.x type IP's and now the new router is suppliing 10.0.0.x type addresses.I now cannt see the samba shares on the file server.the computers can ping each other and they have working connections to the internet

View 1 Replies View Related

Ubuntu Networking :: Set A Storage Quota For Samba Shares?

Mar 19, 2010

Is there a way I can set a storage quota for samba shares, so that way a user can only store up to 2gb of data in a certain share?

View 4 Replies View Related

Ubuntu Networking :: Can No Longer View Samba Shares

Mar 22, 2010

I use Ubuntu 9.10 on my laptop and Vista Premium on my two desktops. Until recently I was able to view and access my document files on my desktop from within Ubuntu. I can no longer do so.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved