Error in Gitlab login via LDAP

Getting error as : Could not authenticate you from Ldapmain because "Undefined local variable or method `ghost’