[Samba] samba-tool : how to remove expiry date of an account
Rowland Penny
rpenny at samba.org
Fri May 26 12:30:51 UTC 2023
On 26/05/2023 08:22, Olivier BILHAUT via samba wrote:
> Hi Rowland and list,
>
> I allow myself to give a UP to my message in
> case someone has an idea.
>
> Thanks,
I thought I gave you enough information to do this.
You need to set the users 'accountExpires' attribute to '0'
Samba doesn't have a tool to just do this, so you need to use something
like ldbedit, or write a script around ldbmodify.
Rowland
More information about the samba
mailing list