Advertisement
tolikpunkoff

smb.conf example

Aug 2nd, 2023
1,989
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [global]
  2.         workgroup = WORKGROUP
  3.         netbios name = PXE
  4.         server string = Local PXE
  5.         interfaces = 192.168.0.120
  6.         map to guest = bad user
  7.         security = USER
  8.         #Sledushie 3 stroki nuzhny dlja otobrazhenija simvolicheskih ssylok
  9.         unix extensions = no
  10.         wide links = yes
  11.         follow symlinks = yes
  12.         log file = /var/log/samba/log.%m
  13.         max log size = 50
  14.         dns proxy = No
  15.         load printers = no
  16.         show add printer wizard = no
  17.         printcap name = /dev/null
  18.         disable spoolss = Yes
  19.  
  20. [printers]
  21.         comment = All Printers
  22.         path = /var/spool/samba
  23.         printable = Yes
  24.         browseable = No
  25.  
  26. [hbcdshare]
  27.         path=/home/pxe/tftp/distrib/windows/winpe
  28.         public=yes
  29.         browsable=yes
  30.         read only=yes
  31.         guest ok=yes
  32.  
  33. [win7]
  34.         path=/home/pxe/tftp/distrib/windows/win7
  35.         public=yes
  36.         browsable=yes
  37.         read only=yes
  38.         guest ok=yes
  39.  
  40. [unatdistr]
  41.         path=/home/pxe/tftp/distrib/windows/unatwinxp/distrxp
  42.         public=yes
  43.         browsable=yes
  44.         read only=yes
  45.         guest ok=yes
  46.  
  47. [pomojka]
  48.         path=/mnt/sdb2
  49.         public=yes
  50.         browsable=yes
  51.         read only=no
  52.         guest ok=yes
Tags: SMB Example
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement