summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-11-23 20:50:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:25 -0500
commitcbba4885f356f191aeda1952473336c2eb6607e8 (patch)
treebcec0788b729358585f48a47760128381cf0388c /source3
parentdc42a6c3c484d6feaa2a430955a0d565bfc22ecf (diff)
downloadsamba-cbba4885f356f191aeda1952473336c2eb6607e8.tar.gz
samba-cbba4885f356f191aeda1952473336c2eb6607e8.tar.bz2
samba-cbba4885f356f191aeda1952473336c2eb6607e8.zip
r3928: Fix duplicate call to pdb_get_acct_desc(). Bugzilla #2080.
(This used to be commit 3ebfd137b2d8f393874561046ef79f4d9a8cae52)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_parse/parse_samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index bb4c94404b..ddae4bbdff 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -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,