The CreatorCon Call for Content is officially open! Get started here.

Multiple Reduntant LDAP servers

tanajipatil
Tera Contributor

I want to configure 4 LDAP redundant servers into ServiceNow. As per wiki

"Specify Redundant LDAP Servers

Administrators can specify multiple servers in the Server URL field in the New LDAP Server form to list their network's redundant LDAP servers. Separate each URL with a space character. The instance searches for an available LDAP server in the order in which they are listed."

On writing all the 4 servers space seperated, total character count is coming around 107. But the Server URL field on the LDAP Server form can accept upto 100 characters.

Can I increase the Max. Length of the Server URL field so that it can accept more than 100 characters and I can mention all my LDAP servers there?

Or ServiceNow can only accept upto 3 redundant servers? If I increase the Max. Length of the field will it work properly?

Any help or suggestions are appreciated.

Thanks in advance for your replies:)

1 ACCEPTED SOLUTION

Jim Coyne
Kilo Patron

I think you should be fine changing the length to 255.   Try it with your development instance first.   Change the first three server names to be invalid in order to test the fourth one properly.


View solution in original post

9 REPLIES 9

poyntzj
Kilo Sage

Call a script include so it can retrieve a longer list



I have a Script include called <company>LongConditionList


inside I have various functions (for the different conditions, etc)


depending on your need, you can make it return a true / false or a long string



true / false example


(new GroupMLongConditionList().VersiantWSDLBR(current)) == true;


The function returns true / false



returning long string


(new GroupMLongConditionList().getLDAPServer())


The function returns a long string line


server.domain@636 server2.domain@636 server3.domain@636 server4.domain@636


and so on.


Sorry as I am not too experienced in ServiceNow I am not clear how to do that.


If I am not wrong, in the personalize dictionary of the field we have calculated value.


Do you want me to use that for the scripting?



Even if I do how you are telling, will not the field size matter here?


I mean if the script returns more than 100 characters but the field can only accumulate 100 chars.



Please reply back. As I am a learner I need your help and guidance to learn new things.


Thanks for your reply in advance:)


Hi Tanaji


You need to look up script includes


https://www.google.com/url?q=http://wiki.servicenow.com/index.php%3Ftitle%3DScript_Includes&sa=U&ei=...



and you need to make it calculated


however, as Jim has pointed out, you can extend the size and that is a lot easier.


Jim Coyne
Kilo Patron

I think you should be fine changing the length to 255.   Try it with your development instance first.   Change the first three server names to be invalid in order to test the fourth one properly.