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.
TAKAHASHI Motonobu
2011-Sep-06 16:40 UTC
[Samba] Samba (CentOS) + Windows 7 Ultimate 64 = no login
From: phpMagpie <phpmagpie at webbedit.co.uk> Date: Tue, 6 Sep 2011 09:25:28 -0700 (PDT) (snip)> 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 = yesHow do you want to configure? Your smb.conf is something inconsistent. If you want to access the share without password, try: [global] workgroup = WEBBEDIT netbios name = smbserver security = SHARE [html] writeable = yes public = yes path = /var/www/html Anyway, "security = share" will be obsolated, and is not recommended. --- TAKAHASHI Motonobu <monyo at samba.gr.jp>
I am happy to do away with my configuration and use something more conventional. Can you point me in the direction of a good tutorial? All I want is to have full access to /var/www/html on my CentOS box from my Windows 7 machine. I am just as happy to do away with the password requirement as this is only ro be used on my small internal network. Thanks again, Paul. -- View this message in context: http://samba.2283325.n4.nabble.com/Samba-CentOS-Windows-7-Ultimate-64-no-login-tp3793880p3794189.html Sent from the Samba - General mailing list archive at Nabble.com.
Possibly Parallel Threads
- Ajax.Updater on a select list not updating correctly in IE7 (fine in FireFox)
- problem logging on to samba domain (pdc) from a win xp workstation
- AW: problem logging on to samba domain (pdc) from a win xp workstation
- Samba maps any user to nobody -> problem logging on to samba domain (pdc) from a win xp workstation
- W2k no longer has Trust to samba pdc