[SOLVED] Windows 7 Client Cannot Connect to Samba 3.6.3 on Ubuntu
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Windows 7 Client Cannot Connect to Samba 3.6.3 on Ubuntu
Hello, I am running Samba 3.6.3 on Ubuntu 12.04 to act as a sort of local file server here at home. Please review the configuration file below:
Code:
[global]
workgroup = test
server string = %h server (Samba, Ubuntu)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 100
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
encrypt passwords = yes
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
password program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n
*password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
[testshare]
comment = test share
browseable = yes
path = /testshare
read only = no
guest ok = no
create mask = 0700
directory mask = 0700
valid users = %S # I have tried commenting this
I have created local users testA and testB and added them to samba users with the smbpasswd utility. I am able to connect using these credentials with a Windows 2000 client, however when I try connecting with Windows 7 I either get "Access denied" or "the network name was not found."
Are you loggin in with already existing users? if so:
Try using a login name and password in only lowercase.
I have noticed issues before with Win7 and SMB with upper&lowercase usernames&passwords.
Besides that, i would say make sure that the "Home network groups" (no clue what this is in english) of Microsoft are off! Windows will not connect to a SMB if they are on.
Besides that, i would say make sure that the "Home network groups" (no clue what this is in english) of Microsoft are off! Windows will not connect to a SMB if they are on.
Where will I find this setting?
Quote:
Try to set security from user to share and restart samba. Now, does it work?
I have tried this to no avail. Here is the output from my Windows 7 command prompt - I am not mistyping the password.
Code:
C:\Users\anonymous>net use q: \\testbox\testshare
The password is invalid for \\testbox\testshare.
Enter the user name for 'testbox': anon
Enter the password for testbox:
System error 86 has occurred.
The specified network password is not correct.
C:\Users\anonymous>
Thanks for the support, guys. Your help is appreciated.
Last edited by 809areacode; 12-08-2012 at 10:40 AM.
Reason: Censoring information
I was able to connect to the share with security = share, but after rebooting the server I continue to get access denied or cannot find the network resource errors.
-- Additional info
I now continue to receive this error
Multiple connections to a server or shared resource by the same user, using more
than one user name, are not allowed. Disconnect all previous connections to the
server or shared resource and try again.
Last edited by 809areacode; 12-08-2012 at 12:19 PM.
Reason: Adding information
Network Center > Advanced Sharing Settings > Set Home Group Connections (bottom option normally) > use user accounts and passwords to connect
(see the attachment, retrieved from TechPowerUp.org)
Network Center > Advanced Sharing Settings > Set Home Group Connections (bottom option normally) > use user accounts and passwords to connect
(see the attachment, retrieved from TechPowerUp.org)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.