diff --git a/lib/verifyUser.js b/lib/verifyUser.js
index <HASH>..<HASH> 100755
--- a/lib/verifyUser.js
+++ b/lib/verifyUser.js
@@ -53,7 +53,7 @@ module.exports = {
                 'searchEntry', function (entry) {
                   data.raw   = entry.object;
                   data.valid = true;
-                  if (Number(entry.object.lockoutTime) == 0) {
+                  if (Number(entry.object.lockoutTime) == 0 || typeof entry.object.lockoutTime == 'undefined') {
                     if (config.debug) {
                       console.log(
                         "account not locked and valid!"
Added lockoutTime undefined to be unlocked

AD does not have a lockoutTime variable if the account has never been locked. Was treating lockoutTime == null as locked, but this is not the case.