We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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.
Hm ok apparently it is required to use smbpasswd as backend.
On the host I created my used with pdbedit -b smbpasswd -a <username>
pdbedit -b smbpasswd -a <username>
I also added passdb backend = smbpasswd to my hosts smb.conf for future use.
passdb backend = smbpasswd
Then I bound it to the docker container --volume /etc/samba/private/smbpasswd:/etc/samba/private/smbpasswd
--volume /etc/samba/private/smbpasswd:/etc/samba/private/smbpasswd
and used the -i option: -i "/etc/samba/private/smbpasswd"
-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.
Activity
Nexolight commentedon Feb 24, 2018
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.