The client 98 does not work (samba)

opensuse 11.0 samba 3.2.3.01
The client windows 98 does not work.
Message: incorrect password.
The client xp and w2003 work.
The client xp works with login and password w98.:frowning:
The computer w98 works with fedora core6. samba 3.0.26a

What is the problem?>:(

smb.conf
[global]
workgroup = WORK
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
logon path = \%L\profiles.msprofile
logon home = \%L%U.9xprofile
logon drive = P:
usershare allow guests = Yes
netbios name = f-tower
usershare max shares = 100
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

passdb backend = smbpasswd

security = user
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

[test]
comment = testi
inherit acls = Yes
path = /srv/smb/buhg
read only = No

Sometimes the first name added to the encrypted database is rejected because to that point in time the database didn’t exist.
Check in smbpasswd file that the credentials sent from windows 98 exist in the smbpasswd database. Use pdbedit -L to list usernames, looking for win98_name (or whatever) and re-add the password with smbpasswd -a win98_name

[Chapter 3] Configuring Windows Clients](http://oreilly.com/catalog/samba/chapter/book/ch03_01.html)

pdbedit -L
root:0:root
arhiv:1006:arhiv
bark:557:bark

arhiv client windows98

smbclient //f-tower/test -Uarhiv%123

smb: > dir
. D 0 Wed Mar 12 13:12:39 2008
… D 0 Thu Sep 4 12:28:04 2008

53135 blocks of size 4194304. 9193 blocks available

smb: >
smb: >

albag318 wrote:

>
> pdbedit -L
> root:0:root
> arhiv:1006:arhiv
> bark:557:bark
>
> arhiv client windows98
>
> smbclient //f-tower/test -Uarhiv%123
>
> smb: > dir
> . D 0 Wed Mar 12 13:12:39
> 2008
> . D 0 Thu Sep 4 12:28:04
> 2008
>
> 53135 blocks of size 4194304. 9193 blocks available
> smb: >
> smb: >
>
>
Windows9X uses LANMAN password hash. Try adding to your /etc/smb.conf global
section the following:

lanman auth = yes
client lanman auth = yes

The defaults on these changed to no with Samba 3.2.0

P. V.
Cogito cogito ergo cogito sum.

Does not work.
incorrect password.
smb.conf
[global]
workgroup = WORK
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
logon path = \%L\profiles.msprofile
logon home = \%L%U.9xprofile
logon drive = P:
usershare allow guests = Yes
netbios name = f-tower
usershare max shares = 100
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
security = user
log file = /var/log/samba/workstations/%m.log
debug level = 3
local master = yes
domain master = yes
ntlm auth = yes
nt pipe support = yes
lanman auth = yes
client lanman auth = yes
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[test]
comment = testi
inherit acls = Yes
path = /srv/smb/buhg
read only = No

Log:

auth.c:check_ntlm_password(220)
check_ntlm_password: Checking password for unmapped user [WORK][ARHIV]@[arhiv] with the new password interface
auth.c:check_ntlm_password(223)
check_ntlm_password: mapped user is: [F-TOWER][ARHIV]@[arhiv]
[2008/09/08 07:06:31, 3] libsmb/ntlm_check.c:ntlm_password_check(373)
ntlm_password_check: NO LanMan password set for user arhiv (and no NT password supplied)
[2008/09/08 07:06:31, 3] libsmb/ntlm_check.c:ntlm_password_check(457)
ntlm_password_check: LM password, NT MD4 password in LM field and LMv2 failed for user arhiv
[2008/09/08 07:06:31, 2] auth/auth.c:check_ntlm_password(318)
check_ntlm_password: Authentication for user [ARHIV] -> [ARHIV] FAILED with error NT_STATUS_WRONG_PASSWORD
[2008/09/08 07:06:31, 3] smbd/error.c:error_packet_set(80)
error packet at smbd/sesssetup.c(1725) cmd=115 (SMBsesssetupX) eclass=1 ecode=5
[2008/09/08 07:06:31, 3] smbd/

albag318 wrote:

>
> DOES NOT WORK.
> incorrect password.
> SMB.CONF
> [global]
> workgroup = WORK
> printing = cups
> printcap name = cups
> printcap cache time = 750
> cups options = raw
> map to guest = Bad User
> logon path = \%L\profiles.msprofile
> logon home = \%L%U.9xprofile
> logon drive = P:
> usershare allow guests = Yes
> netbios name = f-tower
> usershare max shares = 100
> encrypt passwords = yes
> smb passwd file = /etc/samba/smbpasswd
> security = user
> log file = /var/log/samba/workstations/%m.log
> debug level = 3
> local master = yes
> domain master = yes
> ntlm auth = yes
> nt pipe support = yes
> lanman auth = yes
> client lanman auth = yes
> [homes]
> comment = Home Directories
> valid users = %S, %D%w%S
> browseable = No
> read only = No
> inherit acls = Yes
> [profiles]
> comment = Network Profiles Service
> path = %H
> read only = No
> store dos attributes = Yes
> create mask = 0600
> directory mask = 0700
> [users]
> comment = All users
> path = /home
> read only = No
> inherit acls = Yes
> veto files = /aquota.user/groups/shares/
> [groups]
> comment = All groups
> path = /home/groups
> read only = No
> inherit acls = Yes
> [printers]
> comment = All Printers
> path = /var/tmp
> printable = Yes
> create mask = 0600
> browseable = No
> [print$]
> comment = Printer Drivers
> path = /var/lib/samba/drivers
> write list = @ntadmin root
> force group = ntadmin
> create mask = 0664
> directory mask = 0775
> [test]
> comment = testi
> inherit acls = Yes
> path = /srv/smb/buhg
> read only = No
>
> LOG:
>
> auth.c:check_ntlm_password(220)
> check_ntlm_password: Checking password for unmapped user
> [WORK][ARHIV]@[arhiv] with the new password interface
> auth.c:check_ntlm_password(223)
> check_ntlm_password: mapped user is: [F-TOWER][ARHIV]@[arhiv]
> [2008/09/08 07:06:31, 3] libsmb/ntlm_check.c:ntlm_password_check(373)
> ntlm_password_check: NO LanMan password set for user arhiv (and no NT
> password supplied)
> [2008/09/08 07:06:31, 3] libsmb/ntlm_check.c:ntlm_password_check(457)
> ntlm_password_check: LM password, NT MD4 password in LM field and
> LMv2 failed for user arhiv
> [2008/09/08 07:06:31, 2] auth/auth.c:check_ntlm_password(318)
> check_ntlm_password: Authentication for user [ARHIV] -> [ARHIV]
> FAILED with error NT_STATUS_WRONG_PASSWORD
> [2008/09/08 07:06:31, 3] smbd/error.c:error_packet_set(80)
> error packet at smbd/sesssetup.c(1725) cmd=115 (SMBsesssetupX)
> eclass=1 ecode=5
> [2008/09/08 07:06:31, 3] smbd/
>
>
Have you restarted Samba since adding the Lanman parameters? Have you added
ARHIV to the Samba users with:
smbpasswd -a ARHIV (run as root)?

P. V.
Cogito cogito ergo cogito sum.

It works.
After restart samba it is obligatory restart client.???
Key command:
smbpasswd -a ARHIV

Ok! Thanks!