From sporter at rit.net Tue Nov 2 08:59:00 1999 From: sporter at rit.net (Shawn Porter) Date: Thu Aug 5 00:19:52 2004 Subject: [rochester-pm-list] NT & Perl - Credentials Message-ID: I'm writing a Perl script to automate some stuff on NT (yes, it sucks) and I'm having a problem. One of the things it does is delete a file from a remote share. At first, when I tried to delete the files I would get a "Permission denied" error. Then, I tried to use a net use command to access the share and I'm getting a "conflicting credentials" error message. What's up with that? Any ideas what I'm doing wrong? I'm able to read the files fine. Both systems have an account with the same username and password. The files that I want to delete on the remote machine (and the dir they're in) have full access for the account I'm running this as. The net use command I'm using is: "net use \\galen\logs /U:scheduler_user the_password" Please help. -- Shawn Porter http://www.rit.net/sporter sporter@rit.net From sporter at rit.net Tue Nov 2 09:28:59 1999 From: sporter at rit.net (Shawn Porter) Date: Thu Aug 5 00:19:52 2004 Subject: [rochester-pm-list] NT & Perl - Credentials In-Reply-To: Message-ID: Forget it. We figured it out. For some reason we had to give permission for the account we created the ability to "act as the operating system." Strange. Give me a good 'ol *nix any day. :) -- Shawn Porter http://www.rit.net/sporter sporter@rit.net -- On Tue, 2 Nov 1999, Shawn Porter wrote: > I'm writing a Perl script to automate some stuff on NT (yes, it sucks) and > I'm having a problem. One of the things it does is delete a file from a > remote share. > > At first, when I tried to delete the files I would get a "Permission > denied" error. Then, I tried to use a net use command to access the share > and I'm getting a "conflicting credentials" error message. What's up with > that? Any ideas what I'm doing wrong? > > I'm able to read the files fine. Both systems have an account with the > same username and password. The files that I want to delete on the remote > machine (and the dir they're in) have full access for the account I'm > running this as. The net use command I'm using is: > > "net use \\galen\logs /U:scheduler_user the_password" > > Please help. > > -- > Shawn Porter > http://www.rit.net/sporter > sporter@rit.net > From bmathis at directedge.com Sun Nov 14 17:26:08 1999 From: bmathis at directedge.com (Brian Mathis) Date: Thu Aug 5 00:19:52 2004 Subject: [rochester-pm-list] Meeting this week Message-ID: <382F4510.C4A2EDD5@directedge.com> We will be having a meeting this Wednesday at Boldo's armory. Details at: http://rochester.pm.org. This meeting, we will have a general Q&A type session. If you are working on something and need some help, or just want to go over some general aspects of Perl, including the basics, we can do all of that. Hope to see you all there. -- Brian Mathis Direct Edge From bmd5456 at rit.edu Sat Nov 20 13:17:10 1999 From: bmd5456 at rit.edu (Bryan Dennstedt) Date: Thu Aug 5 00:19:52 2004 Subject: [rochester-pm-list] PGP help... Message-ID: <4.2.0.58.19991120140618.00956800@vmspop.rit.edu> Hey Perl Mongers, I'm trying to do some kewl stuff on 9netave's servers with PGP... but to no avail... I Think I need a lesson on how modules work... I though I knew but the ten thousand variations I'm trying just don't seem to be working... Here is my code I'm playing with... It doesn't work the way I expect any pointers? =============================================== print "hi\n
"; $textencrypt = "Bryan Rules!"; $pgppath = "/usr/local/bin"; $pgpexec = "pgp"; print "

TEXT: $textencrypt

"; #use PGP::new; $pgp = new PGP $pgppath, $pgpexec; print "middle"; $encrypted_document = Encrypt $pgp Text => $textencrypt, Password => 'bry'; print "$encrypted_document

"; print "bye\n
"; =============================================== For me it doesn't seem to be getting past the new PGP path exec command... but the program runs fine... no errors... if I comment out the use line the program dies... maybe its a server config problem... the FAQ I'm referring to for help on this is here. http://faq.9netave.com/perldoc/PGP_Pipe.html Any pointers? Thanks! -Bryan From bmathis at directedge.com Sat Nov 20 18:45:05 1999 From: bmathis at directedge.com (Brian Mathis) Date: Thu Aug 5 00:19:52 2004 Subject: [rochester-pm-list] PGP help... References: <4.2.0.58.19991120140618.00956800@vmspop.rit.edu> Message-ID: <38374091.23B56E44@directedge.com> Bryan Dennstedt wrote: > > Hey Perl Mongers, > > I'm trying to do some kewl stuff on 9netave's servers with PGP... but to no > avail... I Think I need a lesson on how modules work... I though I knew but > the ten thousand variations I'm trying just don't seem to be working... > > Here is my code I'm playing with... It doesn't work the way I expect any > pointers? > > =============================================== > print "hi\n
"; > $textencrypt = "Bryan Rules!"; > $pgppath = "/usr/local/bin"; > $pgpexec = "pgp"; > print "

TEXT: $textencrypt

"; > #use PGP::new; > $pgp = new PGP $pgppath, $pgpexec; > print "middle"; > $encrypted_document = Encrypt $pgp Text => $textencrypt, Password => 'bry'; > print "$encrypted_document

"; > print "bye\n
"; > =============================================== > > For me it doesn't seem to be getting past the new PGP path exec command... > but the program runs fine... no errors... > if I comment out the use line the program dies... maybe its a server config > problem... > the FAQ I'm referring to for help on this is here. > http://faq.9netave.com/perldoc/PGP_Pipe.html > Any pointers? > Thanks! > -Bryan Well, I don't know much about the PGP module, and it looks pretty clunky. If you could describe what you expect it to do, and also what it is doing, that would help a lot ("doesn't work" doesn't give much info about what it's actualy doing). -- Brian Mathis Direct Edge From havoc at shell1.eznet.net Mon Nov 22 11:52:52 1999 From: havoc at shell1.eznet.net (Pat) Date: Thu Aug 5 00:19:52 2004 Subject: [rochester-pm-list] PGP help... In-Reply-To: <4.2.0.58.19991120140618.00956800@vmspop.rit.edu>; from Bryan Dennstedt on Sat, Nov 20, 1999 at 02:17:10PM -0500 References: <4.2.0.58.19991120140618.00956800@vmspop.rit.edu> Message-ID: <19991122125252.A14021@shell1.eznet.net> On Sat, Nov 20, 1999 at 02:17:10PM -0500, Bryan Dennstedt wrote: > #use PGP::new; > $pgp = new PGP $pgppath, $pgpexec; > print "middle"; > $encrypted_document = Encrypt $pgp Text => $textencrypt, Password => 'bry'; > print "$encrypted_document

"; > print "bye\n
"; > =============================================== > > For me it doesn't seem to be getting past the new PGP path exec command... > but the program runs fine... no errors... > > if I comment out the use line the program dies... maybe its a server config > problem... > > the FAQ I'm referring to for help on this is here. > > http://faq.9netave.com/perldoc/PGP_Pipe.html > > Any pointers? > > Thanks! > > -Bryan > The faq refers to use PGP::Pipe; I would try that first. The module hasn't been updated since '96 (according to CPAN), I'd be a little leary of it for that reason alone. There seem to be a bunch of other more recent modules for use with PGP. Please post the exact errors that you are seeing. Hope this helps, --Pat Ludwig havoc@boldo.com From bmathis at directedge.com Mon Nov 22 15:12:18 1999 From: bmathis at directedge.com (Brian Mathis) Date: Thu Aug 5 00:19:52 2004 Subject: [rochester-pm-list] [PJA] Perl Coder (DBI, CGI) (fwd) Message-ID: Here's an interesting one from the perl jobs mailing list. Anyone want to wark at home for a while? --- Brian Mathis Direct Edge ---------- Forwarded message ---------- Date: Mon, 22 Nov 1999 14:43:24 -0500 (EST) From: patrick@whetstonelogic.com To: perl-jobs-announce@happyfunball.pm.org Subject: [PJA] Perl Coder (DBI, CGI) We are looking for a telecommuter to work for us full time. Specifically we are looking for Perl Coders who are strong in DBI and CGI applications. We are a FreeBSD & Solaris shop, so we need a Unix/Linux person. Familiarity with other p rogramming languages is always a plus, as is knowledge/experience in various databases (MySQL, Oracle, DB2, Sybase, etc). An intense dislike of Microsoft solutions is a requirement. With a telecommuting position, the employee will need to have a strong work ethic and be of trustworthy character. An English speaking person is a must, but other languages are a plus. Applicants must have good communication skills, and be able to work closely with others over long distances. We will not sponsor H1B visa. Salary will be commensurate with experience and abilities. Some of the benefits we will provide are: computer, high-speed access (if availible), medical benefi ts, flexible hours, and of course, no dress code (while at home). Employee must be able to travel to our headquarters on a quarterly basis. Please send your questions, resume and references to patrick@whetstonelogic.com. [Perl Jobs Announce List]