Results 1 to 4 of 4

Thread: LDAP query

  1. #1
    Join Date
    Aug 2004
    Posts
    42

    LDAP query

    Due to some reason I need to create a list of all my user’s email as well as alias email addresses assigned to them. As I have never done this before and don’t want to make any mistake, can anyone here please tell me how can I to the same properly? It will be much better if there is any kind of tool for doing the same?

    Thanks for your helps.

  2. #2
    Join Date
    Sep 2004
    Posts
    83

    LDAP query

    Hello Palaksi. Can you just tell me what are the syntax for the command OR in LDAP? I can manage = (the same as)and ! (not as) but I can't find something like OR. I want to search for 2 AD attributes and it's enough if one of them are right (have the right value), but I'm not sure how to do that. If I manage I will use it in an Exchange address view. Can somebody please help me with this?

  3. #3
    Join Date
    Sep 2004
    Posts
    150

    RE: LDAP query

    Hey guys, here is what you need to do. It's the pipe, |, character.

    For example:
    "(|(cn=*swr*)(cn=*hwr*))"

    This will return objects whose common name includes either of the strings swr or hwr.

    Hope this helps.

  4. #4
    Join Date
    Dec 2008
    Posts
    2

    Re: LDAP query

    We currently use LDAP Admin Tool for this purpose, you can download the trial version from the following url:

    http://www.ldapsoft.com/activedirectoryadmintool.html

    Using this tool is easy just right click the users container and select excel export from the right hand context menu.

Similar Threads

  1. LDAP query to speficied LDAP server on TCP port 389 failed
    By Shash in forum Windows Server Help
    Replies: 2
    Last Post: 02-05-2012, 05:01 PM
  2. LDAP query to two different domains
    By manjusha in forum Technology & Internet
    Replies: 1
    Last Post: 01-12-2010, 04:58 PM
  3. LDAP Query AD
    By shivinder in forum Active Directory
    Replies: 4
    Last Post: 03-06-2010, 11:23 AM
  4. ldap query with guid
    By kyosang in forum Active Directory
    Replies: 2
    Last Post: 17-06-2009, 07:34 PM
  5. LDAP query can it be done ?
    By zscw1 in forum Active Directory
    Replies: 3
    Last Post: 13-11-2008, 10:08 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,710,838,111.08224 seconds with 17 queries