summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-12-31 11:25:48 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-12-31 11:25:48 +0000
commit8e4e261471c4e10d50519155f49913eff79ff842 (patch)
tree6fea5192d72c958411e950310751c68c657f27d3
parent8536aa5ef3147b5ebf29ff114797a039d02213bf (diff)
downloadsamba-8e4e261471c4e10d50519155f49913eff79ff842.tar.gz
samba-8e4e261471c4e10d50519155f49913eff79ff842.tar.bz2
samba-8e4e261471c4e10d50519155f49913eff79ff842.zip
Make --with-tdbsam compile again, given the new 'am I setting a default' flags.
Andrew Bartlett (This used to be commit 20d7c5d9b9bc0a426897f21b3350933602abdbf1)
-rw-r--r--source3/passdb/pdb_tdb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c
index 8c17bb76ec..bc3062aedb 100644
--- a/source3/passdb/pdb_tdb.c
+++ b/source3/passdb/pdb_tdb.c
@@ -134,10 +134,10 @@ static BOOL init_sam_from_buffer (SAM_ACCOUNT *sampass, uint8 *buf, uint32 bufle
pdb_set_domain (sampass, domain_len?domain:NULL);
pdb_set_nt_username (sampass, nt_username_len?nt_username:NULL);
pdb_set_fullname (sampass, fullname_len?fullname:NULL);
- pdb_set_homedir (sampass, homedir_len?homedir:NULL);
- pdb_set_dir_drive (sampass, dir_drive_len?dir_drive:NULL);
- pdb_set_logon_script (sampass, logon_script_len?logon_script:NULL);
- pdb_set_profile_path (sampass, profile_path_len?profile_path:NULL);
+ pdb_set_homedir (sampass, homedir_len?homedir:NULL, True);
+ pdb_set_dir_drive (sampass, dir_drive_len?dir_drive:NULL, True);
+ pdb_set_logon_script (sampass, logon_script_len?logon_script:NULL, True);
+ pdb_set_profile_path (sampass, profile_path_len?profile_path:NULL, True);
pdb_set_acct_desc (sampass, acct_desc_len?acct_desc:NULL);
pdb_set_workstations (sampass, workstations_len?workstations:NULL);
pdb_set_munged_dial (sampass, munged_dial_len?munged_dial:NULL);