Advertisement
Guest User

Untitled

a guest
Jan 21st, 2023
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.81 KB | None | 0 0
  1. root@freenas:~ # testparm -s /usr/local/etc/smb4.conf
  2. Load smb config files from /usr/local/etc/smb4.conf
  3. Loaded services file OK.
  4. Weak crypto is allowed
  5.  
  6. WARNING: some services use vfs_fruit, others don't. Mounting them in conjunction on OS X clients results in undefined behaviour.
  7.  
  8. Server role: ROLE_STANDALONE
  9.  
  10. # Global parameters
  11. [global]
  12.        aio max threads = 2
  13.        bind interfaces only = Yes
  14.        disable spoolss = Yes
  15.        dns proxy = No
  16.        kernel change notify = No
  17.        load printers = No
  18.        logging = file
  19.        max log size = 5120
  20.        nsupdate command = /usr/local/bin/samba-nsupdate -g
  21.        registry shares = Yes
  22.        restrict anonymous = 2
  23.        server role = standalone server
  24.        server string = FreeNAS Server
  25.        unix extensions = No
  26.        idmap config *: range = 90000001-100000000
  27.        idmap config * : backend = tdb
  28.        directory name cache size = 0
  29.        dos filemode = Yes
  30.  
  31.  
  32. [public]
  33.        ea support = No
  34.        guest ok = Yes
  35.        path = /mnt/WD3TB-BACKUP/
  36.        posix locking = No
  37.        printable = Yes
  38.        read only = No
  39.        vfs objects = zfs_space zfsacl streams_xattr
  40.        nfs4:chown = true
  41.  
  42.  
  43. [cifs]
  44.        comment = CIFS
  45.        ea support = No
  46.        guest ok = Yes
  47.        hide dot files = No
  48.        level2 oplocks = No
  49.        mangled names = no
  50.        map archive = No
  51.        oplocks = No
  52.        path = /mnt/WD3TB-BACKUP/%U
  53.        read only = No
  54.        smbd max xattr size = 2097152
  55.        store dos attributes = No
  56.        strict locking = Yes
  57.        vfs objects = zfs_space fruit streams_xattr zfsacl
  58.        fruit:encoding = native
  59.        zfs_core:zfs_auto_create = true
  60.        fruit:resource = stream
  61.        fruit:metadata = stream
  62.        nfs4:chown = true
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement