Working with SMB shares and SMB shared printers

Okay, so I have a resolution!

TO SUMMARIZE:

The default sample config files were causing me an issue so I just renamed them and told autofs where to go to look for the correct ones.

That’s the best way I can describe it. I had to setup auto.master, auto.nfs, autofs.conf, and I had to edit the sytemd service file for autofs to uncomment some lines.

I was able to setup a wildcard entry so I can easily mount any shares from my server without additional entries.

The setup for SMB is similar with credentials stored in a auto.smb file.

I now feel like a kid who just learned how to tie his shoes, lol.

It’s Shake ‘N’ Bake and I helped!

2 Likes

I will definitely look at the Wiki you posted, thanks for that.

Nice. I am totally going to have to play around with autofs in the future.

It actually works! I just go to the folder I mounted it to and it connects and then after 5 minutes of not being used, it goes inactive until I open the folder again, then it reconnects. Should help with network traffic locally to and from the server as well.

I restarted and the mounts were there waiting for me.

This was a major hurdle for me, now I can move on to deeper testing.

The printer thing is not a big deal, I can just use it from the Windows PC for now until I have time to deal with that minor issue. It’s not like I print a lot of stuff these days anyway.

FYI: The NFS shares are much faster and more responsive than SMB shares. I don’t know why but just in case anyone needs to know that.

That’s because NFS

It’s a much faster protocol

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.