r204: Turns out that the string in the SEARCH unix_info level is that
authorJeremy Allison <jra@samba.org>
Wed, 14 Apr 2004 01:09:41 +0000 (01:09 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:51:16 +0000 (12:51 -0500)
commit763c4bc9acc0e9162bcb7c8e487522fa62aedae6
treeffae228aeff71474e37b484c1cfd61b5213c5a01
parent6f47ce8b6c2e78d02d08b975488242ba93e52a4b
r204: Turns out that the string in the SEARCH unix_info level is that
rare thing, a non-length string (ie. not a WIRE_STRING) but a null
terminated char string. There wasn't a good interface to pull that
out of a blob (all the string interfaces assumed WIRE_STRINGS). Added
a new one, only used for this call. Sucks, I know - but the alternatives
suck more. Added tests for some of the unix info returned.
Jeremy.
(This used to be commit 4d0ed04c54b105789ffd32334c3b0e544f02418c)
source4/include/smb_interfaces.h
source4/libcli/raw/rawrequest.c
source4/libcli/raw/rawsearch.c
source4/torture/raw/search.c