vb.net - Possible causes of "Server not Operational" errors in LDAP -


i've searched google days, cannot come answers. week ago, did server migration. have clustered environment following code works on 1 server, not other (and cannot work on local machine our non-clustered development environment):

 rootdse = new directoryentry("ldap://nonfullyqualifieddomain/rootdse") 

if try above, generic error mentioned in question title (again, works on 1 of servers, not other).

however, when directoryentry object instantiated:

 rootdse = new directoryentry("ldap://fully.qualified.domain", aduserid, adpassword, authenticationtypes.secure) 

based on see online, best guess has permissions or configurations, i'm not familiar server administration side of application. suggestions appreciated!

every time i've got "server not operational" in 1 of infrastructure worked on, because trying connect ldap server on bad adress. due :

  • bad dns resolution
  • bad netbios resolution
  • firewall filtering

my advice use dns resolution production , test environment, , use direct ip adress development environment.

be sure 389 (or 636) port binded on adress use , can connect it. on windows server 2008 ldp.exe tool test ldap connexion (present in w2k3 ressource kit). on development computer use apache directory studio tool test directory connectivity , content.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -