Another bug fix from metze.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 26 Jun 2002 03:54:54 +0000 (03:54 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 26 Jun 2002 03:54:54 +0000 (03:54 +0000)
(This used to be commit 5c754cef19c9580e2cb1e23152a1097d11ca8c60)

source3/passdb/pdb_ldap.c

index a5530efdb6320fe6dadb0b679f261beb5651ae6e..aef366fe7ebeb00dc4f65d397773a050edad8a63 100644 (file)
@@ -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),