There is a problem with my ladp settings

Now users who exist in the system can log in normally through LADP, but users who do not exist will not automatically create an account or display a login failure.
I do not know why。

invalid username or password

website.js:183 Traceback (most recent call last):
File “apps/frappe/frappe/integrations/doctype/ldap_settings/”, line 329, in authenticate
raise LDAPInvalidCredentialsResult # even though nothing foundor failed authentication raise invalid credentials
ldap3.core.exceptions.LDAPInvalidCredentialsResult: LDAPInvalidCredentialsResult - None - None - None - None - None - None

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “apps/frappe/frappe/”, line 106, in application
File “apps/frappe/frappe/”, line 49, in handle
data = execute_cmd(cmd)
File “apps/frappe/frappe/”, line 85, in execute_cmd
return, **frappe.form_dict)
File “apps/frappe/frappe/”, line 1761, in call
return fn(*args, **newargs)
File “apps/frappe/frappe/utils/”, line 31, in wrapper
return func(*args, **kwargs)
File “apps/frappe/frappe/integrations/doctype/ldap_settings/”, line 406, in login
user = ldap.authenticate(frappe.as_unicode(args.usr), frappe.as_unicode(args.pwd))
File “apps/frappe/frappe/integrations/doctype/ldap_settings/”, line 335, in authenticate
frappe.throw(_(“Invalid username or password”))
File “apps/frappe/frappe/”, line 645, in throw
File “apps/frappe/frappe/”, line 610, in msgprint
File “apps/frappe/frappe/”, line 561, in _raise_exception
raise exc
frappe.exceptions.ValidationError: 用户名或密码无效