Searching AD on EmployeeID. HELP! RRS feed

  • Question

  • User-1879028661 posted

    I have a function that searches AD for a user.  I can choose the attribute to search.  It works perfectly on all attributes EXCEPT EmployeeID.  It locks up.  No error.

    I can set the EmployeeID attribute but I can't search on it.

    What can I be missing?


    Tuesday, May 2, 2006 4:12 PM

All replies

  • User1354132231 posted
    How many users are we talking about here and what filter are you using?  IIRC, the 'employeeID' attribute is not indexed by default (check the schema and confirm).  So, you either need to index it (not a bad idea), or you need to add other indices to your filter.

    Try this one:


    This way you get an index in there and you don't choke up.
    Wednesday, May 3, 2006 2:03 PM