[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Password Server through MacPerl



yaks@dazedandconfused.com writes:
}I am writing this to bounce this idea out to you all and see what
}happens.
}
}I need to somehow log into a passwrod server, change the password, and
}logout, for e-mail purposes. Eudora does it so I know it can be done
}from an app, so there has to be a way to do it in perl. I am using EIMS,
}and the password server is enabled, and working, but frankly I have no
}clue where to start to write a script to do such a thing.
}I looked through CPAN for modules, but I found none that let you log
}into a password server.
}
}I would really appreciate any help any of you may give me.

If this is something that is done through the POP server, what I would do
is first find out what EIMS wants in the way of commands to change the
password, and then hack a copy of Net::POP3 to send them   Net::POP3 is
part of the libnet package, and already knows how to retrive mail via POP.
The MacPerl port of libnet is at
<ftp://mors.gsfc.nasa.gov/pub/MacPerl/Scripts/>.

The only problem might be if the user/password is required to be encrypted
by something like MD5.  The Perl MD5 module won't work under MacPerl
without Matthias' intervention because it's just a Perl wrapper around a C
core that does the actual job.  But if all it wants is the new password in
the clear, you should be able to figure out how to send it.

}
}
}***** Want to unsubscribe from this list?
}***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch


--------
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693
Greenbelt, MD 20770
schinder@pjstoaster.pg.md.us


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch