smbpasswd -a fails to add user, records the error Failed to add entry for user username

(Doc ID 1475859.1)

Last updated on SEPTEMBER 18, 2017

Applies to:

Solaris Operating System - Version 10 3/05 to 10 1/13 U11 [Release 10.0]
Information in this document applies to any platform.

Symptoms

 Attempting to add a Samba user to the local smbpasswd file would fail with a error:

# smbpasswd -a user123
New SMB password:
Retype new SMB password:
Failed to add entry for user user123.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms