1

I'm trying to view a user in LDAP which was recently added to a Windows 2000 Active Directory Service. I'm not seeing the user when I query LDAP, and I'm guessing I need to reboot the service. Any advice for how to do this?

4 Answers 4

4

No no no no no no no. And might I add, no.

It's a common misconception that the solution to all Windows problems is a reboot or a restart of something. Sometimes it does fix it, but what have you learned about what caused the problem, and what have you learned about how to fix it properly or how to avoid it in future?

Like Kevin said, first of all give us some more info about your environment. Secondly, let us know what you mean by "when I query LDAP". Are you using some third party tool for this, or submitting an LDAP query in code? There may be something amiss in your LDAP query, and trying to brute-force a fix by just rebooting the server or restarting the LDAP service will never fix it if so. Can you see the user in AD Users & Computers? Can you bind to the DN of the user?

2
  • As I responded to Kevin, this is a single-server environment, just a small network. I am connecting to the LDAP server using a Cisco tool, and listing all of the users on the LDAP server. I can see all except the one that I added yesterday.
    – Jack M.
    Jul 23, 2009 at 19:22
  • First thing you need to check is whether or not any other LDAP client can connect to it. I'd use something like Softerra LDAP browser for this. This step will establish if the problem is at the AD side or the Cisco side. Jul 23, 2009 at 20:49
1

Is your environment a multiple domain controller configuration? If so, the change was probably made connected to a different domain controller and you need to wait for it to replicate between them, force replication, or simply connect your LDAP client to the same domain controller the user was added on.

1
  • Single server environment, so not a replication issue.
    – Jack M.
    Jul 23, 2009 at 19:21
1

Unfortunately it seems that you cannot reboot the LDAP service in win2k. So I rebooted the entire machine, and it works fine now.

If somebody can post how to reboot just the LDAP service, I'd be more than happy to mark that answer correct.

2
  • 1
    Win2000/2003 doesn't support "LDAP" service restart, you would have to restart the server itself. But in Windows 2008 it comes as a service.
    – KAPes
    Jul 31, 2009 at 3:38
  • 2
    That is all I needed to know! If you want the free rep, post that as an answer and I'll check it. I don't like answering my own question.
    – Jack M.
    Aug 4, 2009 at 21:12
0

If you are able to see other users in the AD, I'd say it's either because security/permissions related issue with the account you bind to LDAP (you do define user account and not using anonymous binding?) or possibly limitation in Cisco's tool (maybe not showing up all accounts that query returns?).

Can you verify if another newly created account shows up?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .