Displaying 1 result from an estimated 1 matches for "cb_normal".
Did you mean:
acb_normal
2003 Aug 08
0
smbpasswd -m, changing account to a machine account.
...003
@@ -1001,6 +1001,13 @@
}
}
+ /* Assure that the workstation trust account flag is properly
updated.
+ */
+ if (local_flags & LOCAL_TRUST_ACCOUNT) {
+
pdb_set_acct_ctrl(sam_pass,(pdb_get_acct_ctrl(sam_pass)|ACB_WSTRUST)&(~A
CB_NORMAL));
+ } else {
+
pdb_set_acct_ctrl(sam_pass,(pdb_get_acct_ctrl(sam_pass)|ACB_NORMAL)&(~AC
B_WSTRUST));
+ }
if(!pdb_update_sam_account(sam_pass, True)) {
slprintf(err_str, err_str_len-1, "Failed to modify
entry for user %s.\n", us...