s3-samr: Fix SetUserInfo level 16 and 21 w.r.t. ACB_AUTOLOCK acct_flag.
commitd8b37fe08e9e833c466c82e07599356b746020fa
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:11:13 +0000 (9 00:11 +0200)
tree418689a3892ea9600fb66ff7fe09b8184a534e48
parent863b568624ef908c9454ed28d64a82e5afddd79a
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
(cherry picked from commit a21bfc4daff9e67750021d96ffa0c1e6e4cd3472)
source3/rpc_server/srv_samr_util.c