s4:dsdb/util_samr: simplify dsdb_add_user()
authorStefan Metzmacher <metze@samba.org>
Wed, 26 Mar 2014 00:25:34 +0000 (01:25 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 2 Apr 2014 15:12:46 +0000 (17:12 +0200)
commit5c1cfe267ce10180e2c42105a1d84f84e7512c8d
tree13c747a219300a739da942351199ada52ae36d8b
parent090c55681db410ac2bbf9ec2f9e2208329ed8d5b
s4:dsdb/util_samr: simplify dsdb_add_user()

We can specify userAccountControl on the ldb_add() call.

Change-Id: Ic990a74eaf9b38ddc1db3183a964972c786dbfdf
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/common/util_samr.c