[EP-tech] LDAP User Import
ian.frost at sunderland.ac.uk
Fri Dec 7 16:12:28 GMT 2018
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...
More information about the Eprints-tech