Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

[CTDB] adding local user via smbpasswd fails on Ubuntu 20.04 #49

@hunter86bg

Description

@hunter86bg

When the flow is reaching the point to create the user, smbpasswd fails with :

TASK [gluster.features/roles/ctdb : Set smb password] *****************************************************************************************************************************************
fatal: [kubluster]: FAILED! => {"changed": true, "msg": "non-zero return code", "rc": 1, "stderr": "Shared connection to kubluster closed.\r\n", "stderr_lines": ["Shared connection to kubluster closed."], "stdout": "\r\n/bin/sh: 1: 1.1: not found\r\n/bin/sh: 1: AES256: not found\r\n/bin/sh: 1: 1.1: not found\r\n/bin/sh: 1: AES256: not found\r\nFailed to open /var/lib/samba/private/secrets.tdb\r\n", "stdout_lines": ["", "/bin/sh: 1: 1.1: not found", "/bin/sh: 1: AES256: not found", "/bin/sh: 1: 1.1: not found", "/bin/sh: 1: AES256: not found", "Failed to open /var/lib/samba/private/secrets.tdb"]}

It seems that 'clustering=yes' is the root cause. Commenting out the line allows the change of the pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions