Skip to content

Encrypted passwords #124

Closed
Closed
@Nexolight

Description

@Nexolight

I was wondering how to use an encrypted password with this?

I tought about using the -i option. However I have 2 files in /etc/samba/private/:
passdb.tdb and secrets.tdb

I don't want to write my password in cleartext.

Activity

Nexolight

Nexolight commented on Feb 24, 2018

@Nexolight
Author

Hm ok apparently it is required to use smbpasswd as backend.

On the host I created my used with
pdbedit -b smbpasswd -a <username>

I also added
passdb backend = smbpasswd to my hosts smb.conf for future use.

Then I bound it to the docker container
--volume /etc/samba/private/smbpasswd:/etc/samba/private/smbpasswd

and used the -i option:
-i "/etc/samba/private/smbpasswd"

I'm just not sure how well that will be in sync with my users. But that's another problem.

self-assigned this
on Feb 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @dperson@Nexolight

      Issue actions

        Encrypted passwords · Issue #124 · dperson/samba