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)
commit83fc92c82c6d6150661b3054047324f5318bbaa4
tree644ab4654282d68dfc7d4158fe42510ddf7a47d9
parentd701a47c736b058af9308cfb031b9862948c86a9
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
(This used to be commit 2ac502e29bd8390252fe4ae8344faab49ca01ff5)
examples/libsmbclient/Makefile
source3/libsmb/libsmbclient.c