Re: Problems connecting to network
From: Elvis (Elvis_at_discussions.microsoft.com)
Date: 10/29/04
- Next message: Rickard Seijbold: "Re: Warning message"
- Previous message: Slobodan Brcin \(eMVP\): "Re: .NET Framework 1.1 with Service Pack 1"
- In reply to: Lasse: "Re: Problems connecting to network"
- Next in thread: KM: "Re: Problems connecting to network"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 29 Oct 2004 05:17:01 -0700
Thats exactly what i need, how do i get my shell to do the logon?
cheers
e
"Lasse" wrote:
> Elvis wrote:
> > Hi,
> >
> > I need to automate the connection of a network drive, but am having problems
> > with this. I am using minlogon, and have tried
> >
> > net use s: \\server\share uname pass
> >
> > from a bat file, but it still asks for the password, even though i give it.
> >
> > I then tried :
> >
> > WNetAddConnection2 API call, but this will not connect me to another
> > computer using new credentials.
> >
> > Would adding a new user with a password help, but could i make it then login
> > automatically, and map the drive?
> >
> > It seems to me to be a problem with the security side of things.
> >
> > Cheers
> > elvis
> >
> I am using minlogon, and I connect without using username or password.
> I never got it to work when connecting from system account (minlogons default).
> My custom shell logs on as a user before connecting.
> Username and password are the same as on the machine connect is made to.
> Both net use and the API should work. (with the conditions above)
>
> Lasse.
>
- Next message: Rickard Seijbold: "Re: Warning message"
- Previous message: Slobodan Brcin \(eMVP\): "Re: .NET Framework 1.1 with Service Pack 1"
- In reply to: Lasse: "Re: Problems connecting to network"
- Next in thread: KM: "Re: Problems connecting to network"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|