Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

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

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

[global]

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 :
[documents]
comment = documents dir
path = storage/documents
wirteable = yes
hide dot files = yes
guest ok = no
valid users = %S

[medias]
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
add comment

1 Answer

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

share|improve this answer
add comment

Your Answer

 
discard

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.