Win32: Access to network resources w/o user login

U

utabintarbo

Is there a way to (programmatically) access network resources from a
WinXP client without a user being logged in? I guess I need to know
where the fstab file is in Windows. :p

Some more background: I am trying to access a samba share which is set
up for anonymous login (all unknown users are mapped to a known user)
with a process I hope to turn into a service (as soon as I figure
*that* out as well :p).

Any help is *greatly* appreciated!
 
S

Steve Holden

utabintarbo said:
Is there a way to (programmatically) access network resources from a
WinXP client without a user being logged in? I guess I need to know
where the fstab file is in Windows. :p

Some more background: I am trying to access a samba share which is set
up for anonymous login (all unknown users are mapped to a known user)
with a process I hope to turn into a service (as soon as I figure
*that* out as well :p).

Any help is *greatly* appreciated!
http://oss.coresecurity.com/projects/impacket.html

perhaps?

regards
Steve
 
U

utabintarbo

Steve said:
http://oss.coresecurity.com/projects/impacket.html

perhaps?

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden

That looks *very* interesting. I will report back on my findings. It
seems to have an ftp-like interface using smb as a transport. I am not
sure this will accomplish what I am after, but I will certainly give it
hell for a bit. :)
 
R

Roger Upole

utabintarbo said:
Is there a way to (programmatically) access network resources from a
WinXP client without a user being logged in? I guess I need to know
where the fstab file is in Windows. :p

Some more background: I am trying to access a samba share which is set
up for anonymous login (all unknown users are mapped to a known user)
with a process I hope to turn into a service (as soon as I figure
*that* out as well :p).

Any help is *greatly* appreciated!

When the service tries to establish a connection with the Samba server,
it will use whatever credentials it's set up to start as.
You really shouldn't have to do anything special.

However, you can initiate the connection with an alternate
username using win32net.NetUseAdd or
win32wnet.WNetAddConnection2.

Roger
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top