Removed all calls of exit in ADConnector.pm since its a library
Created by: zlamalp
- We don't want to terminate callers script with exit 1 without any message. Instead we will call die with message on what is wrong. This allows caller to wrap library usage in eval a determine own behavior on failure like "can't contact ldap" etc.
- When opening/closing files fails, we also call die with appropriate message. We work only with namespace configuration and log file in this case.