Question

LDAP Query failures

  • 8 July 2021
  • 3 replies
  • 283 views

Userlevel 1
Badge +3

We are setting up active directory integration so AD groups are synchronized with IFS groups and their respective permission sets. We were able to get it working long enough to get a few groups created, but in the middle of doing so, we started getting LDAP query errors and can no longer continue.

Server error messages:
c29c49ea-ef4f-46c7-ab3d-4ea1f5892202

Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> Ifs.Fnd.FndSystemException: Unexpected error while calling server method ManageAdConfiguration/BrowseAd ---> Ifs.Fnd.FndServerFaultException: Failed to perform LDAP search:
   at Ifs.Fnd.AccessProvider.FndConnection.ParseErrorHeader(FndBuffer buffer, FndManualDecisionCollection decisions)
   at Ifs.Fnd.AccessProvider.FndConnection.UnMarshalResponseHeader(Stream responseStream, FndManualDecisionCollection decisions)
   at Ifs.Fnd.AccessProvider.FndConnection.HandleHttpSuccessResult(HttpWebResponse result, FndManualDecisionCollection decisions, String operation, FndBodyType responseBodyType, Object responseBody)
   at Ifs.Fnd.AccessProvider.FndConnection.InvokeInternal(Object requestBody, Object responseBody, String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Boolean forcedSync, Boolean integrationGateway)
   --- End of inner exception stack trace ---
   at Ifs.Fnd.AccessProvider.FndConnection.InvokeInternal(Object requestBody, Object responseBody, String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Boolean forcedSync, Boolean integrationGateway)
   at Ifs.Fnd.AccessProvider.FndConnection.InvokeInternal(String intface, String operation, Object requestBody, Object responseBody, FndRequestContext requestContext, Boolean forcedSync, Boolean integrationGateway)
   at Ifs.Fnd.AccessProvider.Activity.FndActivityContext.Invoke(String intface, String operation, Object request, Object response)
   at Ifs.Fnd.AccessProvider.Activity.FndActivityCommand.ExecuteNonQuery(Object body)
   at Ifs.Application.AdConfiguration.ServerInterface.Ifs.Application.AdConfiguration.IManageAdConfiguration.BrowseAd(String configId, String searchBase, Int64 maxEntries)
   at Ifs.Application.AdConfiguration.BrowseActiveDirectory.PopulateRoot()
   at Ifs.Application.AdConfiguration.BrowseActiveDirectory.BuildTree()
   at Ifs.Application.AdConfiguration.BrowseActiveDirectory..ctor(IFndExplorer explorer, ServerInterface serverInterface1, String configurationId)
   at Ifs.Application.AdConfiguration.MappingAdGroups.BrowseAd()
   at Ifs.Application.AdConfiguration.MappingAdGroups.fndButtonBrowseAd_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at Ifs.Fnd.Windows.Forms.FndButton.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   --- End of inner exception stack trace ---


This topic has been closed for comments

3 replies

Userlevel 1
Badge +3

Well, this was partially resolved by erasing the default IFS/AD attributes in the Configuration screen and replacing with the supported attributes documented in the help guide.

 

However, still unable to run a synchronization.

 

Server error messages:
3d50e1da-2d0f-4ae0-8121-fb00b4048128

Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> Ifs.Fnd.FndSystemException: Unexpected error while calling server method ManageAdConfiguration/DoSynchronization ---> Ifs.Fnd.FndServerFaultException: Failed to perform LDAP search: [LDAP: error code 1 - 000020D6: SvcErr: DSID-031007E5, problem 5012 (DIR_ERROR), data 0

 

Userlevel 2
Badge +3

Well, this was partially resolved by erasing the default IFS/AD attributes in the Configuration screen and replacing with the supported attributes documented in the help guide.

 

However, still unable to run a synchronization.

 

Server error messages:
3d50e1da-2d0f-4ae0-8121-fb00b4048128

Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> Ifs.Fnd.FndSystemException: Unexpected error while calling server method ManageAdConfiguration/DoSynchronization ---> Ifs.Fnd.FndServerFaultException: Failed to perform LDAP search: [LDAP: error code 1 - 000020D6: SvcErr: DSID-031007E5, problem 5012 (DIR_ERROR), data 0

 

Hi 

Did you check the connectivity in between the IFS Middleware server and the LDAP server? 

  • First check the port using the telnet command
  • Connectivity can be check using a third party application from the server. Ex - LDAP Admin

Thanks,

Ashen

 

Userlevel 1
Badge +3

Not sure where to check on middleware but LDAP is working fine for other applications.