Web lists-archives.com

Re: [Samba] smbclient changed behaviour authentication-file




On Tue, 2018-09-04 at 13:44 -0700, Jeremy Allison via samba wrote:
> On Mon, Sep 03, 2018 at 07:05:19AM +0000, Rehs, Philipp Helo via samba wrote:
> > Hello,
> > 
> > thank you for this information.
> > 
> > Do you have any idea for an workaround? 
> 
> Hmmm. This isn't an easy fix. The calling code
> will have to change to write the auth data
> into a file and delete afterwards.
> 
> file_lines_load() is just too convenient to
> stop using for a case like this I'm afraid.

Can't fd_load(0) in util_file.c be rewritten with a read/realloc loop
if size is 0 or isn't a regular file?

Andrew Bartlett

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba





-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba