Programming :: Perl NTLM Authenticating Module

Nov 10, 2010

I'm trying to write a script in Perl to download a file that requires NTLM authentication to access, stored on a machine on this network.The file exists, and can be accessed through a web-browser, btw.

View 1 Replies


ADVERTISEMENT

Programming :: Debug The NTLM LWP Module ?

Nov 11, 2010

I'm trying to debug the NTLM LWP module.

I added use LWP:ebug qw(+); to the top of my script, but I can't see any change.

I'm on Windows if that makes a difference (installed activeperl).

I know there are probably a million reasons why something perl won't work, but can anyone help me get debug logging showing up?

View 1 Replies View Related

Programming :: Perl Module Installation Fails

Jan 12, 2011

Using perl -MCPAN -e shell then install Mail::Message then yes to everything (except the test that needed an IMAP server) resulted in.

View 3 Replies View Related

Programming :: Socket Programming In Module Perl

Jul 21, 2010

Where is the perl module for programming with sockets?

View 4 Replies View Related

Programming :: Perl Module For Getting Information From Remote Machines

Oct 16, 2010

I need to get some information like cpu usage,free memory,swap memory and other information from a bunch of remote hosts.Can any one tell me of a good perl module which does that.I dont want to use Net::Rsh or Net:SSH.

View 14 Replies View Related

Programming :: NTLM Authentication PHP?

May 20, 2010

I'm writing some php code and part of it sending an email through smtp server, I used Mail.php from pear but unfortunately I didn't work since the smtp server is using NTLM authentication.Any alternates to Mail.php could solve this problem?

View 1 Replies View Related

Ubuntu :: How To Use Perl Module?

Jul 3, 2011

How do I use a perl module? Am I suppose to call it from the terminal?

View 2 Replies View Related

Fedora Installation :: How To Install Perl Module At AWS?

Mar 15, 2010

I need to install the Perl DBI and DBI::mysql modules at Amazon Web Services. Perl 5.8.8 is installed there as part of the default Fedora linux that comes with an EC2 instance. I am not familiar with Fedora, but have been using Linux for a good while.If anyone could tell/show/direct me to the quickest way to do this.

View 1 Replies View Related

General :: Not Able To Install Bugzilla Module In Perl

Jul 21, 2011

I am using RHEL5 64 bit. I am trying to install bugzilla. While installing i am getting error.

View 2 Replies View Related

Red Hat :: Installing Perl (v5.8.8) Module For Connecting To MySQL

Aug 2, 2010

I want to connect to MySQL Database installed on RHEL 5 using perl v 5.8.8.The available DBD perl drivers installed on my machine are:DBM, ExampleP, File, Pg, Proxy, Sponge..I downloaded DBD-mysql-2.1012 and tried installing DBD again but got the following error:Can't exec "mysql_config": No such file or directory at Makefile.PL line 167.readline() on closed filehandle PIPE at Makefile.PL line 169.On searching I found that I need to install libz-devel prior to installing driver for MySQL for Perl.

View 1 Replies View Related

Ubuntu :: Using Perl Module To Retrieve Data From IPod

Apr 29, 2010

I am trying to make use of the perl module WWW::Nike::NikePlus to retrieve the data from my ipod but apparently I have no idea what I am doing. I installed the package just as the readme said including all the dependencies. I cant really figure out how to run it, i searched for how to use it and found this : Example use that retrieves and prints your last run information

use WWW::Nike::NikePlus;
my $username = 'my@email.address';
my $password = 'MySecretPassword';
my $locale = "en_us";
my $pin = nike_authenticate( $username, $password, $locale );
unless( $pin ) { print "Authentication failed
"; } .....

#Details of the last run
my ($unit, $last_run_dist, $last_run_duration_millisecs,
$last_run_duration_friendly, $last_run_pace_friendly) = nike_last_run();
print "Last run: $last_run_dist$unit in $last_run_duration_friendly
";
print "Last run pace: $last_run_pace_friendly per $unit
";

So I put it in a txt file and saved it with the extension .pl and of course I put in all my info in the username password fields then made it executable with the command sudo chmod +x nikeplus.pl and when I try to run it with either ./ or perl I get this output:

brandon@desktop:~/Apps/nikeplus$ ./nikeplus.pl
./nikeplus.pl: line 1: use: command not found
./nikeplus.pl: line 2: my: command not found
./nikeplus.pl: line 3: my: command not found
./nikeplus.pl: line 4: my: command not found
./nikeplus.pl: line 6: syntax error near unexpected token `('
./nikeplus.pl: line 6: ` my $pin = nike_authenticate( $username, $password, $locale );'
brandon@desktop:~/Apps/nikeplus$ perl nikeplus.pl
Use of uninitialized value $ENV{"TEMP"} in concatenation (.) or string at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 10.
Use of uninitialized value $last_run_duration_millisecs in division (/) at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 106.
Use of uninitialized value $last_run_dist in division (/) at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 107.
Use of uninitialized value $last_run_duration_millisecs in division (/) at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 107.
Illegal division by zero at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 107.
brandon@desktop:~/Apps/nikeplus$

View 2 Replies View Related

Ubuntu Servers :: 10.04 - ERROR: Module Perl Does Not Exist

Jun 14, 2010

I have Apache/2.2.14 (Ubuntu) DAV/2 SVN/1.6.6 mod_fcgid/2.3.4 Phusion_Passenger/2.2.14 PHP/5.2.10-2ubuntu6 with Suhosin-Patch configured In UBUNTU 10.04 I like to install apache2 mod_perl I make apt-get install libapache2-mod-perl2 and I get: Quote: libapache2-mod-perl2 is already the newest version.

Ok I try sudo a2enmod mod_perl ERROR: Module perl does not exist! how I make Perl work in apache2 UBuntu 10.04

View 3 Replies View Related

Software :: Attempting To Installing Perl Module Gimp::Fu?

Oct 29, 2010

I'm attempting to set up a GIMP scripts for batch operations on groups of image files. Initially I started reading about the Script-Fu syntax but it looked too convoluted (at least for me, with 15 years of Perl experience at work) in a way it does the simpliest of things so I attempted to use Perl instead of Script-Fu. From reading the docs I see that I need to install "Gimp::Fu" Perl module. I installed "cpan" first, started it and issued the command:

install "Gimp::Fu"

and got a dependency problem:

Code:

cpan[1]> install "Gimp::Fu"
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
Database was generated on Thu, 28 Oct 2010 17:30:45 GMT

[code]....

View 3 Replies View Related

Server :: Install Different Version Of Perl+module Without Affecting The Existing One ?

May 10, 2011

I need to install different version of Perl with needed modules to Test Run a perl script (ASSP) without affecting the existing one as the old version of Perl is buggy with seg fault.

View 5 Replies View Related

Software :: Perl Module Installation In Custom Location Using Cpanplus

May 19, 2011

I have installed perl5.12.3 in a custom location, ( a NFS share). I have all the libraries created in the same location. This was an attempt not to disturb existing version of perl. I have succeeded doing this.Now, I need to install around 200 perl modules. I tried Bundle option in CPAN shell, it somehow did not work. Does anyone here know off any other better method of installing multiple perl modules. How do I use CPANPLUS to install all the modules. What changes do I make to Config.pm considering custom location of perl installation I have done.

View 1 Replies View Related

Software :: Getting Bugzilla Setup On RedHat - Perl Install-module.pl DBD - Mysql ?

Apr 12, 2010

I am having some issues getting Bugzilla setup, I have the software on the server and am trying to get the pre-rec's setup.

I am using RedHat 4.1.2-42.

I have all of the required perl modules save one:DBD::mysql

When I try:

I get the following response(this is only an excerpt):

Can't test without successful make Running make install make had returned bad status, install seems impossible.

View 14 Replies View Related

Programming :: Load Fortran Module For Matio Libraries Using Gfortran - Can't Open Module File 'matio.mod' For Reading

Jun 27, 2010

I am interested in using fortran and an external library called matio used to save arrays to matlab .mat files. I have installed the matio and matio-dev packages from synaptics but i cannot compile a code receiving an error Code: christos@christos-laptop:~/Desktop$ gfortran -o test test.f90 -lmatio -lz test.f90:2.13: USE MATIO 1

Fatal Error: Can't open module file 'matio.mod' for reading at (1): No such file or directory How can i load a module in order to use it in fortran through the GCC compiler?

View 1 Replies View Related

Ubuntu :: Perl Modules Using CPAN - Get The Message From CPAN That This Module Is Already Up To Date?

Jun 7, 2010

I tried to use CPAN to install a module Algorithm::Loops using "install Algorithm::Loops". I get the message from CPAN that this module is already up to date.But, when I try to use it I get the message:

Can't locate Algorithm/Loops.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ./test.pl line 4.
BEGIN failed--compilation aborted at ./test.pl line 4.

And indeed, the file Loops.pm is nowhere to be found.Isn't that a contradiction?

View 2 Replies View Related

Programming :: Paralel Port Kernel Module Programming

Jan 5, 2011

do you have any code to flash led lights with paralel port (device driver programming)or any lecture about this subject .if there is a working code this would be better ofcourse.

View 1 Replies View Related

CentOS 5 :: Perl CPAN GD Module Failing - Can't Locate Object Method "png" Via Package "GD::Image"

Jun 29, 2010

I have CentOS 5.4 and have installed CPAN GD module.Installation messages seemed clean and successful.When I try to create a png file, perl gives the error message :

Can't locate object method "png" via package "GD::Image" at
/usr/lib/perl5/vendor_perl/5.8.8/DBD/Chart/Plot.pm line 1276 (#1)
(F) You called a method correctly, and it correctly indicated a package
functioning as a class, but that package doesn't define that particular
method, nor does any of its base classes. See perlobj.

Also, the following perl one-liner gives answer "No".

perl -e 'use GD; $im=GD::Image->new(); print $im->can("png") ? "Yes" : "No" , "
";'

I suspect that this GD module requires Image::Magick, but that borks on installation.

Magick.xs:2344: warning: implicit declaration of function �MagickCoreGenesis�
make: *** [Magick.o] Error 1
JCRISTY/PerlMagick-6.59.tar.gz

[code]...

View 3 Replies View Related

Software :: LDAP Or NTLM And SQL For Authenication?

Sep 23, 2010

I have a problem I hope someone here can give me some guidance on. I have been looking for ways to do this and so far have come up short. My need is to keep logs of usage of several copiers for billing purposes. The copiers have a built in account code system, with a 999 code limit and will keep the counts, however we have about 12,000 active accounts. Not every account will have usage every month and not every copier needs every account. The last thing I want to have to do is manually update the copier account information every day.

The copiers can authenticate against NTLM (v1 and v2) and "Active Directory" I am told they will happily access LDAP or e-Directory (we are a Novell shop). I dont' want to authenticate users, I want to authenticate "Accounts". I have a MS SQL database that has the "Account information" and my thought was to set up a way to have an LDAP server access the M$ SQL DB (probably a view) to get authentication for the copier to allow the prints and keep the counts. Which I can then import weekly into the accounting system.

So the question is has anyone ever done something like this? Anyone have any idea how best to go about accomplishing this? I guess I could set up an LDAP server separately for the purpose, but it seems I should be able to consolidate things more than that, so that if the account is "Active" it is Authenticated to the copiers If this works well, I will be probably be moving to moving to phone authentication next.

View 3 Replies View Related

General :: Configure NTLM Authentication In Firefox?

Apr 7, 2010

Our IT department have NTLM deployed through the intranet servers.I've set network.automatic-ntlm-auth.trusted-uris value in Firefox on some of the Windows machines and that works fine.However setting it in Firefox on the Linux machines is not working.This doesn't surprise me at all, I've no notion of where Firefox on Linux is supposed to get the authentication details from.So how is this process supposed to work? what bits of config / infrastructure am I missing?

View 1 Replies View Related

General :: How To Configure NTLM Auth For Apache

Feb 23, 2010

I want to configure NTLM for my Apache webserver, so that it uses active directory login credentials.
Additional info : my listen port will be 82 (http://xxxx.com:82)

View 1 Replies View Related

Programming :: Cannot Install Perl / Tk

May 9, 2010

I just downloaded Tk-804.028 and try to install it (according to the README.linux) but I get:

> perl Makefile.PL
/opt/ActivePerl-5.10/bin/perl-static is installed in /opt/ActivePerl-5.10/lib okay
PPM for perl5.010001
Test Compiling config/perlrx.c
Test Compiling config/pmop.c
Test Compiling config/pregcomp2.c

[code]...

View 5 Replies View Related

Programming :: Perl Tutorial To Use?

May 18, 2011

Any recommendations on what Perl tutorial to use?

View 1 Replies View Related

Programming :: Converting MB/TB To GB In Perl?

Jan 30, 2010

I am taking an input from the user for free and Used capacity in a disk. I wish to convert Input entered in MBTB to GB and this is how i am doing it.

Code:

<some code>
print "Enter Total disk space";
$tot = <STDIN>;
convert($tot);

[code]...

how do i pass the value of conv[0] after conversion back to $tot or $use such that they contain only value which is in GB?

View 3 Replies View Related

Programming :: How To Get Perl Qt4 Working

Jul 24, 2010

I really would like Perl Qt4 bindings. The best I could find is this:[URL]The problem is that the sources would not compile, and the RPMs are for 32-bit machines.Is there really no such thing as good Perl Qt4 bindings?

View 8 Replies View Related

Programming :: MP3 - Tag And Perl Script

Mar 27, 2011

I am a newbie on linux and just searching everything about perl scripting and modules nearly 3-4 days. I need a perl script but one of not easy to find on searching google. Okay now I need a perl script which create or recreate (edit) id3 tags (artist, comment, album, year, cover) of mp3 files stored on my linux centos server. I installed MP3::Tag version 1.13 pearl module to my server. I Searched tutorials about how to use it, finally I get through reading id3 tag of mp3 file but not achieve to modify it or create a new id3tag.

These are the details:
I have a mp3 file called 1.mp3 this script will process that '1.mp3' file read its id3tag if there is one, than modify or create id3tag for it by my fix artist name for example:
'1.mp3' files id3 tag details are like this
Artist: Dj xx
Year:2010
Title:yyyyy
Comment:eerwer
Cover: x.jpg

Now via this perl script which uses MP3::TAG I will change it's
artist as YYY
Title:ttt
Comment:cool
Cover:t.jpg
these are gonna be my fixed values. I mean all '1.mp3' file will have same artist based on script value.

The reason of this script is I will share Dj podcasts on my server and Dj's would have upload their mp3's which has got different id3 tags and cover pics. etc. I want to create more organized podcasts of them by the way I would trigger this perl script via Cronjob.

View 14 Replies View Related

Programming :: How To Generate MD5 / Sha-1 With Perl

Mar 31, 2010

How can I generate a md5 or sha-1 code with perl?

View 2 Replies View Related

Networking :: SSH Tunnel Through NTLM Authenticated HTTP Proxy

Mar 7, 2010

I have a problem setting up a SSH tunnel. I know how it's usually done, but the setup is different this time. I am behind a HTTP(S) and FTP proxy, that does NTLM authentication, and I want to access a server beyond the proxy.
MY CLIENT <-> LAN <-> HTTP PROXY <-> INTERNET <-> MY SERVER

So far, the best I have achieved is installing and configuring CNTLM as a local proxy for the authentication part. Using CNTLM, I managed to access and mount a secured (https) DAV share using davfs2. In theory, CNTLM should let me setup permanent tunnels from local ports to distant ports, and it does; however these tunnels don't seem to work for SSH nor for IMAP (another protocol I tried).

I suspect the problem is that neither SSH nor IMAP is HTTP- or FTP-based, but anyway it does not work. So back to square one: how should I proceed to get ssh to connect through the HTTP proxy (with NTLM authentication) to the remote server? For that matter, if there's a better way than SSH to create a tunnel, that would work in my situation, that's OK with me. Just in case, here are the relevant parts from my firewall setup on the server:

Code:
# default policies
iptables -t filter -P INPUT DROP
iptables -t filter -P FORWARD DROP
iptables -t filter -P OUTPUT ACCEPT

# reset
iptables -t filter -F INPUT
iptables -t filter -F FORWARD
iptables -t filter -F OUTPUT

# allow continuation of established connections
iptables -t filter -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -t filter -A INPUT -f -j ACCEPT

# allow local connections
iptables -t filter -A INPUT -i lo -j ACCEPT

# open ports:
# ssh
iptables -t filter -A INPUT -p tcp --dport 22 -j ACCEPT
Yves.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved