algorithm for incoming network logon

P

peter

This is what I believe to be the logon algorithm for incoming network connection. Please correct or add anything missing.

if (user has existing credentials) then
use existing credentials
else
if (simple file sharing is OFF and username exists locally) then
if (password matches) then
login as username
else
deny access
endif
else // simple file sharing is ON, or username does not exists
if (guest account exist) then
login as username with guest's access priviledges
else
deny access
endif
endif
endif
 
J

Joe Crown

You forgot that by default the guest account is disabled & it is also
disabled from accessing over the network. So some nested if statements
to check if it is even enabled & if it can even dream of using the
network. One other thing is at the deny access depending on the
settings it will prompt you for a user name & password, then if you give
bad credentials or don't even try to provide credentials you are denied
access. Other then those facts you are really close to the truth. I'm
not 100% sure I covered everything though.
This is what I believe to be the logon algorithm for incoming network
connection. Please correct or add anything missing.

if (user has existing credentials) then
use existing credentials
else
if (simple file sharing is OFF and username exists locally) then
if (password matches) then
login as username
else
deny access
endif
else // simple file sharing is ON, or username does not exists
if (guest account exist) then
login as username with guest's access priviledges
else
deny access
endif
endif
endif

--

Don't pay malware vendors - boycott Sony & Symantec for helping them

Please do not contact me directly or ask me to contact you directly for
assistance.

If your question is worth asking, it's worth posting.

If it’s not worth posting you should have done a search on
http://www.google.com/ http://www.google.com/grphp?hl=en&tab=wg&q= or
http://news.google.com/froogle?hl=en&tab=nf&ned=us&q= before wasting our
time.

If I sound hostile or arrogant you need to read the following before
posting a question "How To Ask Questions The Smart Way" at
(The site I've linked
to just has this article I think people should read before posting a
technical question.)
 
P

peter

Joe Crown said:
You forgot that by default the guest account is disabled & it is also
disabled from accessing over the network. So some nested if statements to
check if it is even enabled & if it can even dream of using the network.
One other thing is at the deny access depending on the settings it will
prompt you for a user name & password, then if you give bad credentials or
don't even try to provide credentials you are denied access. Other then
those facts you are really close to the truth. I'm not 100% sure I
covered everything though.

Good point. Sometimes it does ask for username and password, and sometimes
it doesn't. What are the factors influencing this?
 
J

Joe Crown

I know that you have already sent that information between two computers
& that if neither of them has rebooted it won't bother prompting you for
a password as you already have permission. I also know that sometimes
if you have a user name on both computers with the same password it will
use your login authentication to the local computer to apply to the
computer across the network. I know of at least one instance where this
is not the case. My dad has to browse to my mom's computer so it will
ask for his user name & password even though he has the same user name &
password on her computer.
Good point. Sometimes it does ask for username and password, and sometimes
it doesn't. What are the factors influencing this?

--

Don't pay malware vendors - boycott Sony & Symantec for helping them

Please do not contact me directly or ask me to contact you directly for
assistance.

If your question is worth asking, it's worth posting.

If it’s not worth posting you should have done a search on
http://www.google.com/ http://www.google.com/grphp?hl=en&tab=wg&q= or
http://news.google.com/froogle?hl=en&tab=nf&ned=us&q= before wasting our
time.

If I sound hostile or arrogant you need to read the following before
posting a question "How To Ask Questions The Smart Way" at
(The site I've linked
to just has this article I think people should read before posting a
technical question.)
 

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

Top