r3928: Fix duplicate call to pdb_get_acct_desc(). Bugzilla #2080.
authorTim Potter <tpot@samba.org>
Tue, 23 Nov 2004 20:50:16 +0000 (20:50 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:53:25 +0000 (10:53 -0500)
source/rpc_parse/parse_samr.c

index bb4c94404b0e448384a53eaef40f0d003d42519b..ddae4bbdff9c4c081b00a7058a4b6cd2312034f1 100644 (file)
@@ -1666,7 +1666,7 @@ NTSTATUS init_sam_dispinfo_2(TALLOC_CTX *ctx, SAM_DISPINFO_2 *sam, uint32 num_en
                }
                        
                init_unistr2(&sam->str[i].uni_srv_name, username, UNI_FLAGS_NONE);
-               init_unistr2(&sam->str[i].uni_srv_desc, pdb_get_acct_desc(pwd), UNI_FLAGS_NONE);
+               init_unistr2(&sam->str[i].uni_srv_desc, acct_desc, UNI_FLAGS_NONE);
 
                init_sam_entry2(&sam->sam[i], start_idx + i + 1,
                          &sam->str[i].uni_srv_name, &sam->str[i].uni_srv_desc,