[Samba] samba-tool user disable doesn't change any object attributes?

Reese Wang thuwrx10 at gmail.com
Thu Aug 24 13:12:38 UTC 2023


I used `samba-tool user disable testuser` to disable a user and
`samba-tool user show testuser` to display the user object and found
nothing was changed. And I can still get the user using filter
(&(objectClass=user)(sAMAccountName=testuser)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))

Shouldn't `samba-tool user disable` change userAccountControl to 2 or something?



More information about the samba mailing list