I have just read a few chapters in Jeff Jarvis' book "What Would Google Do?" and I have already started to love him. Will write a detailed post once I finish the entire book and I think I am going to buy his new book too.
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:...
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...
I first heard the word blog in 2007. It did not make any sense to me then. the curiosity drove me to Google.com and I learnt what a blog is followed by the temporary adrenaline rush to post lots of articles. Stuff slowed down and my blog almost went dead. The recent bucketlist bootcamp that I attended rekindled my desire to write for my blog. Hence I have made up my mind to stick to the guns this time. Let's wait and see. :)
Comments
Post a Comment