LDAP server state transitions

The following tables list LDAP server state transitions when each of the sp_ldapadmin commands is executed.

Table 25-1 shows the state transitions when you execute sp_ldapadmin set_URL, where set_URL represents either of the following commands:

Table 25-1: State transitions when sp_ldapadmin set_URL is executed

Initial state

Final state

INITIAL

RESET

RESET

RESET

READY

READY

ACTIVE

RESET

FAILED

RESET

SUSPENDED

RESET

Table 25-2 shows the state transitions when you execute sp_ldapadmin suspend.

Table 25-2: State transitions when sp_ldapadmin suspend is executed

Initial state

Final state

INITIAL

Error

RESET

SUSPENDED

READY

SUSPENDED

ACTIVE

SUSPENDED

FAILED

SUSPENDED

SUSPENDED

SUSPENDED

Table 25-3 shows the state transitions when you execute sp_ldapadmin activate.

Table 25-3: State transitions when sp_ldapadmin activate is executed

Initial state

Final state

INITIAL

Error

RESET

READY

READY

READY

ACTIVE

ACTIVE

FAILED

READY

SUSPENDED

READY

The following tables show the LDAP server state transitions carried out implicitly by Adaptive Server.

Table 25-4 shows the state transitions when Adaptive Server is restarted:

Table 25-4: State transitions when Adaptive Server is restarted

Initial state

Final state

INITIAL

INITIAL

RESET

RESET

READY

READY

ACTIVE

READY

FAILED

FAILED

SUSPENDED

SUSPENDED

Adaptive Server only attempts an LDAP login if the LDAP server is in a READY or ACTIVE state. Table 25-5 shows the state transitions:

Table 25-5: State transitions when an LDAP login succeeds

Initial state

Final state

READY

ACTIVE

ACTIVE

ACTIVE

Table 25-6 shows the state transitions when an LDAP login fails:

Table 25-6: State transitions when an LDAP login fails

Initial state

Final state

READY

FAILED

ACTIVE

FAILED