cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP in ABAP AS

Former Member
0 Kudos

Hi,

I am trying out the LDAP in ABAP AS and following the document :

http://scn.sap.com/docs/DOC-13976

1. As per the documentation , I have created the RFC Connection ,LDAP connector and LDAP Server and System user . All with the same name.

2. When I try to logon into the LDAP server using LDAP connector, I get "Message no. LDAPRC002", on debugging could make out that the FM:LDAP_COMMONBIND triggers the FM:  LDAPRFC_BIND, which does not exists in the system. Am I missing out anything here?

Thanks

Gayathri

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

Looks like authorization on LDAP server..Please check

Former Member
0 Kudos

Hi ,

  I have checked the transaction su53 and could not find out any missing authorizations.

Thanks

Gayathri

Former Member
0 Kudos

Gayathri,

Please check this note

731463 - Error when creating LDAP entries during HR data download

if this is applicable to your software component version then apply.

Former Member
0 Kudos

Hi Anand,

  Thanks for the fast response. I placed the breakpoint in FM: LDAP_OBJECT_CREATE (mentioned in the above Corrective Measure ) and tried to logon into LDAP server . But unfortunately the breakpoint did not stop in LDAP_OBJECT_CREATE. As said above , the control comes to FM:LDAP_COMMONBIND and triggers the FM:  LDAPRFC_BIND.

  Hence I feel that the issue is somewhere before mapping of fields .

Thanks

Gayathri


Former Member
0 Kudos

Gayathri,,

""

Check parameter


ume.usermapping.admin.pwdprotection


This property defines whether administrators have to enter a password.

Former Member
0 Kudos

Hi Anand,

 

1. I am trying out the ldap connectivity in ABAP system . I think the parameter has to be checked in the portal right? Is there any probability to check the same in backend system?

2. Is that this parameter decides on "administrators have to enter a password" when logging into the LDAP server?

3. Anyway when I try to logon into the LDAP server , I enter the username and password . Even if I test with the system user option its not working out.


Former Member
0 Kudos

Gayathri,

Can you please try following SAP note and perform tests.

1978357 - User Search from LDAP: Checking if LDAP Authentication and Binding is successful

Let me know the outcome.

Former Member
0 Kudos

Hi Anand,

When I execute the FM: LDP_SYSTEMBIND , I get the LDAPRC as 2.

Thanks

Gayathri

Former Member
0 Kudos

Gayathri,

Please verify steps performed in following sections.

Unable to figure out issue from LDAPRC=2

Regards

Anand

Former Member
0 Kudos

Hi Anand,

  As you said I am doing the Test connection part and I am getting LDAPRC002 Error.

Regards

Gayathri


Former Member
0 Kudos

Hello Gayathri,

Which version are you on.

If you are using older version such Web As 6.3 or 6.4 then you should check minimum support pack level required as discussed in SAP note 644151 - LDAP HR: Problem during data download