Take a physical user FRED.
FRED is a linux user ( known by linux on his laptop )
FRED is a Samba user ( Known by samba on the samba pdc server )
When he logs locally (with username/password) on its standalone laptop (with no network), he is known as FRED:user.
He access his data in /home/FRED/…
When he logs through samba (with username/password) on the domain MY_DOM, he is known as MY_DOM\FRED:MY_DOM\domain user.
He access his data in /home/MY_DOM/FRED/…
Is it possible that the human FRED has only one repository and have full access to its repository regardless of how it was connected. If yes, how to do it
If not, Is it possible that the human FRED has full access to /home/FRED/…. and/home/MY_DOM/FRED/…. regardless of how it was connected.
i suppose one of them is local and the second one remote: you can the config #1, the user would be declared both locally and remotely (imho with the same uid/gid)
The same human “FRED” can connect locally on his laptop ( without network when he visits his clients ) or through network ( when he is in any company location ).
He was first declare on his laptop before joining the network company domain; and then add on the ldap database using smbldap-useradd script.