SambaTdbsamBackend: Difference between revisions

From DrewWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/etc/samba/smb.conf
<syntaxhighlight lang=bash>
<pre>[global]
[root@drewserv ~]# cat /etc/samba/smb.conf
         workgroup = LOCALNET
[global]
         server string = dr3w s3rv
         workgroup = WORKGROUP
         server string = drewserv
security = user
         passdb backend = tdbsam
         passdb backend = tdbsam
         log file = /var/log/samba/log.%m
         log file = /var/log/samba/log.%m
         max log size = 50
         max log size = 50
; Get samba to stop complaining about cups
         load printers = no
         load printers = no
        printcap name = /etc/printcap
show add printer wizard = no
 
printcap name = /dev/null
[raid5]
disable spoolss = yes
        path = /mnt/raid5/drew
        valid users = drew
        read only = No


[share]
[share]
         path = /mnt/raid5
         path = /mnt/raid5
         valid users = user,drew
         valid users = user,drew
         read only = No</pre>
         read only = No
</syntaxhighlight>

Latest revision as of 01:25, 25 January 2018

[root@drewserv ~]# cat /etc/samba/smb.conf
[global]
        workgroup = WORKGROUP
        server string = drewserv
	security = user
        passdb backend = tdbsam
        log file = /var/log/samba/log.%m
        max log size = 50

;	Get samba to stop complaining about cups
        load printers = no
	show add printer wizard = no
	printcap name = /dev/null
	disable spoolss = yes

[share]
        path = /mnt/raid5
        valid users = user,drew
        read only = No