summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index a5530efdb6..aef366fe7e 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -702,7 +702,7 @@ static BOOL init_sam_from_ldap (struct ldapsam_privates *ldap_state,
}
if (!get_single_attribute(ldap_struct, entry, "smbHome", homedir)) {
- pdb_set_dir_drive(sampass, standard_sub_specified(sampass->mem_ctx,
+ pdb_set_homedir(sampass, standard_sub_specified(sampass->mem_ctx,
lp_logon_home(),
username, domain,
uid, gid),