replace die with error
modified schema with proper variables
Merge pull request #3 from stdweird/freeipa

Use proper error logging and add the schema and default