LDAP setup help

up I would like to ask if ERPnext cannot automatically synchronize ldap users to the system and needs to be implemented through a script?

I have now set up ldap so that only existing users in the system can log in through ldap. It does not exist in erpnext. Some users in ldap cannot log in and cannot synchronize automatically.