-
-
Save prydom/5953225edc9c5e7d1230 to your computer and use it in GitHub Desktop.
My debug smb.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#======================= Global Settings ===================================== | |
[global] | |
workgroup = WORKGROUP | |
server string = jxpryde-arch-think | |
netbios name = jxpryde-arch-think | |
# Disable Printing | |
printcap name = /dev/null | |
load printers = no | |
disable spoolss = yes | |
printing = bsd | |
log file = /var/log/samba/%m.log | |
max log size = 100000 | |
security = user | |
dns proxy = no | |
create mask = 0664 | |
directory mask = 0775 | |
force create mode = 0664 | |
force directory mode = 0775 | |
#========== FOR DEBUG - REMOVE IN PRODUCTION ============= | |
log level = 10 | |
username map = /etc/samba/users.map | |
; force NTLMv2 | |
ntlm auth = no | |
lanman auth = no | |
; force only Windows 7 and 8 and newer SAMBA compat | |
server max protocol = SMB3 | |
server min protocol = SMB2 | |
; reiterate defaults | |
smb encrypt = auto | |
server schannel = auto | |
; Force SAM auth (NO AD) | |
auth methods = sam | |
#========== END -- FOR DEBUG - REMOVE IN PRODUCTION -- END ============= | |
#============================ Share Definitions ============================== | |
[homes] | |
comment = Home Directories | |
browseable = no | |
writable = yes | |
[USB] | |
path = /media/USB | |
read only = no | |
valid users = jxpryde |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment