Environment
Novell iFolder 2.1
Situation
Using multiple iFolder servers across a Wide Area Network (for
example, from Syracuse, New York, USA to Singapore), users fail to
authenticate when the other locations' LDAP service fails.
Resolution
This occurs due to a two step process in LDAP authentication when
the iFolder server loads, which is identified in the additional
notes section of this document. The method to circumvent this
two step process is as follows.
- Open the configuration file that Apache uses for iFolder.
The for NetWare is configuration file :
SYS:/Apache2/ifolder/Server/httpd_ifolder_nw.conf
The Linux configuration file is :/etc/opt/novell/ifolder/conf/httpd_ifolder_unix.conf
- Locate the LdapHost setting in the file.
- Change this to the loopback address (127.0.0.1)
- Delete the iFolder_ldap* objects from eDirectory.
- Restart Apache.
- Open the iFolder administration page :
https://servername/iFolderServer/Admin
- Click into "Global Settings".
- Click into "User LDAPs".
- If an iFolder_ldap* object exists, open it and ensure that the settings discussed here are correct. If there is no iFolder_ldap* object listed, create a new one.
- For the LDAP host, choose the loopback address (e.g. 127.0.0.1).
- If using SSL, choose the LDAP certificate .DER that corresponds to the organizational CA.
- Use authentication credentials that are allowed to create the objects in eDirectory (e.g. "admin" and "o=novell").
- Create the object.
- Restart all iFolder servers.
Additional Information
This occurs due to a two step process in LDAP authentication when
the iFolder server loads. The process for this is :
- The iFolder process reads the "LdapHost" and "LdapPort"
settings from the NetWare configuration file :
SYS:/Apache2/ifolder/Server/httpd_ifolder_nw.conf
The Linux configuration file is :/etc/opt/novell/ifolder/conf/httpd_ifolder_unix.conf
- The iFolder server queries the LDAP server specified by those settings to obtain the iFolderSettings, iFolderLDAP, and iFolderServer objects from eDirectory.
- Using the iFolderLDAP objects' attributes, connections will be
established to those
servers for any authentication.