userid and password embedded in URL

  • Thread starter Thread starter Cathy_db
  • Start date Start date
C

Cathy_db

Hi,

I know I can embed a userid and password in a http URL link. However,
when I need to specify the domain name like
http://domain\userid:password@www.... it 's not working. It also
changes the \ between domain and userid in a /. How can I get this to
work?

regards
 
Cathy_db said:
Hi,

I know I can embed a userid and password in a http URL link. However,
when I need to specify the domain name like
http://domain\userid:password@www.... it 's not working. It also
changes the \ between domain and userid in a /. How can I get this to
work?

regards

There could be a number of things causing it not to work. The domain could
be behind a firewall and vpn required. If I start a telnet service on my XP
SP2 system, disable the firewall, then from another computer on the domain I
can telnet in using mydomain\myusername and give mypassword. Looking at the
event viewer on my XP system I see a successful login in the security pane.
Doing the same thing from outside mydomain will fail as I have no control
over my companies firewall.

If I bring up sshd as a service (cygwin sshd win32 binary) sshd fails to
convert the "\" just like you mentioned. if I pass in
"mydomain\myusername:mypasssword" the "\" is missing in the security pane
where the login failure is reported. If I try "\\" then both are passed in
which makes an invalid combination. This is probably caused by the sshd
service as it does not know how to handle windows type domain names.

If you get this to work, let me know. IMHO, if you do get it to work, then
the site you are connecting to probably has a security problem.
 
Back
Top