I can't reproduce that.
When I access the share I'm prompted for a user/password, and the file is being created with those credentials.
Supposing you shared <SHARED_DIRECTORY> as <YOUR_SHARE_NAME>:
please post the contents of "/var/lib/samba/usershares/<YOUR_SHARE_NAME>"
and the output of "ls -ld <SHARED_DIRECTORY>"
I can't reproduce that.
When I access the share I'm prompted for a user/password, and the file is being created with those credentials.
Supposing you shared <SHARED_DIRECTORY> as <YOUR_SHARE_NAME>: samba/usershare s/<YOUR_ SHARE_NAME> "
please post the contents of "/var/lib/
and the output of "ls -ld <SHARED_DIRECTORY>"