Quote Originally Posted by VaxCavalera View Post
Hello,

I tried to configure samba which goes with oleg's firmware to be available to use security = user - no luck because /etc/smb.conf not saved with flashfs. so i turned it off inside interface and installed xinetd + samba2

I added users into system, into smbpasswd, choosed on SWAT security = user
smbpasswd on place, users on place. share on place. But it doesn't work. Trying to reach from Windows machine and sometimes it asks for password. I put pass and it says wrong pass. Sometimes it says not accessable share at all.

On security = share no problem at all. Can somebody guide me how to install it with ability to share between users by password only?

Logs shows:
------------------
[2009/12/12 02:28:21, 5] source/passdb/pdb_smbpasswd.c:getsmbfilepwent(438)
getsmbfilepwent: returning passwd entry for user admin, uid 0
[2009/12/12 02:28:21, 7] source/passdb/pdb_smbpasswd.c:endsmbfilepwent(258)
endsmbfilepwent_internal: closed password file.
[2009/12/12 02:28:21, 4] source/lib/substitute.c:automount_server(183)
Home server: wl-golnet
[2009/12/12 02:28:21, 4] source/lib/substitute.c:automount_server(183)
Home server: wl-golnet
[2009/12/12 02:28:21, 4] source/smbd/password.c:smb_password_ok(475)
smb_password_ok: Checking SMB password for user admin
[2009/12/12 02:28:21, 5] source/smbd/password.c:smb_password_ok(489)
smb_password_ok: challenge received
[2009/12/12 02:28:21, 4] source/smbd/password.c:smb_password_ok(499)
smb_password_ok: Checking NT MD4 password
[2009/12/12 02:28:21, 4] source/smbd/password.c:smb_password_ok(504)
smb_password_ok: NT MD4 password check failed
[2009/12/12 02:28:21, 4] source/smbd/password.c:smb_password_ok(518)
smb_password_ok: Checking LM password
[2009/12/12 02:28:21, 4] source/smbd/password.c:smb_password_ok(523)
smb_password_ok: LM password check failed
[2009/12/12 02:28:21, 2] source/smbd/password.cass_check_smb(575)
pass_check_smb failed - invalid password for user [admin]
[2009/12/12 02:28:21, 1] source/smbd/reply.c:reply_sesssetup_and_X(1023)
Rejecting user 'admin': authentication failed
[2009/12/12 02:28:21, 3] source/smbd/error.c:error_packet(94)
error string = No such file or directory
[2009/12/12 02:28:21, 3] source/smbd/error.c:error_packet(113)
error packet at source/smbd/reply.c(1025) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE
[2009/12/12 02:28:21, 5] source/lib/util.c:show_msg(275)
------------------

Thanks in advance,
Serguei
I have found decision on http://wl500g.info/showthread.php?t=...access+problem

decision is:

1) If any of you are having problems with Vista logon to NAS devices running Samba, try:
Run secpol.msc
Go to: Local Policies > Security Options

Find "Network Security: LAN Manager authentication level"
Change Setting from "Send NTLMv2 response only"
to
"Send LM & NTLM - use NTLMv2 session security if negotiated"
Vista defaults to only send the more secure NTLMv2 protocol, which these NAS devices / Samba do not support.

2) If you're running a version of Vista that cannot use secpol.msc, you can edit the registry instead. Just change the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Lsa\LMCompatibilityLevel from a 3 to a 1.

Kewl it works now! Thanks my beloved forum