I've not needed to do this before but it seems to be quite trivial once your connected to the LDAP server.
There's a short example here.