Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to setting up a NAS server and run Samba4 on it. When I'm runing this command:

# smbclient -I -L NAS_GROUP
Enter root's password:
Connection to failed (Error NT_STATUS_INVALID_PARAMETER)

Here is my /usr/local/etc/smb4.conf :


workgroup = NAS_GROUP
server string = nas_server
security = user
interfaces = em0
log file = /var/log/samaba/log.%m
max log size = 50
local master = no
dns proxy = no
unix charset = UTF-8
dos charset = cp850

#Partages :
comment = documents dir
path = storage/documents
wirteable = yes
hide dot files = yes
guest ok = no
valid users = %S

comment = medias dir
path = storage/medias
wirteable = yes
hide dot files = yes
guest ok = no
valid users = %S

Any ideas or suggestions ?

share|improve this question

You should check path and writeable lines. path must be an absolute path and writeable shouldn 't be wirteable

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.