Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Where does Samba 4 store user passwords? How can I import my password hashes from Samba 3 in Samba 4?

I am using my own LDAP server with samba 3, and the password hash is stored within the userpassword attribute of the user entry (passdb backend: ldapsam).

However Samba 4 uses it own LDAP server and shema, and it does not seem to work when I copy this attribute in the Samba 4 user entry.

How can I store Samba 4 passwords within an LDAP attribute?

share|improve this question

1 Answer 1

When I setup a Samba server, the passwords get store in /etc/shadow.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.