Add custom user metadata from the directory
The base information required by WP is not necessarily all you are interested in when creating a user from the LDAP directory.
In our case, we want to get the Employee ID that we then use to query other databases to get additional profile information.
It would be interesting to be able to set any user metadata at creation time using data from the directory.
Victor Pillac commented
I modified the plugin code to add an employeeID field to the user metadata, I am happy to share it.