Act_id_priv_mapping not adding user of group record

Have a look at my reply at Using LDAP all users and groups records not sync.

You can’t use both LDAP and the DB for users. You have to pick one over the other