[Samba] Samba (CentOS) + Windows 7 Ultimate 64 = no login

phpMagpie phpmagpie at webbedit.co.uk
Tue Sep 6 10:25:28 MDT 2011


Hi,

I am trying to setup a CentOS staging server as part of my
development/testing setup.  CentOS is working fine and I'm able to connect
via SSH and HTTP without isssue.

I want directly edit code on the CentOS server from my main tower running
Windows 7 Ultimate 64bit but I'm struggling to authenticate a connection.

I'm at a point where Windows knows there is a share available but will not
accept the username/password.

Samba Version is 3.5.4-68.e16_0.2

Here is my /etc/samba/smb.conf:
[global]
workgroup = WEBBEDIT
netbios name = smbserver
security = SHARE
load printers = No
default service = global
path = /home
available = No
encrypt passwords = yes
[html]
writeable = yes
admin users = smbuser
path = /var/www/html
force user = root
valid users = smbuser
public = yes
available = yes

Here is the latest output from /var/log/messages:
Sep  6 17:08:58 localhost smbd[5204]: [2011/09/06 17:08:58.147181,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:08:58 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:08:58 localhost smbd[5204]: [2011/09/06 17:08:58.150044,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:08:58 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:08:58 localhost smbd[5204]: [2011/09/06 17:08:58.157827,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:08:58 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:08:58 localhost smbd[5204]: [2011/09/06 17:08:58.159508,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:08:58 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:08:58 localhost smbd[5204]: [2011/09/06 17:08:58.238650,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:08:58 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:08:58 localhost smbd[5204]: [2011/09/06 17:08:58.239990,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:08:58 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:08:58 localhost smbd[5204]: [2011/09/06 17:08:58.249908,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:08:58 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:08:58 localhost smbd[5204]: [2011/09/06 17:08:58.251297,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:08:58 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:08:58 localhost smbd[5204]: [2011/09/06 17:08:58.253695,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:08:58 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:08:58 localhost smbd[5204]: [2011/09/06 17:08:58.255188,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:08:58 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:08:58 localhost smbd[5204]: [2011/09/06 17:08:58.257566,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:08:58 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:08:58 localhost smbd[5204]: [2011/09/06 17:08:58.259104,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:08:58 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:08:58 localhost smbd[5204]: [2011/09/06 17:08:58.261438,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:08:58 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:08:58 localhost smbd[5204]: [2011/09/06 17:08:58.262970,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:08:58 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:08:58 localhost smbd[5204]: [2011/09/06 17:08:58.286836,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:08:58 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:09:07 localhost smbd[5204]: [2011/09/06 17:09:07.258120,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:09:07 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:09:08 localhost smbd[5204]: [2011/09/06 17:09:08.573976,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:09:08 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:09:09 localhost smbd[5204]: [2011/09/06 17:09:09.325989,  0]
smbd/password.c:857(authorise_login)
Sep  6 17:09:09 localhost smbd[5204]:   authorise_login: rejected invalid
user nobody
Sep  6 17:09:44 localhost smbd[5231]: [2011/09/06 17:09:44.016121,  0]
smbd/service.c:942(make_connection_snum)
Sep  6 17:09:44 localhost smbd[5231]:   Can't become connected user!

It seems that as I boot up windows it tries to make connections itself which
fail with 'authorise_login: rejected invalid user nobody' then when I try to
make a connection myself and supply a username and password I get 'Can't
become connected user!'

I got the conf contents from a blog which states those settings are very
open, so I am aware they should not be used on a publicly available machine. 
I opened up my Firewall hence why Windows is at least attempting to connect.

I've seen in various places mention of altering Local Security policies, but
they do not seem to have helped.

Could someone help me out here or direct me to a GOOD tutorial anywhere that
would guide me through this process from scratch?

Thanks, Paul.

--
View this message in context: http://samba.2283325.n4.nabble.com/Samba-CentOS-Windows-7-Ultimate-64-no-login-tp3793880p3793880.html
Sent from the Samba - General mailing list archive at Nabble.com.


More information about the samba mailing list