From: Andrew Bartlett Date: Wed, 26 Jun 2002 03:54:54 +0000 (+0000) Subject: Another bug fix from metze. X-Git-Tag: samba-3.0.0alpha18~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c754cef19c9580e2cb1e23152a1097d11ca8c60;p=thirdparty%2Fsamba.git Another bug fix from metze. --- diff --git a/source/passdb/pdb_ldap.c b/source/passdb/pdb_ldap.c index a5530efdb63..aef366fe7eb 100644 --- a/source/passdb/pdb_ldap.c +++ b/source/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),