r18965: fixed the bug with RPC-NETLOGON and solaris sparc machines. This bug
commitf3d684a48c1339a8df4fb5b8e79b194a1752bb7c
authorAndrew Tridgell <tridge@samba.org>
Wed, 27 Sep 2006 23:24:36 +0000 (27 23:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:20:24 +0000 (10 14:20 -0500)
tree0c46b37e84cf53e1d9239b7566a49e942e2b3816
parent3f96df61dadb107867c174880029838c5c850cd3
r18965: fixed the bug with RPC-NETLOGON and solaris sparc machines. This bug
took a _LONG_ time to find.

The problem was that when encoding/decoding password buffers we use
the pull/push string functions, which by default align unicode
strings. But on solaris sparc the buffer is not aligned always (its a
stack variable, an array of uint8_t). That perfectly OK in C, so we
just tell the pull/push functions not to auto-align.
(This used to be commit bb7835eced00607eb6b1725be6d96a6dcb842049)
source4/libcli/auth/smbencrypt.c