summaryrefslogtreecommitdiff
path: root/source3/lsarpcd/srv_lsa.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-22 18:15:23 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-22 18:15:23 +0000
commitcbd0b2ccf9519bcada58567b88987e134563058d (patch)
tree4db13a458318e01a578013508ce61387690f735f /source3/lsarpcd/srv_lsa.c
parent034a12fdcb6f707b382d9da481bc012a3c49da76 (diff)
downloadsamba-cbd0b2ccf9519bcada58567b88987e134563058d.tar.gz
samba-cbd0b2ccf9519bcada58567b88987e134563058d.tar.bz2
samba-cbd0b2ccf9519bcada58567b88987e134563058d.zip
bug fix in lsa_trans_names.
well-known aliases S-1-5-20 is actually S-1-5-0x20 but sid_to_string does decimal not hexadecimal oops. (This used to be commit 4d830e243650729344a2d1b238075e787802ff8b)
Diffstat (limited to 'source3/lsarpcd/srv_lsa.c')
-rw-r--r--source3/lsarpcd/srv_lsa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/lsarpcd/srv_lsa.c b/source3/lsarpcd/srv_lsa.c
index a355f0b311..b813301dda 100644
--- a/source3/lsarpcd/srv_lsa.c
+++ b/source3/lsarpcd/srv_lsa.c
@@ -231,7 +231,9 @@ static void make_lsa_trans_names(LSA_TRANS_NAME_ENUM *trn,
if (status == 0x0)
{
- make_lsa_trans_name(&(trn->name[(*total)]), type, name, (*total));
+ make_lsa_trans_name(&(trn->name [(*total)]),
+ &(trn->uni_name[(*total)]),
+ type, name, (*total));
(*total)++;
}
}