summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-11-04 15:03:58 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-11-04 15:03:58 +0000
commit0a0cee218a8fb5646bcf662aba6fc4f39bae5db2 (patch)
tree438130cba5acb8de7564ce53b65d15590f4cd62e /examples
parent5883bc73c1d7f9c92c74eedf7b2eca9953c5c7a5 (diff)
downloadsamba-0a0cee218a8fb5646bcf662aba6fc4f39bae5db2.tar.gz
samba-0a0cee218a8fb5646bcf662aba6fc4f39bae5db2.tar.bz2
samba-0a0cee218a8fb5646bcf662aba6fc4f39bae5db2.zip
Don't pass true to pdb_set_* functions
(This used to be commit e803bfde3d0b199155a87975e8af65f13babe692)
Diffstat (limited to 'examples')
-rw-r--r--examples/pdb/mysql/pdb_mysql.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/pdb/mysql/pdb_mysql.c b/examples/pdb/mysql/pdb_mysql.c
index 207c3d124e..15b091589c 100644
--- a/examples/pdb/mysql/pdb_mysql.c
+++ b/examples/pdb/mysql/pdb_mysql.c
@@ -226,20 +226,20 @@ static NTSTATUS row_to_sam_account(MYSQL_RES * r, SAM_ACCOUNT * u)
if (!row)
return NT_STATUS_INVALID_PARAMETER;
- pdb_set_logon_time(u, xatol(row[0]), FALSE);
- pdb_set_logoff_time(u, xatol(row[1]), FALSE);
- pdb_set_kickoff_time(u, xatol(row[2]), FALSE);
+ pdb_set_logon_time(u, xatol(row[0]), PDB_SET);
+ pdb_set_logoff_time(u, xatol(row[1]), PDB_SET);
+ pdb_set_kickoff_time(u, xatol(row[2]), PDB_SET);
pdb_set_pass_last_set_time(u, xatol(row[3]), PDB_SET);
- pdb_set_pass_can_change_time(u, xatol(row[4]), FALSE);
- pdb_set_pass_must_change_time(u, xatol(row[5]), FALSE);
+ pdb_set_pass_can_change_time(u, xatol(row[4]), PDB_SET);
+ pdb_set_pass_must_change_time(u, xatol(row[5]), PDB_SET);
pdb_set_username(u, row[6], PDB_SET);
pdb_set_domain(u, row[7], PDB_SET);
pdb_set_nt_username(u, row[8], PDB_SET);
pdb_set_fullname(u, row[9], PDB_SET);
- pdb_set_homedir(u, row[10], True);
- pdb_set_dir_drive(u, row[11], True);
- pdb_set_logon_script(u, row[12], True);
- pdb_set_profile_path(u, row[13], True);
+ pdb_set_homedir(u, row[10], PDB_SET);
+ pdb_set_dir_drive(u, row[11], PDB_SET);
+ pdb_set_logon_script(u, row[12], PDB_SET);
+ pdb_set_profile_path(u, row[13], PDB_SET);
pdb_set_acct_desc(u, row[14], PDB_SET);
pdb_set_workstations(u, row[15], PDB_SET);
pdb_set_unknown_str(u, row[16], PDB_SET);