Displaying 2 results from an estimated 2 matches for "cli_credentials_parse_fil".
Did you mean:
cli_credentials_parse_file
2018 Aug 31
2
smbclient changed behaviour authentication-file
Hello,
we are using Sambadav[1] with Samba 4.4 in our university, which relays
on authentication-file with giving it a file descriptor.
After 4.4 this does not any more and requires a filename.
Is there something documented about this behaviour?
Is there a new way to pass a file descriptor for authentication?
Kind regards
Philipp rehs
[
2018 Sep 03
2
smbclient changed behaviour authentication-file
...r 4.4 this does not any more and requires a filename.
> >
> > Is there something documented about this behaviour?
> >
> > Is there a new way to pass a file descriptor for authentication?
> >
> > Kind regards
> > Philipp rehs
>
> It is now calling cli_credentials_parse_file(),
> which uses the standard function fd_load()
> to load the credentials from a file.
>
> This does an fstat() on the file and sets
> the size to read as size = sbuf.st_size.
>
> I'm guessing that is what is failing now
> for you, as the size is now being set as
>...