Take a list of netids or emails, and auto-fill additional information from LDAP.
#Sinatra App This can be run as a sinatra application
- Clone the repository
- Run
bundle install
- Run the sinatra server with
ruby converter.rb
- Go to the sinatra server in the browser, at
localhost:4567
#Ruby Script ##To Run This Script
git clone
this repositorycd csv-to-ldap
###NetIDs => Email
- Create a csv with just netids in the first column. I recommend saving it in the same folder as the script, as
netids.csv
. ruby netid_to_email.rb netids.csv
- Behold, the file
data/output {currentdate+time}.csv
has the information you want!
###Email => NetIDs
- Create a csv with just netids in the first column. I recommend saving it in the same folder as the script, as
emails.csv
. ruby email_to_netid.rb emails.csv
- Behold, the file
data/output {currentdate+time}.csv
has the information you want!