summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/ndr_wkssvc.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-04-04 15:28:14 -0700
committerJeremy Allison <jra@samba.org>2008-04-04 15:28:14 -0700
commit1a64916775e8ef5081f1cf0627f15396b6457830 (patch)
tree9ba76c481d3d272d3baf61105d10b21b6c07b4ac /source3/librpc/gen_ndr/ndr_wkssvc.c
parent833729125093b884a528057b0aa03891efb9e9b5 (diff)
downloadsamba-1a64916775e8ef5081f1cf0627f15396b6457830.tar.gz
samba-1a64916775e8ef5081f1cf0627f15396b6457830.tar.bz2
samba-1a64916775e8ef5081f1cf0627f15396b6457830.zip
When using plaintext ucs2 passwords clistr_push calls ucs2_align, which causes
the space taken by the unicode password to be one byte too long (as we're on an odd byte boundary here). Reduce the count by 1 to cope with this. Fixes smbclient against NetApp servers which can't cope. Fix from bryan.kolodziej@allenlund.com in bug #3840. Jeremy. (This used to be commit 1e7e7d86a1ae1cd2c3cc3de9f36b7326ad249b82)
Diffstat (limited to 'source3/librpc/gen_ndr/ndr_wkssvc.c')
0 files changed, 0 insertions, 0 deletions