I am using VB.Net to attempt to write files to an iSeries. I have tried impersonation in the code but I still get Access denied when trying to impersonate the iSeries user. The server I am running the code from is a Windows NT Box. I can run my code successfully all day using impersonation when I am in the same domain, this problem happens when I cross domains.
I am assuming it is some type of trust issue between the domains or it has something to do with Windows and iSeries talking to each other. I am at a loss here myself. I don't know enough about the iSeries to figure this out.
I can create and delete files on the iSeries from the Windows NT box when I map a drive to the iSeries from that box using the user I am impersonating with, but I just can't do it in code so far.