Samba4: Some GENSEC questions

tridge at samba.org tridge at samba.org
Sun Apr 9 04:47:15 GMT 2006


Kai,

 > The message is 'Hello world.'
 > ntlmssp_seal_data: seal
 > The decrypted data is 'Hello world.I'
 > ntlmssp_seal_data: seal
 > Data after passing back to client: 'Hello world.I'
 > 
 > This is created in the sendCrypt function of
 > http://www.nowhere-productions.org/code/gensec_single.c

That's an easy one :-)

change your code to do this:

    fprintf(stderr, "Data after passing back to client: '%*.*s'\n", 
	plain.length, plain.length, plain.data);

or use the dump_data() function instead.

Cheers, Tridge


More information about the samba-technical mailing list