is there a way to import a list of contacts from a text or csv file? i have a bunch of users who were not imported from ldap for some reason.
You should use pdm_load utility to perform this. You also need to make some manipulation to input files to fit their structure to pdm_load requirements . All you need to know that contacts information on the database layer are stored in two tables ca_contact and usp_contact. You can get information which attributes are stored where by using pdm_extract utility (e.g. pdm_extract ca_contact > contacts.txt ) output of this utility has structure that is required by pdm_load. If you will need some attributes that are defined in usp_contact you should first load information to ca_contact table and then use pdm_deref utility to populate your input file witht SDM id's of loaded contacts.
Below thread should also help you:
oh I forgot that pdm_userload do not allow inserts
Retrieving data ...