search for: cli_resolve_path

Displaying 11 results from an estimated 11 matches for "cli_resolve_path".

2019 Oct 22
2
smbclient: Renaming file on DFS root fails with NT_STATUS_OBJECT_PATH_NOT_FOUND
...lities for all shares, and he cannot disable it for policy reasons. I can also reproduce the issue with smbd and Windows Server 2012 R2 (haven't checked with other versions). IMHO it is caused by: - Not setting SMB2_HDR_FLAG_DFS when calling smb2cli_req_send() from smb2cli_set_info_send() - cli_resolve_path() returning a full dfs path for the destination, which is then passed to cli_rename() to be used in SMB2_FILE_RENAME_INFO After some patching and testing, I came to this conclusion: Setting SMB2_HDR_FLAG_DFS solves the issue for smbd, but not for Windows Server and not for NetApp. It seems that...
2015 May 27
2
libsmbclient question
Dear Gents, We are using libsmbclient smbc_getFunctionRead to read from a Microsoft DFS share. Before each 64k read there are a QUERY_PATH_INFO and a GET_DFS_REFERRAL which slow down the transmission. Is there a way to query these only once at the beginning of the transmission and cache it? system: 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64 GNU/Linux lib:
2019 Oct 22
0
smbclient: Renaming file on DFS root fails with NT_STATUS_OBJECT_PATH_NOT_FOUND
...disable > it for policy reasons. > I can also reproduce the issue with smbd and Windows Server 2012 R2 (haven't > checked with other versions). > > IMHO it is caused by: > - Not setting SMB2_HDR_FLAG_DFS when calling smb2cli_req_send() from > smb2cli_set_info_send() > - cli_resolve_path() returning a full dfs path for the destination, which is > then passed to cli_rename() to be used in SMB2_FILE_RENAME_INFO > > After some patching and testing, I came to this conclusion: > > Setting SMB2_HDR_FLAG_DFS solves the issue for smbd, but not for Windows > Server and n...
2015 Jun 23
2
[Announce] Samba 4.1.19 Available for Download
...- This is the latest stable release of Samba 4.1. Changes since 4.1.18: --------------------- o Jeremy Allison <jra at samba.org> * BUG 11068: s3: smbcacls: Ensure we read a hex number as %x, not %u. * BUG 11249: Make mangled names work with acl_xattr. * BUG 11295: Excessive cli_resolve_path() usage can slow down transmission. o Ralph Boehme <slow at samba.org> * BUG 11244: Error code path doesn't call END_PROFILE. * BUG 11277: s3:smb2: Add padding to last command in compound requests. o Alexander Bokovoy <ab at samba.org> * BUG 11284: s4: libcli/fin...
2015 Jun 23
2
[Announce] Samba 4.1.19 Available for Download
...- This is the latest stable release of Samba 4.1. Changes since 4.1.18: --------------------- o Jeremy Allison <jra at samba.org> * BUG 11068: s3: smbcacls: Ensure we read a hex number as %x, not %u. * BUG 11249: Make mangled names work with acl_xattr. * BUG 11295: Excessive cli_resolve_path() usage can slow down transmission. o Ralph Boehme <slow at samba.org> * BUG 11244: Error code path doesn't call END_PROFILE. * BUG 11277: s3:smb2: Add padding to last command in compound requests. o Alexander Bokovoy <ab at samba.org> * BUG 11284: s4: libcli/fin...
2015 Jun 24
2
[Announce] Samba 4.1.19 Available for Download
...s since 4.1.18: > > --------------------- > > > > o Jeremy Allison <jra at samba.org> > > * BUG 11068: s3: smbcacls: Ensure we read a hex number as %x, not %u. > > * BUG 11249: Make mangled names work with acl_xattr. > > * BUG 11295: Excessive cli_resolve_path() usage can slow down > > transmission. > > > > > > o Ralph Boehme <slow at samba.org> > > * BUG 11244: Error code path doesn't call END_PROFILE. > > * BUG 11277: s3:smb2: Add padding to last command in compound > requests. > > > &...
2015 May 28
1
libsmbclient question
...ce at the beginning of the transmission and cache it? > > Hmmm. This seems to be done inside : > > SMBC_read_ctx(SMBCCTX *context, > SMBCFILE *file, > void *buf, > size_t count) > > where it's doing: > > status = cli_resolve_path(frame, "", context->internal->auth_info, > file->srv->cli, path, > &targetcli, &targetpath); > > before each call to cli_read(), which does seem rather > excessive. > > I'm gue...
2015 Jun 24
0
[Announce] Samba 4.1.19 Available for Download
...mba 4.1. > > > Changes since 4.1.18: > --------------------- > > o Jeremy Allison <jra at samba.org> > * BUG 11068: s3: smbcacls: Ensure we read a hex number as %x, not %u. > * BUG 11249: Make mangled names work with acl_xattr. > * BUG 11295: Excessive cli_resolve_path() usage can slow down > transmission. > > > o Ralph Boehme <slow at samba.org> > * BUG 11244: Error code path doesn't call END_PROFILE. > * BUG 11277: s3:smb2: Add padding to last command in compound requests. > > > o Alexander Bokovoy <ab at samb...
2015 Jul 14
0
[Announce] Samba 4.2.3 Available for Download
...Michael Adam <obnox at samba.org> * BUG 11366: docs: Overhaul the description of "smb encrypt" to include SMB3 encryption. o Jeremy Allison <jra at samba.org> * BUG 11068: s3: lib: util: Ensure we read a hex number as %x, not %u. * BUG 11295: Excessive cli_resolve_path() usage can slow down transmission. * BUG 11328: winbindd: winbindd_raw_kerberos_login - ensure logon_info exists in PAC. * BUG 11339: s3: smbd: Use separate flag to track become_root()/unbecome_root() state. * BUG 11342: s3: smbd: Codenomicon crash in do_smb_load_module()....
2015 Jul 14
0
[Announce] Samba 4.2.3 Available for Download
...Michael Adam <obnox at samba.org> * BUG 11366: docs: Overhaul the description of "smb encrypt" to include SMB3 encryption. o Jeremy Allison <jra at samba.org> * BUG 11068: s3: lib: util: Ensure we read a hex number as %x, not %u. * BUG 11295: Excessive cli_resolve_path() usage can slow down transmission. * BUG 11328: winbindd: winbindd_raw_kerberos_login - ensure logon_info exists in PAC. * BUG 11339: s3: smbd: Use separate flag to track become_root()/unbecome_root() state. * BUG 11342: s3: smbd: Codenomicon crash in do_smb_load_module()....
2015 Jun 24
0
[Announce] Samba 4.1.19 Available for Download
...------------------ >> > >> > o Jeremy Allison <jra at samba.org> >> > * BUG 11068: s3: smbcacls: Ensure we read a hex number as %x, not >> %u. >> > * BUG 11249: Make mangled names work with acl_xattr. >> > * BUG 11295: Excessive cli_resolve_path() usage can slow down >> > transmission. >> > >> > >> > o Ralph Boehme <slow at samba.org> >> > * BUG 11244: Error code path doesn't call END_PROFILE. >> > * BUG 11277: s3:smb2: Add padding to last command in compound >&gt...