need help-how to access a network (SAMBA) share programmatically
Hi all,
I am trying to access a UNC share over the network from a .Net program.
The network share is on a Linux server (not a part of the domain) and it is a SAMBA share. I can
access the files on that share through Windows explorer like any other windows share by providing
a userid/password combination.
But I am not able to access it from my .Net program. I need to be able to access, read, copy, delete,
write to files on that share from my program. I tried using impersonate=true with the userid/password
in Web.config. But it didn't work, (I guess the IIS could not recognize the credentials as it is not a
domain userid). I would really appreciate if anyone could provide any help. Thanks.
goldi