Answer the question
In order to leave comments, you need to log in
How to mount a Windows network share under Linux with logged in user rights?
Hello! Straight to the point.
Given:
0. Confident Windows user, not too confident Linux user.
1. MS Active Directory domain.
2. A computer running Linux (Astra Linux if it matters), entered into the domain (literally in a couple of clicks, respect to the developers).
3. When connecting (just connecting, not mounting, because if you run the mount command, then there is no connected folder in the command output) the network resource is connected with the necessary rights.
Required:
Mount (just mount so that it is visible with the mount command) network directory when a user logs in with the rights of this user.
The following command was found on the AstraLinux wiki:
//10.0.10.201/share /mnt cifs credentials=/root/.smbclient,rw,nosharesock,vers=1.0,soft,noperm 0 0
, where .smbclient file looks like:username=samba_user_name
password=samba_user_password
domain=astra.ru
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question