On 23.07.2022 21:02, Simon Becherer wrote:
Hi,
in a local network from tumbleweed, i must have one or two times a year (or less) access to a windows 98 system running at a mechanical machine (no way to update).
up to maybe last year (maybe the year before) this line was ok inside my automount file:
plasma_c -fstype=cifs,username=yyyyyyyy,password=xxxxxx,uid=1000,gid=100,vers=1.0,sec=lanman,servern=yyyyyyy ://192.168.0.4/C
i know sambafilesystem has disabled, oder meanwhile maybe drop unsecure lanman and maybe other things.
so i got a error:
kernel: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers kernel: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers kernel: bad security option: lanman kernel: CIFS: VFS: bad security option: lanman
is there a way to still access win98 from actual cifs/samba ????
man mount.cifs
say:
sec=arg Security mode. Allowed values are:
• none - attempt to connection as a null user (no name)
• krb5 - Use Kerberos version 5 authentication
• krb5i - Use Kerberos authentication and forcibly enable packet signing
• ntlm - Use NTLM password hashing
• ntlmi - Use NTLM password hashing and force packet signing
• ntlmv2 - Use NTLMv2 password hashing
• ntlmv2i - Use NTLMv2 password hashing and force packet signing
• ntlmssp - Use NTLMv2 password hashing encapsulated in Raw NTLMSSP message
• ntlmsspi - Use NTLMv2 password hashing encapsulated in Raw NTLMSSP message, and force packet signing
i tried ntlm:
kernel: bad security option: ntlm kernel: CIFS: VFS: bad security option: ntlm
I do not know what kernel version you are using, but
commit 76a3c92ec9e0668e4cd0e9ff1782eb68f61a179c
Author: Ronnie Sahlberg
then i tried none and i tried to do not use the "sec=...":
kernel: CIFS: Attempting to mount \\192.168.0.4\C kernel: CIFS: VFS: cifs_mount failed w/return code = -13
ok, this could be, because in wind98 a username and password is set.
did anybody know how to disable username and password in win98 (if this could work)
I guess that question is better asked on Microsoft forums
or get access to the win98 shared folder with actual cifs/samba with the username/password on the win98 side ?
Use smbclient?