In this post I am not going to talk about setting up your LDAP using OpenLDAP. There are lots of websites explaining that. However when I tried to upload users in bulk into the directory I was not able to do the same. The reason there was not even a single article which could give me some information on the same. So here is how to do it. Environment: Ubuntu 10.04 Server OS, OpenLDAP with phpldapadmin. I had the user list with the first name and the last name and the email address. I converted this spreadsheet into a .CSV file. # sudo su - (only for convenience) # cat user-file.csv Krishnan, Sethuraman, krishnan@mydomain.com Anidha, Krishnan, anidha@mydomain.com Tanya, Krishnan, tanya@mydomain.com My requirement was to populate the following attributes in the LDAP. dn: uid=krishnan,ou=people,o=mycompany changetype: add objectClass: inetOrgPerson objectclass: top cn: Krishnan Sethuraman sn: Sethuraman uid: krishnan mail: krishnan@mydomain.com userPassword:...
Make your special moments unforgettable with a romantic **Candle Light Dinner for Couples** in Chennai. Enjoy a beautiful dining atmosphere, elegant candlelight decorations, and a memorable evening with your loved one. Whether you are celebrating an anniversary, birthday, proposal, or a special occasion, our romantic dining experience is designed to create lasting memories. Discover our romantic candlelight dinner packages in Chennai and explore the perfect setting for your special celebration. Visit our Candlelight Dinners website to learn more about available packages and plan a wonderful evening with your partner.
ReplyDelete