D
D
Dmitriy1968 Dmitriy19682019-11-18 16:23:20
linux
Dmitriy1968 Dmitriy1968, 2019-11-18 16:23:20

How to properly connect to Windows shares from a Linux workstation under a domain user?

There is a Linux OpenSuse workstation driven into a Windows domain.
For work stations login under the AD user.
On WinSrv2008R2 there is a Shara with access to a number of AD users.
1) If you enter through the file manager using the smb://ip/share share, then it asks for a login and password (1 time). And it works crookedly, there is access, but for example, through LibreOffice, when making changes to the file and when saving, there are no errors, but when the file is reopened, there are no changes.
2) If you mount the ball via fstab, then you need to register a file with an AD login and a password. Another user may need a workstation, and he, having logged in under his own account, will work under another one (which is registered in fstab).
It is necessary to make work with balls as close as possible to working from under Windows (logged into the OS once under a domain account and under it we connect to all resources without requesting identification data).
Is it possible to? And how right is that?
PS Acquaintance with Linux began literally last week, sorry if I'm asking some stupidity.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2019-11-18
@vitaly_il1

Install pam-mount , it allows you to mount on login.
No password required, works with Kerberos.
Works great on both Ubuntu and CentOS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question