Experimenting with querying WMI from Perl with Win32::OLE, I ran across the following WMI query options in an Perl example from Microsoft’s Script Center: After some digging, I found the following explanation of those options wbemFlagReturnImmediately, and wbemFlagForwardOnly: Because WMI manages the object, semisynchronous mode is more secure than asynchronous mode. However, if you use [...]
I’m upgrading the components of the user provisioning system I built. Previously, I used ActiveState Perl and the UWinnipeg PPM repository to get the Net::LDAPS stack working. This time, though, I decided I wanted to use the native architecture of my Server 2008 R2 systems. I am using the Perl64 install from ActiveState, but I [...]
I’ve been working on revising and refactoring a Perl application that I wrote about four years ago to handle our domain account provisioning. Originally, it was a monolithic application, running on ActiveState Perl. Now it needs to run on a Windows Server 2008 x64 host. I use a couple of additional modules that are available [...]
Fixed permissions early (6 am) successfully with NetApp fsecurity command. That and the secedit tool made it quick work. Did a little Russinovich-guided analysis of a minidump file created by EMC Networker. Did some more work on UVM::AD module. A number of other accumulated general administration tasks. Wrote this perl one-liner to find the volume [...]
Goal for today: finish moving provisioning. Made some initial progress on separating functionality into different modules. Lots of reading about modules, semantics of use and require. I should probably be creating tests at the same time. Will this ever get done?!
Thirteen is a lucky number! Found the UVM Webteam’s official style guide. Nice level of detail. Installed WinSCP to help a user, then a Windows 7 update. My system rebooted and was unresponsive. After trying several different things, I ended up booting into safe mode and removing WinSCP. Whatever! Get together with Greg to review [...]
Because of my body’s resistance to the artificial manipulation of time zones, I’m running at about ¾-impulse. Happy Birthday to my little sister. A friend pointed out to me that Tax Day is also Same Sex Kiss Day, to be held at your friendly neighborhood Starbucks, or wherever you want, really. On the list for [...]
Goal for today: get auto_provisioning script working. Feeling cold; AC is blowing strong and winning the HVAC smackdown. Made lots of progress on provisioning scripts, then hit brick wall: Need IO::Socket::SSL and Net::SSLeay in order to do Net::LDAP->starttls, and the perldap package from UWinnipeg for Perl 5.10 doesn’t have these available. Do I try to [...]
brian d foy has an article up at O’Reilly with some good tools and tips for better Perl programming. As teasers for his forth-coming Mastering Perl, he mentions some useful tools, like Perl::Tidy and Perl::Critic, and well as some other modules and approaches to make Perl code more useful and reusable.