Results 1 to 5 of 5

Thread: Laptop Samba PDC user and local user access their own data

  1. #1
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,307

    Default Laptop Samba PDC user and local user access their own data

    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/..............

    1) 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

    2) 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.
    Thanks for helping. JCD
    __________
    server leap 15.0 -- ASUS g75vw KDE leap 15.2 -- ASUS G731GV KDE leap 15.2 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  2. #2

    Default Re: Laptop Samba PDC user and local user access their own data

    1. you need to enable samba with automount : Using automount and samba

    2. 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)

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: Laptop Samba PDC user and local user access their own data

    Small additional account:

    it's highly recommended not to use the same username for both local and network authentication, you'll get confused really fast.

    HTH,
    Tony

  4. #4
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,307

    Default Re: Laptop Samba PDC user and local user access their own data

    Quote Originally Posted by tsu2 View Post
    Small additional account:

    it's highly recommended not to use the same username for both local and network authentication, you'll get confused really fast.

    HTH,
    Tony
    Do you really think that people want to have as many names as the number of different workplaces?
    Thanks for helping. JCD
    __________
    server leap 15.0 -- ASUS g75vw KDE leap 15.2 -- ASUS G731GV KDE leap 15.2 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  5. #5
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,307

    Default Re: Laptop Samba PDC user and local user access their own data

    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.

    Can you give me a little more :

    Quote Originally Posted by redagadir View Post
    the user would be declared both locally and remotely (imho with the same uid/gid)
    Thanks for helping. JCD
    __________
    server leap 15.0 -- ASUS g75vw KDE leap 15.2 -- ASUS G731GV KDE leap 15.2 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •