search for: pdb_set_acct_ctrl

Displaying 2 results from an estimated 2 matches for "pdb_set_acct_ctrl".

2003 Aug 08
0
smbpasswd -m, changing account to a machine account.
...Wed Mar 5 00:35:51 2003 +++ /Users/bzfproha/passdb-my.c Fri Aug 8 18:11:19 2003 @@ -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,...
2002 Nov 04
2
MySQL authentication & kickoff time?
Hiya. I'm in the middle of (re)developing a authentication system for an internet cafe here in Sydney. By complete accident I discovered the PDB MySQL plugin for samba yesterday in CVS - amazing. Haven't tried this yet (waiting for samba to compile on a really slow machine, heh) but it looks great. Is anybody using this? Would you recommend it for use in a heavy use type