Subject: Re: login.c
From: [email-masked] (Jerzy Schubert)

28 Jul 1997 12:48:35 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Original-To: Bilbo Baggins <[email-masked]>
Original-cc: [email-masked]
In-Reply-To: <[email-masked]>
Original-Sender: [email-masked]

I inserted
GetLastError() after LogonUser in login.c
then ran login from the dos box 
and it returned 1314
then help netmgsg 1314 said something like
client  has  not sufficent priviledges.

I've checked msdn LogonUser info and it said something about
SE_TCB_NAME privilege process must have. TCB stand for trusted computer
based or whatever.

With User Manager i gave the starting account several priviledges
for LogonUser is prviledge "part of the operating system" or similar
perhaps sufficient but then for starting process as a user others
are probably also necessary anyway.

then REBOOT the machine or nothing happens.

after that i passed LogonUser,

then i had messages 

: no such file or directory

it was beacouse /etc/passwd, had \r\n 

after that it finaly works

Thanks very much for the help  Bilbo,
and  especially  Sergej.

On Mon, 28 Jul 1997, Bilbo Baggins wrote:

> 
> trying to compile the login.c file from Sergey's home page
> and got:
> 
> ... undefined reference to 'LoginUserA@24'
> 
> quick grep of the libs show that this is defined in
> libadvapi32.a
> 
> but however when i run login.exe it keeps giving me: 'Login incorrect'
> for any valid user/password combination
> 
> ideas/suggestions?
> 
> 
> TIA
> 
> 
> 
> -
> For help on using this list (especially unsubscribing), send a message to
> "[email-masked]" with one line of text: "help".
> 

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".