Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-14 Thread Winfried
No, but I finally found the issue: I was using an older version of the OS instead of checking if a new version was available :-/ The latest worked right away after downloading and activating the Samba module. I should have checked that, first thing. Then, all I needed to share files with any user

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-11 Thread Winfried
Thanks but still no go :-/ At this point, I can see the server (Looks like netbios name is required, while I assumed its absence would have Samba use the Unix hostname), but when I use c:\net view \\linux, I get the familiar error 5 Access denied. Samba still seems to not ignore the Windows

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-11 Thread Winfried
Started over by removing the Windows host from the equation, and connecting to Samba from within the server. === # cat smb.conf [global] workgroup = WORKGROUP security = SHARE [Plans] path = /plans read only = Yes guest ok = Yes === #

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-11 Thread Rowland Penny
On 11/10/13 11:39, Winfried wrote: Started over by removing the Windows host from the equation, and connecting to Samba from within the server. === # cat smb.conf [global] workgroup = WORKGROUP security = SHARE [Plans] path = /plans read only = Yes guest ok = Yes

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-11 Thread Winfried
Doesn't work on my host. # cat /etc/samba/smb.conf [global] workgroup = WORKGROUP encrypt passwords = yes log level = 2 guest account = nobody security = user map to guest = Bad User [test] path = /tmp browsable = yes read only = yes guest ok = yes # pdbedit -L nobody:99:nobody # smbpasswd -x

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-11 Thread Rowland Penny
On 11/10/13 13:10, Winfried wrote: Doesn't work on my host. On my samba 3.6.3 server # cat /etc/samba/smb.conf [global] workgroup = WORKGROUP encrypt passwords = yes log level = 2 guest account = nobody security = user map to guest = Bad User [test] path = /tmp browsable = yes read only = yes

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-11 Thread Winfried
Changing to log level = 3 shows this: ... Transaction 3 of length 132 (0 toread) [2013/10/11 14:35:26.670629, 3] smbd/process.c:1467(switch_message) switch message SMBtrans (pid 3767) conn 0xb7c0cf78 [2013/10/11 14:35:26.672412, 3] smbd/service.c:190(set_current_service) chdir (/tmp)

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-11 Thread Rowland Penny
On 11/10/13 13:58, Winfried wrote: Changing to log level = 3 shows this: ... Transaction 3 of length 132 (0 toread) [2013/10/11 14:35:26.670629, 3] smbd/process.c:1467(switch_message) switch message SMBtrans (pid 3767) conn 0xb7c0cf78 [2013/10/11 14:35:26.672412, 3]

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-11 Thread Rowland Penny
On 11/10/13 13:58, Winfried wrote: Changing to log level = 3 shows this: ... Transaction 3 of length 132 (0 toread) [2013/10/11 14:35:26.670629, 3] smbd/process.c:1467(switch_message) switch message SMBtrans (pid 3767) conn 0xb7c0cf78 [2013/10/11 14:35:26.672412, 3]

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-11 Thread Winfried
After editing smb.conf, I always run /etc/rc.d/rc.samba restart. The host isn't running a firewall, and the error message mentions /tmp instead of /plans, so chmod 777 /plans did nothing: chdir (/tmp) failed, reason: Permission denied I don't know if it means anything, but the host is running

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-11 Thread Rowland Penny
On 11/10/13 15:05, Winfried wrote: After editing smb.conf, I always run /etc/rc.d/rc.samba restart. The host isn't running a firewall, and the error message mentions /tmp instead of /plans, so chmod 777 /plans did nothing: chdir (/tmp) failed, reason: Permission denied I don't know if it means

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-10 Thread Winfried
A bit of progress: 1. security = user : doesn't switch from fred to nobody, so it can't work since the user isn't mapped to nobody. 2. security = share : switches from fred to nobody, but Access Denied: code check_ntlm_password: Authentication for user [nobody] - [nobody] FAILED with error

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-09 Thread Rowland Penny
On 08/10/13 12:09, Winfried wrote: By editing log level to 2, log.smbd nows says Authentication for user [fred] - FAILED with error NT_STATUS_NO_SUCH_USER. I read that Samba is able to share files with anonymous users, where all users will be treated as nobody: If this indeed possible, what do

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-09 Thread Winfried
Thanks for the help. One thing that isn't clear from what I read on the Net, is whether it is required to create a user in Samba or if an entry in /etc/passwd is enough to grant access: Several documents use the nobody account which is already part of /etc/passwd by default, so I didn't

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-09 Thread Rowland Penny
On 09/10/13 15:15, Winfried wrote: Thanks for the help. One thing that isn't clear from what I read on the Net, is whether it is required to create a user in Samba or if an entry in /etc/passwd is enough to grant access: Several documents use the nobody account which is already part of

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-09 Thread Winfried
Thanks for the tip. However, I read that /etc/passwd only contains hashes and not the actual passwords, which is why Samba requires adding users to its own database. Could you share your smb.conf so I see what it looks like when only relying on entries from /etc/passwd and not prompting Windows

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-09 Thread Rowland Penny
On 09/10/13 16:20, Winfried wrote: Thanks for the tip. However, I read that /etc/passwd only contains hashes and not the actual passwords, which is why Samba requires adding users to its own database. Could you share your smb.conf so I see what it looks like when only relying on entries from

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-08 Thread Winfried
Thanks for the help. The nobody account was available by default in /etc/passwd. This is for a home setup, and don't have a Windows7 to test. Some feedback: 1. After adding security = user to the [global] section, killing and restarting smbd/nmbd, XP still returns System error 1326 Logon

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-08 Thread Winfried
By editing log level to 2, log.smbd nows says Authentication for user [fred] - FAILED with error NT_STATUS_NO_SUCH_USER. I read that Samba is able to share files with anonymous users, where all users will be treated as nobody: If this indeed possible, what do I need to do? Here's my smb.conf at

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-08 Thread Dale Schroeder
Here's the official wiki page: http://wiki.samba.org/index.php/Public_Samba_Server It looks like you've done what the page says. If that is the case, then you will have to look for some other oddity. Dale On 10/08/2013 6:09 AM, Winfried wrote: By editing log level to 2, log.smbd nows

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-07 Thread Gaiseric Vandal
Does the unix level nobody account exist? Does it work with Win 7 clients? On 10/07/13 11:08, Winfried wrote: Hello I've googled and experimented for the past few hours but am still stuck trying to simply share a temporary directory in read-only with anyone on the LAN. Here's the

Re: [Samba] [3.6.8] XP fails with error 1326

2013-10-07 Thread Rowland Penny
On 07/10/13 16:08, Winfried wrote: Hello I've googled and experimented for the past few hours but am still stuck trying to simply share a temporary directory in read-only with anyone on the LAN. Here's the smb.conf I'm using: == /etc/samba# cat smb.conf [global]