Saturday, May 2, 2009

small info on LDAP CONNECTOR

USE

The LDAP Connector interface is a collection of function modules with which you can access a directory server using the LDAP connector

Configuring the LDAP connector

Prerequisites

Whoever starts the LDAP connector requires authorizations S_RZL_ADM9 

Procedure

1.Create a RFC destination of connection type T in transaction sm59 .(Need to specify the name of the RFC destination in capital letters).

2.Select Registered server program as activation type.

3.Use the name of the RFC destination as the program ID.

4.Under Gateway Options,enter the gateway with which the LDAP connector is to register.

5.Save your entries.

6.Now transaction LDAP (In the initial screen of the directory service maintenance),choose LDAP Administration-->Connector,or the Connector push button.The system displays the Display "LDAP Connector (Maintenance view)" View : Overview screen

7.Switch to change mode and select New entries .The system displays the new entries :Details of added Entries screen.

8.Enter the following data for the LDAP connector

Field    Meaning

Connector name    Name of the RFC destination for the LDAP connector

Application server   Name of the application server on which the LDAP Connector is to be   started

Status               Target status of the CCMS monitoring

Trace level               Possible trace levels

 TRACE OFF(The program start and all error messages are nevertheless always logged)                                     

9. Save your entries

10. To start the Connector,Choose start the Connector.

Operation of LDAP connector

When you start the LDAP Connector, the operating system displays an error message because the library is not found.

To operate the LDAP connector,the " libldapssl40.sl","libldapssl41.so" or "libldap41.sl" library is required on the HP-UX platform,depending on the release.The LDAp Connector requires a library for communication using the LDAP protocol.Please see the solution below.

Solution

cd /usr/sap//SYS/exe/run

On PA-RISC for 64-bit

#ln -s /usr/lib/pa20_64/libldap.sl libldapssll40.sl

#ln -s /usr/lib/pa20_64/libldap.sl libldap41.sl

ON IA for 64-bit

#ln-s /usr/lib/hpux64/libldap.so libldapssl41.so

Once the above is done.Please start the LDAP connector

Please execute the following for PA RISC server

/usr/sap/SID/SYS/exe/run/ldap_rfc -a LDAP -x sapgw00 -g hostname -l o -f /usr/lib/pa20_64/dld.sl

Please execute the following for Itanium server

/usr/sap/SID/SYS/exe/run/ldap_rfc -a LDAP -x sapgw00 -g hostname -l 0 -f /usr/lib/hpux64/dld.sl

RESULT

The LDAP Connector is available and can be selected in the Connector filed in the Directory service Maintenance screen

CHECK

To check the activation of the LDAP Connector,view the logs in the trace files dev_.trc i.e dev_ldap.trc using transaction ST11.

No comments:

Post a Comment