Thursday, December 2, 2010

Configuring Thunderbird with LDAP Address Book

 By default Thunderbird does not understand AD, so to get it to resolve the AD ID you would need to add the LDAP Directory to the Address Book. Following Screens show the steps to configure Thunderbird to resolve AD to Email : 


Now’s the time to fill up some details :
Name: Any thing that makes sense to you. Eg : OffAD  
 Hostname: Enter your LDAP Server here, if you don’t know it run “nslookup” from the command prompt to get to know your default LDAP server as shown below.
Base DN: This Is where you have the most work. Download AD Explorer , and select File > Connect , paste the LDAP Server in Connect To followed by your user name and password. 

 Once you are connected to the Directory, Search for your User ID by selecting attribute  = Alias ; Value = your User ID.

Now Dbl-click the result, and copy the “distinguishedName” attribute value. P S: Try removing the CN=”” from the copied value if Replication in Address Book does not succeed.

Bind DN: Key in your Domain\AD ID here.
Click OK again, open the address book: OffAD (which ever name you have given), Select Offline > Replicate : If this succeeds then its done.

To start using this Directory you have added: In Thunderbird, open Tools > Options > Composition > Addressing  and select from the drop down the one you created , and close it by clicking OK.
Further, go to Tools > Accounts Settings > Composition & Addressing > Addressing: select from the drop down the one you created, and close it by clicking OK.
You have successfully configured Directory for Thunderbird, time to test it :  Write  a new message , in the Contacts Sidebar type the AD ID your looking for and Voila !

Tuesday, May 4, 2010

A Zen Story - The Stone Cutter

The Stone Cutter

There was once a stone cutter who was dissatisfied with himself and with his position in life.

One day he passed a wealthy merchant's house. Through the open gateway, he saw many fine possessions and important visitors. "How powerful that merchant must be!" thought the stone cutter. He became very envious and wished that he could be like the merchant.

To his great surprise, he suddenly became the merchant, enjoying more luxuries and power than he had ever imagined, but envied and detested by those less wealthy than himself. Soon a high official passed by, carried in a sedan chair, accompanied by attendants and escorted by soldiers beating gongs. Everyone, no matter how wealthy, had to bow low before the procession. "How powerful that official is!" he thought. "I wish that I could be a high official!"

Then he became the high official, carried everywhere in his embroidered sedan chair, feared and hated by the people all around. It was a hot summer day, so the official felt very uncomfortable in the sticky sedan chair. He looked up at the sun. It shone proudly in the sky, unaffected by his presence. "How powerful the sun is!" he thought. "I wish that I could be the sun!"

Then he became the sun, shining fiercely down on everyone, scorching the fields, cursed by the farmers and laborers. But a huge black cloud moved between him and the earth, so that his light could no longer shine on everything below. "How powerful that storm cloud is!" he thought. "I wish that I could be a cloud!"

Then he became the cloud, flooding the fields and villages, shouted at by everyone. But soon he found that he was being pushed away by some great force, and realized that it was the wind. "How powerful it is!" he thought. "I wish that I could be the wind!"

Then he became the wind, blowing tiles off the roofs of houses, uprooting trees, feared and hated by all below him. But after a while, he ran up against something that would not move, no matter how forcefully he blew against it - a huge, towering rock. "How powerful that rock is!" he thought. "I wish that I could be a rock!"

Then he became the rock, more powerful than anything else on earth. But as he stood there, he heard the sound of a hammer pounding a chisel into the hard surface, and felt himself being changed. "What could be more powerful than I, the rock?" he thought.

He looked down and saw far below him the figure of a stone cutter.

Wednesday, April 28, 2010

Type in Indian Languages

As Indian languages are many ,typing them is very difficult without a installed software on your system.This link below helps you to type in Hindi,Kannada,Malayalam,Tamil & Telugu all by typing the words in English pretty accurately on the web.

http://www.quillpad.com

You could even get a widget for the typing indian languages in your site from here .

The next time you want to get something typed in other Indian languages try this!

On the net you find pages written in plenty of languages,which probably wont be understood by the user.For translation,there are plenty of sites from Google Translate,Quicktranslate,Bing Translator,Yahoo Babel Fish just to name a few to help you translate,even with detecting the language.

Thursday, April 22, 2010

PDF Converter

Remember times when your word document loses indent and you have to re-indent it; you could now easily get those worries away by converting to PDF.

Any Web page to be converted to PDF file :
http://www.web2pdfconvert.com/

For Word, Excel, PowerPoint, Images, Web Pages and other files to PDF:
http://www.freepdfconvert.com/

And to view the PDF files:
http://view.samurajdata.se/

Saturday, May 23, 2009

Mondrian



Pentaho gives a set of tools to create a view of the data with OLAP ,to view a demo :

Mondrian is a very useful tool to get the view of data,lately after working on it for a month below are the steps to get mondrian started :
Where to get Pentaho :

You can get Pentaho BI Server Community Version from : Sourceforge
To Design the schema use Schema Workbench from : http://sourceforge.net/projects/mondrian/

Got Downloaded :

Extract the zip to folders ,get the Tomcat start & hit http://localhost:/

Check your port in "TOMCATHOME/conf/server.xml" file,point your browser to that port ,change the port if it doesnt work for you ( change port = 8080 default to the port u need).

You must now be able to get the Pentaho screen in your browser.

Navigate to "biserver-ce\pentaho-solutions\system\simple-jndi\jdbc.properties" file
add entry to create a alias to connect to your database like for oracle

alias/type=javax.sql.DataSource

alias/driver=oracle.jdbc.driver.OracleDriver( driver name)
alias/url=jdbc:oracle:thin:@host:1521:sid (jdbc url to the database)
alias/user=dbusername
alias/password=dbpassword

To create a password to publish from Schema Workbench navigate to "biserver-ce\pentaho-solutions\system\publisher_config.xml" and create a password in the tag .

Design your schema using Schema workbench and publish your schema to
http://localhost:/pentaho/

Use the user name from pentaho drop down box ( like joe pwd : password) and mention the alias u created & publish the schema.

Once the schema is published successfully,browse to http://localhost:/ and login using joe
Go to New Analysis View and here u ll find your Schema name in the drop down ,click OK.

So now if u have your cube u can play around with it.Otherwise u might want to look at the logs @ "TOMCATHOME/logs/" and watch for any errors.
You can even place a log on pentaho application ,navigate to "biserver-ce\tomcat\webapps\pentaho\WEB-INF\classes\" look for log4j.xml and log4j.dtd ,if they are present login ,open log4j.xml and change



Set debug to true and value of param to a path on the directory on FS .
appender name="PENTAHOFILE" class="org.apache.log4j.DailyRollingFileAppender"


param name="File" value="C:/logs/pentaho.log"/>
param name="Append" value="false"/>
......

You can even enable logs for the MDX & SQL queries generated by mondrian to fetch the data for the dimension,to enable these logs just uncomment sections in log4j.xml which say

!-- Special Log File specifically for Mondrian /MDX/SQL Statements -->

Restart Apache after this change ,just check if the logs are created after Apache restarts.

So now you can debug your cube for which query is going wrong,even with the time each query takes.






Sunday, November 4, 2007

Mock Interviews

We had Mock Interview in our College today...
Crap man none knows technical aptitude...all with good aggr. but wit no or v poor knowledge in the subjects even though havin it on resume thr's no knowledge on th subjects....