s3-pdb_samba4: Remove dupliate profilePath handling
authorAndrew Bartlett <abartlet@samba.org>
Wed, 27 Jun 2012 09:23:05 +0000 (19:23 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 27 Jun 2012 11:16:24 +0000 (13:16 +0200)
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jun 27 13:16:26 CEST 2012 on sn-devel-104

source3/passdb/pdb_samba4.c

index 389668fa5c347d410a456726cf3fd3fcbd97052e..3c44b72a05545d2d78ea799d946bbb23b4dd6ff1 100644 (file)
@@ -241,12 +241,6 @@ static NTSTATUS pdb_samba4_init_sam_from_priv(struct pdb_methods *m,
                pdb_set_profile_path(sam, str, PDB_SET);
        }
 
-       str = ldb_msg_find_attr_as_string(msg, "profilePath",
-                                           NULL);
-       if (str != NULL) {
-               pdb_set_profile_path(sam, str, PDB_SET);
-       }
-
        str = ldb_msg_find_attr_as_string(msg, "comment",
                                            NULL);
        if (str != NULL) {