Results 1 to 2 of 2

Thread: Samba 4.11.3 Accessing drive on Linux from Windows 7

  1. #1

    Default Samba 4.11.3 Accessing drive on Linux from Windows 7

    When I am logged in to my windows 7 machine as an administrator. I can View and Mount Drives from my Linux machine.

    I can read, but I cannot write files

    For example
    Code:
    C:\Windows\System32>net view \\192.168.1.64
    Shared resources at \\192.168.1.64
    
    Samba 4.11.3-git.102.3e2882ca77eSUSE-oS15.5-x86_
    
    Share name  Type  Used as  Comment
    
    -------------------------------------------------------------------------------
    groups      Disk           All groups
    homes       Disk           Home Directories
    profiles    Disk           Network Profiles Service
    users       Disk           All users
    The command completed successfully.
    
    
    C:\Windows\System32>whoami
    tommy-pc\tommy
    
    C:\Windows\System32>net use z: \\192.168.1.64\users /user:tbodine  awildpass
    The command completed successfully.
    
    C:\Windows\System32>dir z:
     Volume in drive Z is users
     Volume Serial Number is 36D2-DA11
    
    C:\Windows\System32>dir z:
     Volume in drive Z is users
     Volume Serial Number is 36D2-DA11
    
     Directory of Z:\
    
    12/10/2019  12:20 PM    <DIR>          .
    12/10/2019  11:55 AM    <DIR>          ..
    01/15/2020  07:08 AM    <DIR>          tbodine
                   0 File(s)              0 bytes
                   3 Dir(s)  499,954,130,944 bytes free
    
    C:\Windows\System32>z:
    Z:\>cd tbodine\Documents
    Z:\tbodine\Documents>echo "fred" > fred.txt
    Access is denied.
    Here is my smb.conf
    Code:
    [global]
        workgroup = Bowrkgrp
        passdb backend = tdbsam
        printing = cups
        printcap name = cups
        printcap cache time = 750
        cups options = raw
        map to guest = Bad User
        logon path = \\%L\profiles\.msprofile
        logon home = \\%L\%U\.9xprofile
        logon drive = P:
        usershare allow guests = Yes
        netbios name = netbosrv
        wins support = No
        usershare max shares = 100
        wins server = 
    [homes]
        comment = Home Directories
        valid users = %S, %D%w%S
        browseable = Yes
        read only = No
        inherit acls = Yes
    [profiles]
        comment = Network Profiles Service
        path = %H
        read only = No
        store dos attributes = Yes
        create mask = 0600
        directory mask = 0700
    
    [users]
        comment = All users
        path = /home
        read only = No
        inherit acls = Yes
        veto files = /aquota.user/groups/shares/
        guest ok = Yes
    [groups]
        comment = All groups
        path = /home/groups
        read only = No
        inherit acls = Yes
    [printers]
        comment = All Printers
        path = /var/tmp
        printable = Yes
        create mask = 0600
        browseable = No
    [print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @ntadmin root
        force group = ntadmin
        create mask = 0664
        directory mask = 0775
    Thanks for any guidance

  2. #2

    Default Re: Samba 4.11.3 Accessing drive on Linux from Windows 7

    Note to self:

    Need to install and get SELinux working.

    Seems that for Tumbleweed parts of SELinux are missing

Posting Permissions

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