03-05-2002
Yes many years ago at a company I no longer work for. What specific problems are you having?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I'd like to know if it is possible to set up a Dial Up server on a Red Hat 7.1 Instalation so that friends/colleagues can dial into my computer and log in (eg. SLIP/PPP)? Or if i'd have to download any other software with which to do this. And if so, where would I find something good... (2 Replies)
Discussion started by: KrazyGuyPaul
2 Replies
2. IP Networking
Hi,
I just came to visit my folks and they dont have a wireless network setup in the house, so I have to connect to the net using my dial up modem. Unfortunately my windows seems to be quite buggy lately (...assuming it ever worked flalessly), so I was just wondering if anyone could tell me how... (0 Replies)
Discussion started by: PenguinDevil
0 Replies
3. UNIX for Dummies Questions & Answers
Hi all.
I am running a C++ program on UNIX which needs days to finish but my dial-up connection disconnects after 4 hours. Is there any way for the program to keep running until it finishes after I log out? (5 Replies)
Discussion started by: vegas503
5 Replies
4. UNIX for Dummies Questions & Answers
Im using Kinternet with a Lucent modem on Suse 9.0
Ive installed the ltmodem driver and suse says the device is ready and configured. Ive configured it at /dev/ttyS0
This is the log that Kinternet gives after trying to connect:
SuSE Meta pppd (smpppd-ifcfg), Version 1.06 on linux.
Status... (0 Replies)
Discussion started by: Synbios
0 Replies
5. SCO
Friends,
I am facing a problem in connecting two SCO Openserver 5.0.6 servers through Dial-Up connectivity as is done in the case of two Windows PCs. Please help me out with the following problems:
(a) How to configure the modem?
(b) How to setup a Dial-In connection?
(c) How to... (1 Reply)
Discussion started by: thecobolguy
1 Replies
6. UNIX for Dummies Questions & Answers
I was wondering if anyone can tell me if i can run Unix to the internet? (1 Reply)
Discussion started by: slade
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
I want to know working of dial-up internet on the PC.
Please tell me how internet connection and ip address assigning happened.
I know all this procedure in the broadband internet. But I confused for the
'dial-up' and 'internet in mobile'.
I am eagarly wait for... (6 Replies)
Discussion started by: jagdish.machhi@
6 Replies
8. Linux
I use Red-Hat 8.0, with Gnome, and I have a dial-up internet connection.
My phone-line however is zero-dial. At first I have to dial 0 to get the
dial tone, and later the number of my service provider.How do I change my
settings to accomodate this ? I tried prefixing the number with 0 and 0, and... (0 Replies)
Discussion started by: sundaresh
0 Replies
9. UNIX Desktop Questions & Answers
Hello,
Do you guys by any chance know what is the best (if any ) way to move CDE configuration from a SOLARIS 10 machine to HP-UX?
Just the config (actions, text files etc).
Thanks in advance! (0 Replies)
Discussion started by: binary0x01
0 Replies
10. Solaris
I have two CDE desktop accounts on different server (called this CDE#1, CDE#2) on the same network.
However, my current setup is connecting to the Solaris CDE#1,CDE#2 via Citrix.
My plan is to connect to CD#1 and then somehow connect to CDE#2.
How do I do this? I am just a regular user... (0 Replies)
Discussion started by: tthach830
0 Replies
LEARN ABOUT OSX
lwp::authen::ntlm
LWP::Authen::Ntlm(3) User Contributed Perl Documentation LWP::Authen::Ntlm(3)
NAME
LWP::Authen::Ntlm - Library for enabling NTLM authentication (Microsoft) in LWP
SYNOPSIS
use LWP::UserAgent;
use HTTP::Request::Common;
my $url = 'http://www.company.com/protected_page.html';
# Set up the ntlm client and then the base64 encoded ntlm handshake message
my $ua = LWP::UserAgent->new(keep_alive=>1);
$ua->credentials('www.company.com:80', '', "MyDomain\MyUserCode", 'MyPassword');
$request = GET $url;
print "--Performing request now...-----------
";
$response = $ua->request($request);
print "--Done with request-------------------
";
if ($response->is_success) {print "It worked!->" . $response->code . "
"}
else {print "It didn't work!->" . $response->code . "
"}
DESCRIPTION
"LWP::Authen::Ntlm" allows LWP to authenticate against servers that are using the NTLM authentication scheme popularized by Microsoft.
This type of authentication is common on intranets of Microsoft-centric organizations.
The module takes advantage of the Authen::NTLM module by Mark Bush. Since there is also another Authen::NTLM module available from CPAN by
Yee Man Chan with an entirely different interface, it is necessary to ensure that you have the correct NTLM module.
In addition, there have been problems with incompatibilities between different versions of Mime::Base64, which Bush's Authen::NTLM makes
use of. Therefore, it is necessary to ensure that your Mime::Base64 module supports exporting of the encode_base64 and decode_base64
functions.
USAGE
The module is used indirectly through LWP, rather than including it directly in your code. The LWP system will invoke the NTLM
authentication when it encounters the authentication scheme while attempting to retrieve a URL from a server. In order for the NTLM
authentication to work, you must have a few things set up in your code prior to attempting to retrieve the URL:
o Enable persistent HTTP connections
To do this, pass the "keep_alive=>1" option to the LWP::UserAgent when creating it, like this:
my $ua = LWP::UserAgent->new(keep_alive=>1);
o Set the credentials on the UserAgent object
The credentials must be set like this:
$ua->credentials('www.company.com:80', '', "MyDomain\MyUserCode", 'MyPassword');
Note that you cannot use the HTTP::Request object's authorization_basic() method to set the credentials. Note, too, that the
'www.company.com:80' portion only sets credentials on the specified port AND it is case-sensitive (this is due to the way LWP is coded,
and has nothing to do with LWP::Authen::Ntlm)
AVAILABILITY
General queries regarding LWP should be made to the LWP Mailing List.
Questions specific to LWP::Authen::Ntlm can be forwarded to jtillman@bigfoot.com
COPYRIGHT
Copyright (c) 2002 James Tillman. All rights reserved. This program is free software; you can redistribute it and/or modify it under the
same terms as Perl itself.
SEE ALSO
LWP, LWP::UserAgent, lwpcook.
perl v5.16.2 2012-01-13 LWP::Authen::Ntlm(3)