How does one overcome the problem of the user used to write to a network share?
In broader explanation. Say for example i connect to a network share
sudo mount -o username=testuser //my-server/dir /home/user/testmount
the share mounts and i can browse the file system but i cannot write to it because the write is made with the user "user" that logs onto the booted VM automatically with an unknown possibly empty password. This causes the write fail because the user "testuser" must make the write.
Now on R4.0 i could make the mount with the noperm option
sudo mount -o username=testuser,noperm //my-server/dir /home/user/testmount
Doing it like this worked 100%. When i wrote a file to the share it applied the ACLs on the share to the file being written to the share. Something in 4.1 is causing this to fail.
Can anybody give me any pointers?
Is it perhaps possible in 4.1 to specify the user that is used to automatically log into a VM?