[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] LDAP User Import


We have a nightly import of data from Active Directory using ?update_users? as per https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FLDAP&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C38865df2caf34ba2e61c08d65c5ec9da%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=WlwleGQ1szXt%2F1PmwDPu82NsXkQJjtAopTDDk%2FnetV8%3D&reserved=0.  I would like to explore amending this script (importing different AD attributes), is it possible to run it against a specific user only rather than the default of everyone?

In ?my_args? there is a filter option, I wondered if this could be changed to match ldaplookup which in our file is set to sAMAccountName=$username, I would replace $username with an actual user name.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20181207/db508a2c/attachment.html