Samba Permissions

Hi Gurus,

Need one help.

I have a sun server which is also have a samba service running.Now i have given access to the users to some particular web application folders in my unix.
My web application is controlled by a Web application user account in my unix. But when a user creates a folder using samba mapping the ownership of the file is created as the user id.
but i want the ownership should be as application account. How do i acheive that.

Add this to your share :

force user = user_account_name
force group = group_account_name

Restart Samba.

Hey,

Thanks for your reply. I dont understand you. Where you want to add this.

you mean i have to run as a command?

Not very sure but this should go inside the smb.conf file.