r24388: - ACL retrieval provided incomplete information because the buffer pointer was
authorDerrell Lipman <derrell@samba.org>
Tue, 14 Aug 2007 03:02:34 +0000 (03:02 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:29:39 +0000 (12:29 -0500)
commit2ac502e29bd8390252fe4ae8344faab49ca01ff5
treebf4bc57c9405c4aec67b0ccde94522ed42a7bf46
parent27e183afa8d23dca6aada1f3810dc53aa8c55ccd
r24388: - ACL retrieval provided incomplete information because the buffer pointer was
 incremented too far in some circumstances.  In these cases, only the first
 of multiple concatenated strings would be seen.

- Working on bug 4649 pertaining to delete an ACL, this fixes the reported
 crash.  It appears to have been an incomplete switchover from malloc to
 talloc, as the memory was still being freed with SAFE_FREE.

 Deleting ACLs still doesn't work.  Although a valid request is sent to the
 server and a SUCCESS response is returned, the method that's used in
 libsmbclient for deleting ACLs seems to be incorrect.  In looking at the
 samba4 torture tests, it appears that we should be turning on the INHERIT
 flag if we want to delete the ACL.  (I could use some assistance on the
 proper flags to send, from anyone familiar with this stuff.)

- Apply patch from SATOH Fumiyasu to fix bug 4750.  smbc_telldir_ctx() was not
  returning a value useful to smbc_lseekdir_ctx().

Derrell
examples/libsmbclient/Makefile
source/libsmb/libsmbclient.c