In older versions of Debian I used to be able to pass sec=ntlm,vers=1.0 as options to mount.cifs (and fstab) and it would allow me to mount my shared disk from my AirPort Extreme.

In Bookworm, due to the bundled kernel version, I am now told ntlm is a bad security option. If I try to use ntlmssp, I am told Unable to select appropriate authentication method!. If I use ntlmv2 or remove the sec option, I get Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE.

Funny thing is, if I use smbclient, I can browse my shared drive just fine.

Using a newer version of Samba protocol is not an option since Apple gave up on their products just like Linux gave up on ntlm.

Aside of throwing everything out the window, what can I do to get this working on Bookworm?

Edit: I gave up. Because the maintainers of the kernel decided to remove ntlm support, the only option I had was to downgrade to buster, as it was the last distro to use a pre-6 kernel. Suffice it to say, I’m very disappointed; both in Apple for abandoning their Airport’s to use SMBv1, and the kernel devs for further eroding Airport support by removing ntlm. Yes, I get ntlm “bad” (both from an FOSS and security standpoint), but it’s still disappointing to be punished simply because I do not wish to litter the landfill with still useful hardware (nor do I wish to spend more money on something I shouldn’t need). Anyway, /rant over.