LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2012, 03:31 AM   #1
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

Rep: Reputation: 135Reputation: 135
querying exchange server


Is this possible ?

To query email-id from exchange server from shell script , if the user-id is known.
 
Old 04-05-2012, 05:22 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
As far as I think, exchange can only work with Active directory and the users are to be created in AD. This is how MS has integrated the products. If you want to retrieve the information, you will most probably want to do it from AD rather than exchange. And this is possible using ldapsearch command line interface tool.
 
1 members found this post helpful.
Old 04-05-2012, 06:35 AM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by linuxlover.chaitanya View Post
As far as I think, exchange can only work with Active directory and the users are to be created in AD. This is how MS has integrated the products. If you want to retrieve the information, you will most probably want to do it from AD rather than exchange. And this is possible using ldapsearch command line interface tool.
Thanks Chaitanya for the suggestion.

BUt can you give me an example how to use ldapsearch to query email-id from AD.
 
Old 04-05-2012, 06:42 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You can read man page for ldapsearch on how to search the AD. If you have a successful search, AD will return a lot of information regarding the user. You can then grep or use filter for certain specific information. I would suggest you use ldapsearch and try to make it successful. Once done, you would not probably need any more help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tool for querying DNS server drManhattan Linux - Server 6 09-01-2010 12:23 AM
Querying a DNS server for ALL records the_gripmaster Linux - General 10 02-20-2009 11:07 AM
A problem querying a different DNS server AmdMhz Linux - Newbie 5 11-26-2008 11:59 AM
Create zone files by querying dns server kloppster Linux - Software 1 08-19-2004 06:03 PM
Ut2003 Querying Master Server Jimbo99 Linux - Games 3 07-02-2004 12:35 AM


All times are GMT -5. The time now is 04:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration