Need help with an ldap query to use in ADModify

Posted on 2009-12-29
Last Modified: 2013-12-24
Hello Experts

I need help with modifying user attributes using admodify. the ldap query I am trying  to use is not returning any users.

I have to search for users who are members of security group 'sgroup' which resides under the container users . I used the following ldap query but it didnt' work.

the dn of the security group in adsi edit is :

pls n thx

Question by:ashjuv
    LVL 57

    Expert Comment

    by:Mike Kline
    did you just try
    Going to test with admodify and let you know.

    Author Comment

    No, let me try.

    Author Comment

    even a simple ldap query is not returning any results.

    for example I tried (&(objectclass=user)(sn=small), I have the domain controller and domain controllers list selected from the drop down menu.

    am i missing something very basic here.
    LVL 57

    Accepted Solution

    Take a look at my examples,
    first is just looking for my user called inheritance, second is similar to  your question.
    After you run the query are you selecting "add to list" in admodify?


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Creating and Managing Databases with phpMyAdmin in cPanel.
    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
    This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now