[Samba] smbclient changed behaviour authentication-file

Andrew Bartlett abartlet at samba.org
Tue Sep 4 21:44:20 UTC 2018

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
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   

More information about the samba mailing list