Novell is now a part of Micro Focus

Configuring iFolder Applet to make DNS Calls over TCP

Novell Cool Solutions: Tip
By Stuart Smith

Digg This - Slashdot This

Posted: 27 Jul 2005

Editor's Note: This is a good tip, but please but be warned, removing iFolder is risky. As a matter of fact, removing any of the OES components and reinstalling them is very temperamental. Another possible gotcha is that you may also find yourself in a difficult update system, since the ycp file he has you recompile may be overwritten in the future. But it's definitely worth a look

PROBLEM: The iFolder configuration applet in YAST makes DNS calls over UDP to resolve the IP address entered during the iFolder configuration. If the DNS infrastructure at your company is configured to resolve names only over TCP and not UDP, the iFolder configuration fails.

SOLUTION: The following procedure will configure the iFolder applet to make DNS calls over TCP:

  1. Stop the iFolder service - /etc/init.d/novell-ifolder stop
  2. If the configuration was run previously and failed it will be necessary to remove iFolder before fixing the configuration process. (if it was not already installed, skip to step #3) This is done by:
    1. removing the ifolder packages (rpm)
      1. rpm -qa | grep ifolder
      2. remove the *welcome* package (ie. novell-ifolder-welcome-2.0.0-11) and the 2.1.5 package (ie. novell-ifolder-2.1.5-20050302_1151) using rpm -e
    2. rm- r /etc/sysconfig/ifolder
    3. rm -r /etc/opt/novell/ifolder
    4. rm -r /var/opt/novell/ifolder
    5. rm /etc/init.d/novell-ifolder
    6. rm -r /opt/novell/ifolder (this folder shoulder already have been removed but you should check to make sure)
  3. Install the iFolder packages .(Go to YAST, select Network Services and then iFolder 2.1. Insert the OES Installation CD #2 when prompted.)
  4. When the package installation completes and the configuration screen appears, abort out of the configuration and exit YAST.
  5. Edit the /usr/share/YAST2/modules/NovellUtils.ycp file. Look through the file for entries containing the *host* command (there will probably be two entries). Add the -T switch to the host command before any other parameters (this is important!). Do this for each occurrence of the *host* command. Save the file.
  6. Now you will need to recompile ycpc as follows:
    1. cd to /usr/share/YAST2/modules
    2. Enter *ycpc -c ./NovellUtils.ycp* at the command prompt.
  7. Launch YAST and configure the iFolder system through the applet. The configuration should now succeed.

If you have any questions you may contact Stuart at

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates