With OES 11 SP1 "Novell FTP," DefaultHomeDirectory is not working unless remote_server is enabled

  • 7011265
  • 26-Oct-2012
  • 26-Oct-2012

Environment

SUSE Linux Enterprise Server 11 Service Pack 2
Novell Open Enterprise Server 11 (OES 11) Linux Support Pack 1

Situation

On OES 11 SP1, the pure-ftpd.conf setting:
DefaultHomeDirectory /local/path
 
does not take effect, unless: 
remote_server yes
 
is also set.

Resolution

As a temporary work-around (until a fix is available) set "remote_server  yes" in /etc/pure-ftpd/pure-ftpd.conf, then restart with: rcpure-ftpd restart
 
Note:  This setting will cause pure-ftpd to do an "nwlogin" (Novell Client for Linux login) for each user, after the normal LUM authentication has succeeded.  So the ftp login procedure will depend upon 2 login methods succeeding.

Cause

Novell FTP home directory features were dramatically expanded in OES 11 SP1.  As a result, the DefaultHomeDirectory setting can now be interpreted in more than one way.  The new logic for determining the proper interpretation is apparently flawed.

Additional Information

This issue been reported to engineering.  DefaultHomeDirectory should be able to be used for a local path regardless of whether "remote_server" is enabled or not.
 
The only time "DefaultHomeDirectory" should depend upon "remote_server" is when "DefaultHomeDirectoryServer" is also set, because that will cause the system to view the home directory path as a NCP volume path.