Back On-line after hiatus

February 20th, 2010

Hi Everyone,

When I went on parental leave last year it roughly coincided with the upgrade of the user managed webservers to a new version of ubuntu. It took me a while to figure out the correct way to get apache to recognize the location for the wordpress blog. I may post about it, after I consult with the cs core staff to figure exactly what happened and why so I know what problems were caused by the wordpress config and the local apache config.

IPP printing available for testing

June 12th, 2009

I’ve made IPP printing available to users on the dgp network. Instructions can be found on the dgpwiki:

www.dgp.toronto.edu/dgpwiki/PrintersandFax

under “Printing Via HTTP” . I’ve tried this out on windows, linux and mac clients. It appears that the postscript errors linux used to receive
on some pdfs files don’t occur with the new system.

June 8 to June 12th, 2009

June 9th, 2009

This week I’ll be trying to roll out an IPP printing system, as well as continuing on the tasks from the previous week.  Microsoft security patches are also being rolled out.

  • Black network switchover tests
  • IPP print server
  • WSUS server updates

Signing a certificate request on a Windows 2003 Enterprise CA

June 9th, 2009

I was doing some testing of ssl on iis web servers and I needed to generate an certificate using a certifcate authority I had set up on a windows server. I got an error when I tried to use the gui, the cause of which microsoft explains here

Here’s the error:

Certificate Request Processor

The request contains no certificate template information. 0x80094801 (-2146875391)
Denied by Policy Module 0x80094801, the request does not contain a certificate template extension or the Certificate Template request attribute.

The solution is to use the command line tool certreq and specify the template to use (in this case, WebServer). Here is the command:

certreq -submit -attrib “CertificateTemplate: WebServer” certreq.txt

Thanks to Davidr for the original post.

Work-around for retreiving SNMP info from Phaser 6250 using Windows 2003 IPP printing

May 27th, 2009

There’s seems to be a problem with the way the Err object in asp handles some of the data it receives from Xerox Phaser 6250 printers.  This prevents it from being able to display snmp information using the “Device Status” page in windows IPP .  I found a work around by editing the ipp_0000.inc file in c:\windows\web\printers .  Here’s the original code:

   hrPrintDetectedState = objSNMP.GetAsByte (“25.3.5.1.2.” & StrDevice)
    If Err Then Exit Function

This works fine for an hp2430 printer, but gives an invalid argument error when run against a xerox phaser 6250 without any error conditions.  Using an MIB browser, I checked 1.3.6.1.2.1.25.3.5.1.2.1 to see what each return for the hrPrinterDetectedErrorState.1 when there wasn’t an error.  The hp printer returns nothing, but the Xerox Phaser returned an octet string of 00-0x00-0x00-0x00 which possibly caused some time of error for the GetAsByte function.

As a work around, I did this:

hrPrintDetectedState = objSNMP.GetAsByte (“25.3.5.1.2.” & StrDevice)
    If Err Then Err.Clear

May 25th to 29th

May 25th, 2009

The IPP printing system so far seems to work well with windows, linux and mac clients, with the caveat that print management from cups clients isn’t supported. To work around this, I’ve had to change the default ErrorPolicy to abort-job for those clients, and use the web interface to manage the print jobs.

  • Continued black network switchover tests
  • Update automated scripts for non-nfs linked dgp servers

Resolved Hydra update problem

May 22nd, 2009

The rpm package “file” conflicted with the dependencies for httpd on all the nodes except neuron-0-24, which had been recently re-installed. I ran yum clean metadata and was able to get the other nodes to update correctly.

Custom print settings for Mac OS X clients

May 21st, 2009

While I was experimenting with IPP printing last week, I found a link to a great site that explained how to fully customize the printer setup on mac os x clients.  Here is a link to the article. The important thing is knowing that you have to add the “Advanced” Icon to the toolbar in the print options in order to add a printer with an arbitrary string (i.e. that starts with http, or includes username:password in the printer location). Instead of setting up a samba printer, I used it to add the http printer (which is what windows sets up instead of an ipp printer). It looks like it would also be possible to do smb authentication this way, with a string like the following:

smb://username:password@corman/Mom

I haven’t tried this out, but I will be trying this along with other options to see what the best print solution would be. Once I’ve finished I’ll add some instructions to the wiki.

May 19th to 22nd

May 21st, 2009

I’ve made some progress with the IPP printing systems, including figuring out that windows and mac os x clients have different ideas of where to connect to find such services.  So far, it works but doesn’t accurate resolve the printer status after a print job has been sent.

  • Java update on windows machines
  • Continued IPP testing and work
  • Testing new black network scripts

May 11th to 15th

May 12th, 2009

Windows software updates are released this week.  I’ll also be working on setting up a few different silent  installers that rely on the innodb installer, since the command line options for it are well defined.

  • Windows security updates
  • innodb silent installers for xming, audacity
  • testing IPP printing through windows