Two stage login
Gerald Carter
gcarter at valinux.com
Wed Feb 14 07:09:43 GMT 2001
Jacek Stepniewski wrote:
>
> Is it possible (in protocol) to use first encrypted password and if
> autorization fail use plain password?
Nope. The encryption enabled bit is set in the negprot response
sent from the server. The SMBsessetup comes after this which
is where either the clear text or 24 byte response goes. So you
would need to tear down the connection and reissue a negprot
request and get the server to not set this bit the second time.
Cheers, jerry
----------------------------------------------------------------------
/\ Gerald (Jerry) Carter Professional Services
\/ http://www.valinux.com/ VA Linux Systems gcarter at valinux.com
http://www.samba.org/ SAMBA Team jerry at samba.org
http://www.plainjoe.org/ jerry at plainjoe.org
"...a hundred billion castaways looking for a home."
- Sting "Message in a Bottle" ( 1979 )
More information about the samba-technical
mailing list