novell-cifs fails to start because of empty credentials

  • 7024755
  • 24-Jul-2020
  • 24-Jul-2020

Environment

Open Enterprise Server 2018 (OES 2018) Linux

Situation

novell-cifs startup reports empty credentials, and oescredstore -l shows a novell-cifs entry
"oescredstore -s -n novell-cifs -u <user> -p <pass>" works, but novell-cifs still shows empty credentials
Error: "CRITICAL: ENTRY: Empty Proxy User Credentials"

Resolution

Make sure the /etc/opt/novell/cifs/cifs.conf file is complete and includes a line for "-OCS yes".  The cifs.conf file can be recreated by running "yast2 novell-cifs" and going through the configuration.

Cause

If "-OCS yes" is not in /etc/opt/novell/cifs/cifs.conf, then novell-cifs will not attempt to read the credentials from the OES Credentials Store (OCS).