I want a network mapping to be available to the user via
smbnetfs at system startup without having to type
smbnetfs /media/network every time, so I used this entry in
smbnetfs /media/network fuse rw,users,noauto,allow_other 0 0
And it works, the mapping is there and it mounts when I click on it using any file manager, but the problem is that it will look for the configuration file at
/root/.smb/smbnetfs.conf, and the user won't be able to access the Samba shares with its own credentials.
How can I tell
smbnetfs to get the right location for the user configuration file? I didn't want to change the
/root/.smb/smbnetfs.conf file because there's different users in need to map this share.