INTL 3:770/1 3:770/3   
   REPLYADDR bob@sick-of-spam.invalid   
   REPLYTO 3:770/3.0 UUCP   
   MSGID: <5b2ded835bbob@sick-of-spam.invalid> 6aa1722b   
   REPLY: 06d5b47f   
   PID: SoupGate-Win32 v1.05   
   In article ,   
    Jesper Kaas wrote:   
      
   > So how to either make shares in Pi visible in Windows,   
      
      
   My notes: This works for me and is well tested on bookworm.   
   Hope there are clues for you there.   
   It shares the root so you can see the lot.   
      
      
   sudo apt-get install samba samba-common-bin   
      
   sudo nano /etc/samba/smb.conf   
      
   In the [global] area make sure you have ;   
      
   workgroup = WORK GROUP   
      
   unix extensions = no   
      
      
   Comment out using # anything in [homes] even [homes] itself   
   to prevent unwanted 'pi' share. eg.   
      
   #[homes]   
   # comment = Home Directories   
   # browseable = no   
   # read only = yes   
   # create mask = 0700   
   # directory mask = 0700   
   # valid users = %S   
      
   Then Print$ as that too shows a share on fileBrowser iPad.   
      
   #[print$]   
   # comment = Printer Drivers   
   # path = /var/lib/samba/printers   
   # browseable = yes   
   # read only = yes   
   # guest ok = no   
      
   Then, just above [printers] in the share definitions...   
   Add the following 14 lines...   
      
   ---------------------------------------------------   
   # The following added to share the root.   
      
   [root]   
    comment = root   
    path = /   
    writeable = yes   
    only guest = no   
    directory mask = 0777   
    create mask = 0777   
    force user = root   
    force group = root   
    public = no   
    follow symlinks = yes   
    wide links = yes   
   ---------------------------------------------------   
      
   Save back the file Cntrl-X, Y,    
      
      
   Set the share password   
   ======================   
      
   sudo smbpasswd -a pi   
   enter password for pi user twice.   
      
   sudo systemctl restart smbd   
      
   'root' connection should now connect from a PC.   
      
      
   Done.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)   
   SEEN-BY: 10/0 1 15/0 90/1 103/705 105/81 106/201 128/260 129/305 135/225   
   SEEN-BY: 153/757 7715 218/0 1 601 700 840 870 930 220/70 221/1 6 226/17   
   SEEN-BY: 226/30 100 227/114 229/110 112 113 200 206 307 317 400 426   
   SEEN-BY: 229/428 470 550 616 664 700 240/1120 266/512 267/800 282/1038   
   SEEN-BY: 291/111 292/854 301/1 113 812 310/31 320/219 322/757 335/364   
   SEEN-BY: 341/66 342/200 396/45 460/58 633/280 712/848 770/1 3 100   
   SEEN-BY: 770/330 340 772/210 220 230 5020/400 1042 5058/104 5075/35   
   PATH: 770/3 1 218/840 221/6 301/1 218/700 229/426   
      
|