LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 02:31 AM   #1
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

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, 04:22 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

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, 05:35 AM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

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, 05:42 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

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



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 08-31-2010 11:23 PM
Querying a DNS server for ALL records the_gripmaster Linux - General 10 02-20-2009 10:07 AM
A problem querying a different DNS server AmdMhz Linux - Newbie 5 11-26-2008 10:59 AM
Create zone files by querying dns server kloppster Linux - Software 1 08-19-2004 05:03 PM
Ut2003 Querying Master Server Jimbo99 Linux - Games 3 07-01-2004 11:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:35 AM.

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
Open Source Consulting | Domain Registration