cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Ldap intergration

Former Member
0 Likes
1,217

Hi,

We are looking to integrate client LDAP with portal.

Scenario is domain: xyz.com with ADS installed on windows 2008 server. Until this we are fine.

Ldap is installed on the domain on ports 50000, 50001.

Portal is running on a separate unix box.

When the user credentials are provided for LDAP authentication in portal we get error  Connection to LDAP server failed; check credentials.

We suspect that we might be missing some step LDAP configuration.  If any one has full documentation on windows 2008 R2 ldap + ads or can list down steps required will be helpful.

Regards,

Raj

Accepted Solutions (0)

Answers (2)

Answers (2)

davefitzgibbon
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Raj,

Please have a look at the online SAP help documentation

Configuring the UME to Use an LDAP Directory as Data Source - Authentication and Single Sign-On - SA...

Following this correctly should get it working for you.

Regards,

David

Former Member
0 Likes

HI David,

Thanks for the article, Our requirement is to integrate AD with SAP so that we can achieve the requirement of Join Movers and leavers request.

Using the article can we achieve same.

Regards

Mitt Gori

Former Member
0 Likes

Hi Raj,

      The directory services serves as a IT Address Book (for Users specially) to store some particular identities which are common in all applications like User Address data, Personal data (telephone number, Fax etc.), System specific information (SID, Printer settings etc.). If we integrate a directory service with SAP NetWeaver Application sever by using LDAP protocol we need it would help us to manager such a distributed storage of user identities in various software components from different vendors. 

To be able to do such in SAP, the NetWeaver Application server is delivered with a LDAP Connector. SAP LDAP Connectors (represented by the program "LDAP_RFC" which runs as a registered server program) enables direct access to directories within ABAP applications via LDAP protocol.  There is a pre-requisite exist for configuring LDAP connector: "The LDAP connector is available on most supported application server platforms; however it does need access to specific LDAP libraries which may or may not be installed in the on the given platform.

There are two possible options how to set up a LDAP connector:

1. LDAP connector can run as part of the SAP Application server. The executable ldap_rfc need to be put in the directory usr\sap\<SID>\SYS\exe\run (for WINDOWS) OR /usr/sap/<SID>/SYS/exe/run (for UNIX).

2. LDAP connector as part of the dedicated Active directory box.

So as a check we need to look for the placing of the executable based on the environment available here. Next paragraph describes different steps of the LDAP connector (check SAP Note# 188371)

LDAP is the tcode used to configure the LDAP connector:

1. LDAP Connector configuration

2. LDAP Server configuration

3. LDAP User (as of release 4.6C)

Configuring LDAP Connector

1. RFC Destination:  LDAP connector must be defined as a RFC destination of TCP/IP type (type T) that runs as a registered program (activation type = registration). Important: Define a local gateway in the gateway option (gateway host = <local host>); gateway service = sapgw<instance number>; Program ID should be the name of the RFC destination which is suggested by SAP as LDAP_<servername>.

2. Application server:  name of the application sever where the LDAP Connector should be started if the CCMS monitoring setup is used.

3. Target status for CCMS monitoring (optional - means applicable when the type - 1 picture above is the case and CCMS is set up)

4. Trace level.

Activate the LDAP connector, The activation can be checked in the trace by using tcode ST11. File name would be (dev_<RFC NAME>.trc as shown below for our case.

Configuring LDAP Server

1. LDAP Server name: Logical name of the server (Note: activate Default one if want to user system default server name)

2. Host Name:     host name of the LDAP server

3. Port number:  389 usually

4. Protocol version: usually LDAPv3 (version 3)

5. Base DN: Distinguished name of the root node of the directory tree

6. User ID (SAP version > 4.6C): logical name of the for log-on to

Configuring the LDAP User (>4.6C) - Needed to log-on to directory from SAP

1. User ID: Logical name of the system user

2. Distinguished Name:     real name of the system user in the directory

3. Only Read Auth: activate if user is not intended to write to the directory from SAP

4. Auth. mechanism:  log-on protocol (simple bind, i.e. user name / password combination)

5. Credential Storloc: Secure storage of the password

6. Credentials: Set or Delete the passwords

If you find any error while setting up the MS AD and SAP (good to perform it with a CUA), then you can check the following SAP Notes:

1434504: A program correction recently published by SAP in 2010 for the report RSLDAPSYNC_USER in CUA

485060: Multiple Program correction for CUA - AD sync issues

Regards

Uday

MPGraziano
Participant
0 Likes

Hi Uday,

Can you please describe how you created the ldap_rfc service.  I bleive this maybe the first step before any configuration of ldap can be made in SAP

Thanks so much

Maria

Former Member
0 Likes

Hi Maria,

         Did you check the SAP Note# 188371 mentioned in the above description ?

Regards

Uday

Former Member
0 Likes

Hi Uday,

I have gone through the above post, would be great if you can share document related to same.

Regards

Mitt