writing to a windows share from RHE3 using Samba?

I have been pulling my hair out all day trying to write files to a Windows 2003 share from a RHE3 linux server, using samba. So I am hoping someone can help me out here.

I have successfully mounted the share using:

Code:
mount -t smbfs -o credentials=/root/.smbpasswd,uid=admin,gid=admin,rw //*****/metest /mnt/metest
I can of course read and write to the share as root if I leave out the uid and gid values, but I need to be able to write as another user, which I cannot. I can view files on the share thru /mnt/metest but cannot create new files/folders or edit existing files/folders via any user using the command above.

I really need help here - anyone please?

 

 

 

 

Top