Displaying 11 results from an estimated 11 matches for "fd_load".
2002 Aug 13
2
AW: Unable to open configuration file "/etc/smb.conf" (or whereve r i specify)
...d the strace would have looked like this:
open("/etc/samba/smb.conf", O_RDONLY|O_LARGEFILE) = -1 EACCES (Permission
denied)
A quick look at the source code reveals:
/etc/samba/smb.conf is opened in file_load (lib/util_file.c) which is being
called from OpenConfFile (param/params.c). Then fd_load tries to read the
file into memory.
"Unable to open configuration file" is only being printed if file_load
returns NULL which is being called if fd_load returns NULL which it does as
the read returns 0 instead of 1243 (strace).
This code is not verry complex but I really can't see ho...
2018 Sep 03
2
smbclient changed behaviour authentication-file
...; > 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
> zero on a fd /proc/self/fd/XXX path.
--
Heinrich...
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
[
2023 Mar 09
0
[Announce] Samba 4.17.6 Available for Download
...h incorrectly uses fsp_get_io_fd() instead of
???? fsp_get_pathref_fd() in close and fstat.
o? Noel Power <noel.power at suse.com>
?? * BUG 15293: With clustering enabled samba-bgqd can core dump due to use
???? after free.
o? baixiangcpp <baixiangcpp at gmail.com>
?? * BUG 15311: fd_load() function implicitly closes the fd where it
should not.
#######################################
Reporting bugs & Development Discussion
#######################################
Please discuss this release on the samba-technical mailing list or by
joining the #samba-technical:matrix.org matr...
2023 Mar 09
0
[Announce] Samba 4.17.6 Available for Download
...h incorrectly uses fsp_get_io_fd() instead of
???? fsp_get_pathref_fd() in close and fstat.
o? Noel Power <noel.power at suse.com>
?? * BUG 15293: With clustering enabled samba-bgqd can core dump due to use
???? after free.
o? baixiangcpp <baixiangcpp at gmail.com>
?? * BUG 15311: fd_load() function implicitly closes the fd where it
should not.
#######################################
Reporting bugs & Development Discussion
#######################################
Please discuss this release on the samba-technical mailing list or by
joining the #samba-technical:matrix.org matr...
2019 Apr 03
0
[Announce] Samba 4.10.1 Available for Download
...Michael Hanselmann <public at hansmi.ch>
* BUG 13840: regfio: Improve handling of malformed registry hive files.
o Amitay Isaacs <amitay at samba.org>
* BUG 13789: ctdb-version: Simplify version string usage.
o Volker Lendecke <vl at samba.org>
* BUG 13859: lib: Make fd_load work for non-regular files.
o Stefan Metzmacher <metze at samba.org>
* BUG 13816: dbcheck in the middle of the tombstone garbage collection causes
replication failures, dbcheck: add --selftest-check-expired-tombstones
cmdline option.
* BUG 13818: ndr_spoolss_buf: Fix out of...
2019 Apr 03
0
[Announce] Samba 4.10.1 Available for Download
...Michael Hanselmann <public at hansmi.ch>
* BUG 13840: regfio: Improve handling of malformed registry hive files.
o Amitay Isaacs <amitay at samba.org>
* BUG 13789: ctdb-version: Simplify version string usage.
o Volker Lendecke <vl at samba.org>
* BUG 13859: lib: Make fd_load work for non-regular files.
o Stefan Metzmacher <metze at samba.org>
* BUG 13816: dbcheck in the middle of the tombstone garbage collection causes
replication failures, dbcheck: add --selftest-check-expired-tombstones
cmdline option.
* BUG 13818: ndr_spoolss_buf: Fix out of...
2023 Mar 01
1
[Announce] Samba 4.18.0rc4 Available for Download
...addresses??????????????????????? New
CHANGES SINCE 4.18.0rc3
=======================
o? Andreas Schneider <asn at samba.org>
?? * BUG 15308: Avoid that tests fail because other tests didn't do
cleanup on
???? failure.
o? baixiangcpp <baixiangcpp at gmail.com>
?? * BUG 15311: fd_load() function implicitly closes the fd where it
should not.
CHANGES SINCE 4.18.0rc2
=======================
o? Jeremy Allison <jra at samba.org>
?? * BUG 15301: Improve file_modtime() and issues around smb3 unix test.
o? Ralph Boehme <slow at samba.org>
?? * BUG 15299: Spotlight doe...
2023 Mar 01
1
[Announce] Samba 4.18.0rc4 Available for Download
...addresses??????????????????????? New
CHANGES SINCE 4.18.0rc3
=======================
o? Andreas Schneider <asn at samba.org>
?? * BUG 15308: Avoid that tests fail because other tests didn't do
cleanup on
???? failure.
o? baixiangcpp <baixiangcpp at gmail.com>
?? * BUG 15311: fd_load() function implicitly closes the fd where it
should not.
CHANGES SINCE 4.18.0rc2
=======================
o? Jeremy Allison <jra at samba.org>
?? * BUG 15301: Improve file_modtime() and issues around smb3 unix test.
o? Ralph Boehme <slow at samba.org>
?? * BUG 15299: Spotlight doe...
2023 Mar 08
0
[Announce] Samba 4.18.0 Available for Download
...hitecture does not scale gracefully.
CHANGES SINCE 4.18.0rc3
=======================
o? Andreas Schneider <asn at samba.org>
?? * BUG 15308: Avoid that tests fail because other tests didn't do
cleanup on
???? failure.
o? baixiangcpp <baixiangcpp at gmail.com>
?? * BUG 15311: fd_load() function implicitly closes the fd where it
should not.
CHANGES SINCE 4.18.0rc2
=======================
o? Jeremy Allison <jra at samba.org>
?? * BUG 15301: Improve file_modtime() and issues around smb3 unix test.
o? Ralph Boehme <slow at samba.org>
?? * BUG 15299: Spotlight doe...
2023 Mar 08
0
[Announce] Samba 4.18.0 Available for Download
...hitecture does not scale gracefully.
CHANGES SINCE 4.18.0rc3
=======================
o? Andreas Schneider <asn at samba.org>
?? * BUG 15308: Avoid that tests fail because other tests didn't do
cleanup on
???? failure.
o? baixiangcpp <baixiangcpp at gmail.com>
?? * BUG 15311: fd_load() function implicitly closes the fd where it
should not.
CHANGES SINCE 4.18.0rc2
=======================
o? Jeremy Allison <jra at samba.org>
?? * BUG 15301: Improve file_modtime() and issues around smb3 unix test.
o? Ralph Boehme <slow at samba.org>
?? * BUG 15299: Spotlight doe...