[PATCH] smbcacls revision fix

Neil Bortnak nbortnak at cisco.com
Sun Aug 1 13:59:29 GMT 2004


Thanks Jeremy,

Worst comes to worst I'll recode it to use a command line argument.

Neil


Jeremy Allison wrote:
> On Thu, Jul 29, 2004 at 01:30:06PM +0900, Neil Bortnak wrote:
> 
>>Hi everyone,
>>
>>I started using smbcacls and it worked great for everything except the 
>>set (-S) feature.
>>
>>After some time spent with the code and a packet sniffer I found that 
>>all of the other functions read in the existing dacl, modify it and 
>>write it back. The set function creates a new one.
>>
>>The revision number on the dacl that gets read from the server is 2, 
>>while the version number in set's created dacl is 3. I changed the 
>>created dacl to 2 and it works perfectly now.
>>
>>It may or may not be relevant, but I am using and testing this against a 
>>NetApp Filer, and not a standard NT/2000 system. I also popped in a few 
>>extra snippets of code.
> 
> 
> Ok, I'll test this against a NT/2000 system as well. That's (unfortunately)
> the standard by which all other implementations are judged.
> 
> Jeremy.
> 
> 



More information about the samba-technical mailing list