Web lists-archives.com

Re: [Samba] change password after first login in samba4.10




On 25/05/2019 12:28, sam zand wrote:
yes get a message to enter the new password but after entre new
password get the message "The user name or password is incorrect"

On 5/25/19, Rowland penny via samba <samba@xxxxxxxxxxxxxxx> wrote:
On 25/05/2019 11:47, sam zand wrote:
after entering the new password show message: "The user name or password
is incorrect" and don't log in and access the shared folder.

Do your users get prompted to change their password ?

If not, then it is a windows problem.

Rowland



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

OK, lets start at the other end, back on the Samba DC. Run this command, (altered for your domain etc):

ldbsearch -H /var/lib/samba/private/sam.ldb -b 'dc=samdom,dc=example,dc=com' -s sub '(&(objectClass=user)(sAMAccountName=rowland))'

NOTE: the command is all one line.

Either sanitise the output and post it in an email (do not add it as an attachment), or send it to me offline.

Rowland



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba