[PATCH] s4 libcli: fix NTLMv2 without spnego
Stefan (metze) Metzmacher
metze at samba.org
Wed Apr 13 05:01:45 MDT 2011
Hi Christian,
can you use a helper variable for the domain? This looks a bit ugly:
+ DATA_BLOB names_blob =
+ NTLMv2_generate_names_blob(state, NULL,
+ cli_credentials_get_domain(
+ io->in.credentials
+ )
+ );
This would look much nicer:
const char *domain = cli_credentials_get_domain(io->in.credentials);
DATA_BLOB names_blob = NTLMv2_generate_names_blob(state, NULL, domain);
metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110413/97717f7d/attachment.pgp>
More information about the samba-technical
mailing list