Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

LDAP in developer instance

amacqueen
Mega Guru

Just been attempting to set up LDAP in my developer instance and it is failing, got this message:-

ldap://xxx.xxx.xxx.xxx:389/ Connection timed out, failed to connect to server

Verify server address and port are correct and accessible

I seem to recall we had to add a firewall rule to allow SN to talk to our LDAP and I would have thought that existing rule would work however as we are in Europe it may be the developer instances are hosted in the US and I may need an alternative address added.

Any ideas?

TIA

20 REPLIES 20

poyntzj
Kilo Sage

Are you going direct via a VPN (which may not work with the developer instances), or via a MID server ?


I have just tested one here and it worked fine, but I did need to make sure the relevant mid server was chosen.   Until I did that it gave me the same error as yours.



find_real_file.png


pankaj_puniani
ServiceNow Employee
ServiceNow Employee

Hi Angus,



To overcome firewall restriction, you can set up LDAP datasource via mid server to connect to developer instance. You will need a running mid server with access to LDAP server. Here are some helpful links to set up LDAP via mid server:


http://wiki.servicenow.com/index.php?title=LDAP_Integration_via_MID_Server_Setup#gsc.tab=0


MID Server Installation - ServiceNow Wiki


Travers M
Mega Guru

For what it's worth, on mine it would work sporadically.   We have a rule set up to allow the one IP that they gave me and there were times LDAP would work but that was few and far between.   Whether that was because it wasn't always looking at the same IP or because it was just throttled to prevent people from actually using it   in a production manner I'm not sure.   I just eventually turned off the LDAP and gave up on it.


amacqueen
Mega Guru

Thanks all for the input. Like you traversm it all seems a bit intermittent the logs show some connections and some failures. Guess I too will probably give up!!


Hi Angus, you may want to consider opening a Hi ticket.



Thanks,


Berny