473,326 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Win32: Access to network resources w/o user login

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!

Sep 26 '06 #1
3 1627
utabintarbo wrote:
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
--
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

Sep 26 '06 #2

Steve Holden wrote:
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. :-)

Sep 26 '06 #3

"utabintarbo" <ut*********@gmail.comwrote in message news:11*********************@i3g2000cwc.googlegrou ps.com...
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


----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
Sep 26 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rich | last post by:
I am running IIS6 on a Win2k3 server. I have an ASP.Net app (C#) that a user logs into and then I use LogonUser to validate them and log them onto the server. I have Windows Authentication ONLY...
8
by: Michelle | last post by:
Hello! I have an ASP.NET application (1.1 framework) that needs to be able to read/write files on a network share. The access to this file share will be fairly restricted, so I need to...
1
by: Razor Works via .NET 247 | last post by:
I have got a windows service installed through installutil in C#.I have change the login settings from localsystems todomain/user. The user can access the network resources with noproblems but if the...
4
by: Phil | last post by:
Hi all, I need some help to access an SQL db on another machine. I am using VB.NET and remoting to make a client/server connection...although I don't think this is relevant to the question. I...
5
by: Dave Kolb | last post by:
Is there any other solution for an ASPNET application to access network resources other than running as SYSTEM, using delegation (a nightmare to get to work) or the COM+ solution? I cannot seem to...
17
by: Flic | last post by:
Is this possible? I know about a bit about ODBC and found how to import an ODBC database stored on the computer, however I am after accessing an SQL database stored on a webserver. I'd like to...
1
by: Michael | last post by:
Hello, I am trying to develop a database solution for an organisation in Indonesia. This organization has a number of offices and users throughout the country. They all need to maintain their...
13
by: evancater | last post by:
My client wants to make their Access 2007 database available to offices around the country with multi-user permissions set to control access to the tables and forms, etc. The easiest thing would be...
0
by: Bill E. | last post by:
I will be creating an application using MS Access as a client to SQL Server 2005. Each user will have the client installed on his/her machine. Some users will be attached to the local network...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.