Mounted HDD wants a certificate

Hi, Im using a Fritzbox 4040 with OpenWrt 22.03.2 r19803. I mounted a external HDD and installes all samba4 software for the system from the luci system folder. I crated a user, set a password, named Devide and path etc.

After all when I want to connect to Windows explorer I got this:

These are my settings:


sambashare

I followed serval tutorial to get until here. but in non of them, is taht issue.

Somebody hase an idea?
Chatgpt told me it has somthing to do with http, or https? in my home network?!

Thanks you

you should upgrade, that release is out of support.

what's the FS on the drive ?
is it by any chance encrypted ?
did it mount successfully on openwrt, and can you browse it from the router ?

please post config as text, not screen shots, use the </> button when you do.

chatgpt is mostly an idiot.

This is not an OpenWrt but a Windows problem. There seem to be several causes for it, from stored stale credentials to a missing default client. You'll probably have to search the web for solutions and see for yourself which one works, there's not much help we can offer to fix your Windows client machine.

2 Likes

You can install wsdd2 it will show up under network
and will work with ipv6 & ipv4

you are using user Master
I would remove user Master as a test
if it works it's the setup of user Master

you can enable Guest access in windows with
i recommend this as the diagnostic temporary test
and you can change it back later to /d 0x0 if needed

Echo Guest Access
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 0x1 /f

if there is a fault the correct way to setup user Master via SSH

opkg update
opkg install shadow-useradd
opkg install samba4-utils
useradd Master
echo -e "password\npassword" | (passwd Master)
echo -e "passwordaml\npassword" | (smbpasswd -a Master)

last 2 lines can be manual as

passwd Master
smbpasswd -a Master

Oh, wow.

Thanks for your quick responde. Didnt expect that much and multiple resolution advices.

  1. frolic.
    Ill upgrade! Promised!
    These three partitions detected automatically (NTFS)
    For when I connect the HDD to my Pc directly via UsB i can access it. So its not encrypeted, nor I encrypted it anytimes.
    So the third question, brung up a surprise for me. I can access the HDD´s via SSH on the router directly without any isses!

And Ill paste code directly next time. 4.

  1. takimata, you´ll be right. Like I wrote above the HDD is accessable from terminal on router directly. Ty for your reply.

  2. Now Ill proceed to the the way Lucjcy1 described.

Thank, please be patience for my reply

I just remembered a "quick fix" I used to recommend. On your problematic Windows machine open a command line (cmd) and

  • delete all currently connected shares, including the ones without a drive letter assigned (some may be stale):
net use * /d
  • and clear the credentials/Kerberos ticket cache:
klist purge

This is certainly not a cure-all, but it's a quick first attempt to clean out certificate leftovers from experimenting with or reconfiguring of Samba services.