Esempio n. 1
0
 private bool CheckUserDN(string userDN, string server, int portNumber,
                          bool authentication, string login, string password, bool startTls)
 {
     try
     {
         return(_ldapHelper.CheckUserDN(userDN, server, portNumber, authentication, login, password, startTls));
     }
     catch (Exception e)
     {
         log.ErrorFormat("Wrong User DN parameter: {0}. {1}", userDN, e);
         return(false);
     }
 }