I HATE the way linux handles file permissions with network shares. You have to match all the user/group IDs across all systems. That is just retarded. It should go by whatever the user/pass was specified when mounting the share. Then the user who mounted the share should be able to get whatever permissions the specified username has. It should not care what the local user is, because credentials were specified. That's more secure than just checking a stupid user/group ID. But I regress.
Is there a way to get around that, for a specific share? I have this VM that is more or less going to be used to dump/get files from various machines. On the server the share is setup to only be accessible from a specific local user, so I want to be able to access the share from anywhere on the network but I want it to require logging in as that user, ex: specifying -o username=abc,password=abc. But I want to be able to do this from ANY local user on the client machine.
Once the share is mounted I then want that user to be able to write to it, even if it's uid/gid don't match.
Is there some kind of flag in the samba share or something I can put to do that? I know I can just make the share guest accessible but I don't want to do that, I simply want to require a specific user/pass to mount it and once it's mounted it is fully writable and all writes are done by the user on the server without caring who the user on the machine is, because he already had to enter a username and password to mount the share.
Is there a way to get around that, for a specific share? I have this VM that is more or less going to be used to dump/get files from various machines. On the server the share is setup to only be accessible from a specific local user, so I want to be able to access the share from anywhere on the network but I want it to require logging in as that user, ex: specifying -o username=abc,password=abc. But I want to be able to do this from ANY local user on the client machine.
Once the share is mounted I then want that user to be able to write to it, even if it's uid/gid don't match.
Is there some kind of flag in the samba share or something I can put to do that? I know I can just make the share guest accessible but I don't want to do that, I simply want to require a specific user/pass to mount it and once it's mounted it is fully writable and all writes are done by the user on the server without caring who the user on the machine is, because he already had to enter a username and password to mount the share.