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

Rowland penny rpenny at samba.org
Sat May 25 12:08:17 UTC 2019


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 at lists.samba.org> 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





More information about the samba mailing list