Technical article 110252

After installing net100, ftp logins fail and kerberos errors appear in syslog.

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

Since installing the SCO Networking Supplement 1.0.0 (net100) on SCO OpenServer 5.0.0 (or 5.0.2), users cannot ftp to my server. They get "login incorrect" even though they are using the correct account name and password.

AND:
Syslog contains errors similar to:
auth kerberos_v5: 502 authentication is unimplemented

Cause

When net100 is applied, the ftp line in /etc/inetd.conf changes from:

ftp     stream  tcp     nowait  root    /etc/ftpd       ftpd
to:
ftp     stream  tcp     nowait  NOLUID  /etc/ftpd       ftpd

With the installation of net100, the OS uses Kerberised TCP/IP utilities, and in the case of ftpd, once it has connected with the ftp client, it sends the command AUTH KERBEROS_V5 to tell the host that it can do Kerberos V5 authentication. At this point, the host can ignore this or agree to do authorization, and so will ask the client for its ticket. If the host does not understand Kerberos V5, the login will fail.

Solution

Take these steps:
1. Use the pre-net100 ftp and ftpd binaries that do not request the
use of Kerberos authentication.  These binaries are stored in:
/opt/K/SCO/tcp/2.0.0Cl/.softmgmt/patchBackup/rs.tcp200.1.0.a/usr/bin
/opt/K/SCO/tcp/2.0.0Cl/.softmgmt/patchBackup/rs.tcp200.1.0.a/etc

To make these backup ftp and ftpd binaries, the ones the system uses, do the following:

# cd  /opt/K/SCO/tcp/2*/usr/bin
# mv  ftp ftp.save
# mv  /opt/K/SCO/tcp/2*/.softmgmt/patch*/rs.tcp2*/usr/bin/ftp
# cd  /opt/K/SCO/tcp/2*/etc
# mv  ftpd ftpd.save
# mv  /opt/K/SCO/tcp/2*/.softmgmt/patch*/rs.tcp2*/etc/ftpd

2. Edit the /etc/inetd.conf file and change "NOLUID" to "root".

Restart the inetd daemon by finding the inetd PID with:

# ps  -ef  |  grep  inetd
Then send it a SIGHUP with:
# kill  -1  <PID>

where <PID> is the process id of the inetd process.

Clients should now be able to ftp to your server without error.

From the Xinuos technical article database, record 110252. Reproduced with permission. The original is at www.sco.com/ta/110252, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.