s3-samr: Fix SetUserInfo level 16 and 21 w.r.t. ACB_AUTOLOCK acct_flag.
commita21bfc4daff9e67750021d96ffa0c1e6e4cd3472
authorGünther Deschner <gd@samba.org>
Fri, 8 May 2009 22:03:50 +0000 (9 00:03 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 8 May 2009 22:03:50 +0000 (9 00:03 +0200)
treeb6ae837564b971db9c6694a67c587d99fa3894bc
parent705f36b804093f656498f7963768a418672cd422
s3-samr: Fix SetUserInfo level 16 and 21 w.r.t. ACB_AUTOLOCK acct_flag.

It is not allowed to *set* this flag remotely if it has been not set already.

Found by torture test.

Guenther
source3/rpc_server/srv_samr_util.c