Recommended Posts

Hello,

I tried typing something extra under smb to share a folder. this worked, unfortunately, without write permissions.

for this reason I would like to edit it again.

Unfortunately I do not find the conf file.

It's not in /etc/samba. The folder was created, so the file should be somewhere.

 

thanks in advance for the help

Link to comment
  • 5 months later...

go to terminal and type testparm and hit enter. you will find that Unraid predefines some samba settings.

 

while new samba configs change crypt and protacalls.

 

Unfortunately, setting some of these setting conflict with what Unraid claims as the default samba config:

 

Here are some config items that should not be set due to Unraid having a preset smb config.

 

#samba extra Config:
[global]
#Networking:
    #bind interfaces only = Yes
    #name resolve order = bcast host lmhosts wins
    #winbind request timeout = 5
    
#Identification:
    #workgroup = WORKGROUP
    #security = USER
    #guest account = nobody
    #guest ok = Yes
    #map to guest = Bad User
    
#Protocols:
 

#Printing:    
    #disable spoolss = Yes
    #load printers = No
    #printcap name = /dev/null

#Security
    #old win95 area: NT1 and 
    #ntlm auth = ntlmv1-permitted
    #null passwords is depricated
    #null passwords = Yes
    #server min protocol = NT1
    #ntlm auth = yes    
    #server min protocol = SMB2
    #client min protocol = SMB2
    #client max protocol = SMB3

# Performance
    #smbd max xattr size = 2097152
    #posix locking = No
    #socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072
    #^Warning Know your Numbers!
    #read raw = yes
    #write raw = yes
    #Needed by some Windows installs server sign auto
    #server signing = auto
    #server signing = no
    #strict locking = no
    #min receivefile size = 16384
    #use sendfile = Yes
    #aio read size = 16384
    #aio write size = 16384

#Global File Settings
    #create mask = 0777
    #directory mask = 0777
    #case sensitive = True
    #default case = lower
    #preserve case = yes
    #short preserve case = yes
    #acl allow execute always = Yes
    #force group = nogroup
    #force user = nobody
    #map hidden = Yes
    #map system = Yes

#Apple File Settings
    #fruit:zero_file_id = false
    #fruit:nfs_aces = false
    #rpc_server:mdssvc = disabled
    #rpc_daemon:mdssd = disabled
    #fruit:encoding = native
    #fruit:time machine max size = 0
    #fruit:time machine = True
    #fruit:resource = stream
    #fruit:metadata = stream
    #vfs objects = catia fruit 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.