summaryrefslogtreecommitdiffstats
path: root/source/rpcclient/display.c
diff options
context:
space:
mode:
authorMatthew Chapman <matty@samba.org>1999-04-08 05:36:15 +0000
committerMatthew Chapman <matty@samba.org>1999-04-08 05:36:15 +0000
commit7b830350eb54dc9d357c115e12ddf9a0633527ac (patch)
tree0a4cf35e09a1992da6905ea523119f0b0699869f /source/rpcclient/display.c
parent74d6dec25d6b44e26d3895f789f1958d5f4639ee (diff)
downloadsamba-7b830350eb54dc9d357c115e12ddf9a0633527ac.tar.gz
samba-7b830350eb54dc9d357c115e12ddf9a0633527ac.tar.xz
samba-7b830350eb54dc9d357c115e12ddf9a0633527ac.zip
Mainly BDC-related changes.
* Added SEC_CHAN_BDC * Propagate sec_chan into the various functions which change trust account passwords, so they can be used for domain control and inter-domain trusts. * Fix for endianness problem reported by Edan Idzerda <edan@mtu.edu>. A BUFFER2 is really a "unibuf" in my terminology and we should treat it as such. * Added some more common NT structures (BIGINT, BUFHDR2, BUFFER4). * Added NET_SAM_SYNC (-> NetDatabaseSync2) RPC for account replication. Still experimental and incomplete, with a few too many NULL security descriptors lying around (must go look at Jeremy's SD code). Haven't worked out password encryption yet either. However, the XXX_INFO structures I've added to rpc_netlogon.h are quite nice as they give some insight into how these objects are stored in the SAM.
Diffstat (limited to 'source/rpcclient/display.c')
-rw-r--r--source/rpcclient/display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpcclient/display.c b/source/rpcclient/display.c
index 060dac8d554..831378ab964 100644
--- a/source/rpcclient/display.c
+++ b/source/rpcclient/display.c
@@ -1476,7 +1476,7 @@ static void print_reg_value(FILE *out_hnd, char *val_name, uint32 val_type, BUFF
{
case 0x01: /* unistr */
{
- unistr_to_ascii(valstr, value->buffer,
+ unibuf_to_ascii(valstr, value->buffer,
MIN(value->buf_len, sizeof(valstr)-1));
fprintf(out_hnd,"\t%s:\t%s:\t%s\n", val_name, type, valstr);
break;