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/ldap_settings.py”, 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/app.py”, line 106, in application
frappe.handler.handle()
File “apps/frappe/frappe/handler.py”, line 49, in handle
data = execute_cmd(cmd)
^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/handler.py”, line 85, in execute_cmd
return frappe.call(method, **frappe.form_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/init.py”, line 1761, in call
return fn(*args, **newargs)
^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/utils/typing_validations.py”, line 31, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/integrations/doctype/ldap_settings/ldap_settings.py”, 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/ldap_settings.py”, line 335, in authenticate
frappe.throw(_(“Invalid username or password”))
File “apps/frappe/frappe/init.py”, line 645, in throw
msgprint(
File “apps/frappe/frappe/init.py”, line 610, in msgprint
_raise_exception()
File “apps/frappe/frappe/init.py”, line 561, in _raise_exception
raise exc
frappe.exceptions.ValidationError: 用户名或密码无效