I’ve managed to get TrueNAS connected to Active Directory and created a share that I can access from an AD account on a Windows client just fine. However when I try to mount the share on Ubuntu Server 24.04 I keep getting permission/logon failure.

In my fstab entry I’ve tried every combo I can think of.

domain=domain,user=user,password=pass domain=domain.local,user=user,password=pass user=domain\user,password=pass user=domain.local\user,password=pass

I’ve also tried a separate credentials file with every one of those combinations as well as versions 2.1 and 3.0. I’ve got no problem mounting shares from the Windows server without even specifying the domain.

At this point I’m pretty sure I’m missing a setting on TrueNAS but no idea what. Any ideas?

  • Sailing7@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    Just for the sake of testing maybe try it with a oneliner:

    sudo mount -t cifs -o user=testuser,domain=testdomain //192.168.1.100/share /mnt

    Either way using the logs is the best way to check for discepancies. Also check in on the logs on the fileserver. Though idk what to advice to trace the logon stuff and trace whats making it fail.

    Just for the case that you dont know where to look in windows: eventviewer is the place to go. Which predifined filter though - simply google that.

    Wishing ya the best of luck mate!