iFolder 3.2 iManager plugin - exception when attempting to manage iFolder users

  • 7004402
  • 08-Sep-2009
  • 26-Apr-2012

Environment

Novell Open Enterprise Server 1 (OES 1) Linux Support Pack 2 Linux
Novell iFolder 3.2

Situation

iFolder 3.2 is administered through iManager.  To enable users as iFolder users, the admin must login via the iFolder plugin for iManager System tab.  When choosing the System tab in the iFolder 3.2 plugin, the following exception occurs:
 
System.ArgumentNullException<br/>&nbsp;&nbsp;&nbsp;Argument cannot be null.
 
Details:
AxisFault\n faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server\n faultSubcode: \n faultString: Argument cannot be null.\n faultActor: \n faultNode: \n faultDetail: \n {}detail:Argument cannot be null.\n\nArgument cannot be null.\n at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)\n at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)\n at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
 
The iFolder Simias.log file shows the following error:
 
ERROR Novell.AddressBook.LdapSync.LdapSync - caught an LdapException in ProcessSearchObjects
ERROR Novell.AddressBook.LdapSync.LdapSync - NDS error: no such entry (-601)
ERROR Novell.AddressBook.LdapSync.LdapSync - in <0x00036> Novell.Directory.Ldap.LdapResponse:chkResultCode ()in <0x0015f> Novell.Directory.Ldap.LdapSearchResults:next () in <0x00041> Novell.Directory.Ldap.LdapConnection:Read (System.String dn,
System.String[] attrs, Novell.Directory.Ldap.LdapSearchConstraints cons)in <0x0001a> Novell.Directory.Ldap.LdapConnection:Read (System.String dn,
System.String[] attrs)in <0x00151> Novell.AddressBook.LdapSync.LdapSync:ProcessSearchObjects(Novell.Directory.Ldap.LdapConnection conn, Novell.iFolder.Ldap.LdapSettings settings)

Resolution

This error is a result of an object listed in the LDAP users context that no longer exists in the LDAP tree.  Normally the LDAP users context is managed via the iManager plugin, but due to this error, the Simias.config file must be modified manually.
 
Open the /var/lib/wwwrun/.local/share/simias/Simias.config file and find the LdapProvider section.
Under the "Search" setting will be a list of LDAP contexts in the format:  <Context dn="o=novell" />
 
Verify each of the entries and make sure they exist in the LDAP source tree.  Once you find the invalid entry, delete it from the Simias.config file and restart Apache  (rcapache2 restart