github.com/swiftstack/ProxyFS@v0.0.0-20210203235616-4017c267d62f/confgen/sample-proxyfs-configuration/samba/smb.conf (about)

     1  [global]
     2  
     3  # ----------------------- Network-Related Options -------------------------
     4  
     5  	server string = Samba Server Version %v
     6  	map to guest = bad user
     7  
     8  	netbios name = ip-192-168-17-177
     9  	server min protocol = NT1
    10  
    11  
    12  # --------------------------- Temporary Options -------------------------
    13  # Until we resolve permissions
    14  force user = root
    15  
    16  # --------------------------- Logging Options -----------------------------
    17  
    18  	# log files split per-machine:
    19  	log file = /opt/ss/var/log/samba/log.%m
    20  	# maximum size of 50KB per log file, then rotate:
    21  	max log size = 50
    22  
    23  	log level = full_audit:1
    24  
    25  
    26  # ----------------------- Standalone Server Options ------------------------
    27  	security = user
    28  	passdb backend = tdbsam:/opt/ss/lib64/samba/passdb.tdb
    29  	restrict anonymous = 2
    30  	public = no
    31  	guest account = nobody
    32  	rpc_server:lsarpc = embedded
    33  
    34  
    35  # ----------------------- Domain Members Options ------------------------
    36  ;realm = 
    37  ;winbind nss info = 
    38  winbind use default domain = yes
    39  winbind refresh tickets = yes
    40  winbind enum users = yes
    41  winbind enum groups = yes
    42  winbind expand groups = 5
    43  winbind nested groups = yes
    44  
    45  ;idmap config *:backend = tdb
    46  ;idmap config *:range = 501 - 3554431
    47  
    48  ;idmap config :backend = rid
    49  ;idmap config :default = yes
    50  ;idmap config :range = 500 - 3554431
    51  
    52  ;template shell = /sbin/nologin
    53  ;domain master = no
    54  ;preferred master = no
    55  	  	 	  
    56  ;kerberos method = secrets and keytab
    57  
    58  
    59  #----------------------------- Name Resolution -------------------------------
    60  
    61  ;wins server =
    62  ;remote announce = 0.0.0.0/
    63  
    64  # --------------------------- ProxyFS Options ---------------------------
    65  
    66  	proxyfs:PrivateIPAddr = 192.168.17.177
    67  	proxyfs:TCPPort = 12345
    68  	proxyfs:FastTCPPort = 32345
    69  
    70  #============================ Share Definitions ==============================
    71  
    72  
    73  
    74  [volume3]
    75  	comment = ProxyFS volume volume3
    76  	path = /opt/ss/var/lib/dummy_path
    77  	proxyfs:volume = volume3
    78  	valid users = "blake"
    79  	writable = yes
    80  	printable = no
    81  	browseable = yes
    82  	oplocks = False
    83  	level2 oplocks = False
    84  	aio read size = 1
    85  	aio write size = 1
    86  	case sensitive = yes
    87  	preserve case = yes
    88  	short preserve case = yes
    89  	strict sync = yes
    90  
    91  	full_audit:success = mkdir rmdir read pread write pwrite rename unlink
    92  	full_audit:prefix = %u|%I|%m|%S
    93  	full_audit:failure = mkdir rmdir read pread write pwrite rename unlink
    94  	full_audit:syslog = false
    95  	vfs objects = full_audit proxyfs
    96  
    97  
    98  
    99  
   100  
   101  [vol-vg32-2]
   102  	comment = ProxyFS volume vol-vg32-2
   103  	path = /opt/ss/var/lib/dummy_path
   104  	proxyfs:volume = vol-vg32-2
   105  	valid users = "swift", "bob", "ed", "blake"
   106  	writable = yes
   107  	printable = no
   108  	browseable = yes
   109  	oplocks = False
   110  	level2 oplocks = False
   111  	aio read size = 1
   112  	aio write size = 1
   113  	case sensitive = yes
   114  	preserve case = yes
   115  	short preserve case = yes
   116  	strict sync = yes
   117  
   118  	full_audit:success = mkdir rmdir read pread write pwrite rename unlink
   119  	full_audit:prefix = %u|%I|%m|%S
   120  	full_audit:failure = mkdir rmdir read pread write pwrite rename unlink
   121  	full_audit:syslog = false
   122  	vfs objects = full_audit proxyfs
   123  
   124  
   125  
   126