cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
540
Views
0
Helpful
2
Replies

LDAP script for 11500

ngorenko
Level 1
Level 1

I configured two ldap services in the CSS 11500 and I use ldap script to check if the service is alive:

service LDAP1-ldap
  ip address 192.168.1.23
  port 389
  keepalive type script ap-kal-ldap "192.168.1.23"

  active

when i check the status I get the message:

Script Error: Script error in line: 40

I tried to play this script:

Error in script playback line:40
>>>socket waitfor ${SOCKET} "0a0100" 2000 raw

brgsikalb02#
Script Playback cancelled.

What is the problem and how I can fix it?

2 Replies 2

Gilles Dufour
Cisco Employee
Cisco Employee

The script waits for a response from the server which contains a sequence of bytes that looks like this : 0a0100

If we do not receive it within 2 seconds, we fail.

Try to get a sniffer trace to see what is going on.

Gilles.

Is this is standard responce of  LDAP server? If there is ather way to troubleshoot the problem?

The CSS is installed in dc and to get access there very complecated.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: