Monday, September 26, 2011

how to perl CPAN automatically follow dependencies

Problem: I had 2 computers with a fresh install of cygwin. I wanted to install the perl module XML::TreeBuilder. The issue as I learned on the first one the dependency list stretched longer than SHAQ's wingspan.

Solution:
bash$> export PERL_MM_USE_DEFAULT=1 && perl -MCPAN -e 'install XML::TreeBuilder'

when you come back 20+ minutes later it will be done

Labels: , , , ,

Thursday, September 22, 2011

PDF to epub FREE conversion

The PDF reader in the iOS application dropbox kinda sucks. It doesn't remember last page allow for any notes or all of the interesting features of the kindle app.

I wanted to translate a physical book that I had scanned and converted to PDF into the epub format. I downloaded some application that when it performed the conversion on the PDF all of the odd pages were upside down. This was particularly troubling. I found the following worked:

1) Open the PDF in my dropbox application to begin viewing the file
2) There is a export button in the PDF viewer in the top right of the reader
3) Ensure that there is iBooks available on your iOS based device
4) select export to iBooks and the PDF will be converted to epub thus allowing iBooks to open the document.

It was a HUGE boon.

Dropbox is free for 2GB of storage space and iBooks is also free from the appstore. All of the formatting was there and I didn't have to pay 30 dollars for a epub converter

Wednesday, October 22, 2008

How do you enable troubleshooting logging in exchange

Problem: Very odd error that is only happening on a particular exchange client and would like to be able to look into the issue.

Navigate to: Tools > Options > Other > Advanced Options > Enable logging (troubleshooting)

Thursday, July 03, 2008

User doesn't have access to sharepoint

I found that by default the users aren't setup with a group as to allow them access to sharepoint. After a few moments of searching I found this article that describes the configuration necessary from the OS as well as the application side.

http://support.microsoft.com/kb/823278

Saturday, June 28, 2008

how do I find old computer accounts in a active directory domain

There is a utility called oldcmp that allows you to do just that. Its and application that can be found from joeware.net:

http://www.joeware.net/freetools/index.htm

Friday, June 27, 2008

Getting a csv output of your active directory domain controller

I first saw a reference to cvsde on techrepublic and then look into it a little further when I learned that the utility ldifde wouldn't export everything.

cvsde is a nice little built in utility that allows you to dump or import a CSV file of the active directory database.

It can be executed simply for exporting the database by:

cvsde -f file.csv this will execute against a the local domain

How do I get a new Windows SID

I have a windows vmware instnace and I need a new SID in order to join the domain.

I've found that there is a utility from sysinternals.com called NewSID. NewSID can be found at: http://technet.microsoft.com/en-us/sysinternals/bb897418.aspx

nslookup to find a domain controller

How do I find a domain controller using nslookup. I found that the domain controller is an SRV record. See http://support.microsoft.com/kb/816587

But the process is defined as:

nslookup
> set type=all
>_ldap._tcp.dc._msdcs.Domain_Name


It should come back with the list of domain controllers

How to delegate a child domain within Active directory

I was asked to do a child domain delegation recently within active directory. I found a knowledge base article that lays it out for you. Child domain delegation information can be found at: http://support.microsoft.com/kb/255248/

Linux installation freeze with Athlon x2

I had a linux CentOS 5 installation that was freezing right after I hit the enter button after the first splash screen.

I found out that I needed a few kernel arguments in order to make that work:
linux noapic acpi=off nofb

The above turned off acpi which allowed it work like I was expecting.

How do I get a list of all of the distinguished names for an OU

If I have an OU say IT within my domain sample.com. Making use of dsquery to get all of the OU you need to make use of. Using the following command will exceed the limit to 100,000 and only give you the distinguished name.

dsquery user OU=Sales,DC=Microsoft,DC=Com -o dn -limit 100000

userAccountControl track if a user has been disalbed from ldap

I was asked recently how to track from ldap if a user account has been disabled. I found this knowledge base article: http://support.microsoft.com/kb/305144

Using this and the cvsde is very helpful

Friday, August 24, 2007

SSL Client authentication error

I had done this before but I forgotten about SSL client authentication with Apache so I enabled it and found that if you don't present a certificate with Apache 2.0.59 and Mod_SSL 2.0 it will throw this very interesting error at you:

Happens in IE and Netscape, the latter reporting 'Could not connect because
of unknown SSL error -12227'.

This is a result of not being able to complete the SSL handshake