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:...
Today there was no power supply at my home due to which my wife was not able to cook. She cooks using electronic appliances. Hence we decided to order Pizza. We since mid 2010 regularly order Pizza at Dominos and did the same this afternoon too. Today the pizza was delivered very hot and tasted the better than our previous orders. In short I can say that today I had the best dominos pizza. I was extremely excited and decided to blog about the same in my free time. After finishing the Pizzas I fed my dog took her out for a walk. I then got a call from the Dominos customer support team asking about my experience and any suggestions I had. Man! I was surprised and felt like a king. This does not happen to Indian customers every day. There is a company out there which really cares about its customers. I don't know if they called me out of the blue or if this is a new practice but any way it felt good. I am currently reading Jeff Jarvis' book "What Would Google Do?" ...
In the past I have gone to the Police station to file a complaint, have gone to the court to file a case. In all these instances I did not get justice, they only added on to my problems. These experiences have taught me that in India (my country) it is easier to solve problems on our own than going to the police station or court. Which means a common man like me does not get free quality education, free quality medical facilities, and easy justice in this country despite paying taxes. The recent brutal gang rape has compelled me to write something about it. The protest is result of the above mentioned situation faced by the entire nation. Its clear everyone is totally upset about the current situation of the state and the government's zero effort to improve it. Every case (including rape cases) take ages in the court and it takes almost a decade for conviction. Above all the conviction rates are low as well. The police has the duty of putting culprits behind bars but it totally...
Comments
Post a Comment