The smbpasswd command fail to add user when ldapsam_compat option is used in samba on Red Hat Enterprise Linux 6.

Solution Verified - Updated -

Issue

  • The smbpasswd command failed to add user when ldapsam_compat option is used in samba on Red Hat Enterprise Linux 6.  The ldapsam_compact option is used cause the ldap server has older samba.schema. 
        # smbpasswd -a testuser
        New SMB password:
        Retype new SMB password:
        Failed to add entry for user testuser. 

Environment

  • Red Hat Enterprise Linux 6
  • samba-3.5.10-115.el6_2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content