How do I try this way?
i try? other test, raname other user, create new user , name teste20229
and rename(For Windows) to teste20228, user never login for ssh in Debian..
In debian problema not ocurred, is all ok.
But i now, o login with user? teste20228 in Debian, and after i rename
user(For Windows)
Now problem ocurred, Apply "net cache flush", not fix.
id teste20227
uid=125187(teste20228) gid=100513(domain users) grupos=100513(domain users)
getent passwd teste20227
teste20228:*:125187:100513:teste20228 Test :/home/teste20228:/bin/bash
Problem seems to be after having "a cache" somewhere in Debian,
because
without having logged in the problem doesn't manifest itself...
Regards;
Em 27/04/2022 16:19, Rowland Penny via samba escreveu:> On Wed, 2022-04-27 at 16:13 -0300, Carlos via samba wrote:
>> Hi!!
>>
>>
>> In dc, id and getent, list username new, correct.
>>
>> But if change again:
>>
>> samba-tool user rename XXXX --surname='YYYY'
>>
>> XXX= OLD NAME
>>
>> YYY= NEW NAME
>>
>> Erro ocurred:
>>
>> ERROR: Unable to find user "XXX"
>>
>> regards;
> Try looking at the users object in AD with ldbsearch or similar.
>
> Rowland
>
>
>
>