tags:

views:

21

answers:

1

I'm setting up samba on linux for single user access from Windows, and need to prevent password checking. I've added my linux username to smbpasswd. Despite the guest account setting in my smb.conf, files I create are owned by user nobody. How do I get samba to operate as my user id?

smb.conf:

[global]
security = share
guest account = liam
...

[goodstuff]
path = /home/liam
read only = no
guest only = yes
guest ok = yes

If this is a FAQ, apologies; I looked and looked for the answer.

A: 

The problem turns out to be

guest only = yes

With that removed, activity happens as the guest account user id.

Liam