Thanks Heironimus, I was kind of suspecting that and have had the provider put 'unix extensions = no' in the share conf. That at least makes it act ok from a unix UID point of view, although I am still stuck with the UIDs not being the same across boxes.
OldSchool and Tim, yep, NFS is the fall back position but will involve some code changes as well as the UID mapping issue, so I was looking to find the magic switch that made it work exactly as the windows server did.
The real solution is to get universal UID mapping across the machines/company, but thats not happening soon...
As well, the files we are transferring are very big, which is why we want to mount 'their' share and write to it. If there is no space it is their problem, not ours. This is why we cannot create a local file and use an ftp/scp type solution.
With unix extensions turned off, this happens, it is almost useable if I become a local user with UID:GID 22222:10401
The only glitch is the initial creation of a file 'fails', IE it creates but canot be written to immediatly, but a second write to it works, as do moves and deletes:
osrjde04:/mnt/MEDBID10/uploads # echo "abc" >z
ksh: z: cannot create
osrjde04:/mnt/MEDBID10/uploads # ll z
-rwxrw---- 1 22222 10401 0 Sep 27 08:48 z
osrjde04:/mnt/MEDBID10/uploads # echo "abc" >z
osrjde04:/mnt/MEDBID10/uploads # ll z
-rwxrw---- 1 22222 10401 4 Sep 27 08:48 z
But this is probably to quirky to put into production, especially as the stuff to produce the file is all legacy stuff that needs to run as a different user than the 22222 one I am being given acces to. sigh.
Thanks for the info anyway guys.....