Hi,
You have to create a ldif file with the following characteristics:
In its 1st line the dn of the user you want to add attributes
The 2nd line should have "changetype: modify"
Then "add: attribute-name"
Then "attribute-name: value"
For example in your case, you can use the following in a ldif file:
Code:
dn: uid=some-user, ou=HR, dc=lab, dc=com
changetype: modify
add: email
email: some-user@lab.com
add: phone
phone: 1111
If you want to do the same for another user you can create a new ldif in the same way, or you can leave a blank line in the above example and add the new user dn with the additions you want add and so on.
Regards