search for: tevent_req_nterror

Displaying 13 results from an estimated 13 matches for "tevent_req_nterror".

Did you mean: _tevent_req_nterror
2016 Oct 17
2
Bug 6870 resurfaced in Samba 4.2.10
...p.c: > > > > for (i=0; i<num_servers; i++) { > > NTSTATUS status; > > > > status = cldap_socket_init(state->cldap, > > NULL, /* local_addr */ > > state->servers[i], > > &state->cldap[i]); > > > > if (tevent_req_nterror(req, status)) { > > return tevent_req_post(req, ev); > > } > > > > /* Code omitted for brevity */ > > > > } > > > > This is in cldap_multi_netlogon_send(), a function that sends CLDAP > > requests to multiple DCs in one go. The loo...
2016 Oct 17
2
Bug 6870 resurfaced in Samba 4.2.10
...g into the source code, and I think I've found the issue. Around line 120 of source3/libads/cldap.c: for (i=0; i<num_servers; i++) { NTSTATUS status; status = cldap_socket_init(state->cldap, NULL, /* local_addr */ state->servers[i], &state->cldap[i]); if (tevent_req_nterror(req, status)) { return tevent_req_post(req, ev); } /* Code omitted for brevity */ } This is in cldap_multi_netlogon_send(), a function that sends CLDAP requests to multiple DCs in one go. The loop here sets up a socket for each DC. cldap_socket_init() in turn (possibly several calls d...
2019 Feb 14
3
smbclient error talking to Netapp with SMB 3.11 / Samba 4.7.11
...DataLength: 10 + Reserved: 00000000 + CipherCount: 1 + CipherId: AES-128-CCM (0x0001) Skimming smbXcli_negprot_smb2_done(), there is a check for the data length: if (cipher->data.length != (2 + 2 * cipher_count)) { tevent_req_nterror(req, NT_STATUS_INVALID_NETWORK_RESPONSE); return; } Looks like Samba expects a value of 4 but the server sends 10 so the above check fails. The difference appears to be the six unaacounted for bytes above. Those bytes look unstructured, could...
2016 Oct 17
0
Bug 6870 resurfaced in Samba 4.2.10
...'ve found the > issue. Around line 120 of source3/libads/cldap.c: > > for (i=0; i<num_servers; i++) { > NTSTATUS status; > > status = cldap_socket_init(state->cldap, > NULL, /* local_addr */ > state->servers[i], > &state->cldap[i]); > > if (tevent_req_nterror(req, status)) { > return tevent_req_post(req, ev); > } > > /* Code omitted for brevity */ > > } > > This is in cldap_multi_netlogon_send(), a function that sends CLDAP > requests to multiple DCs in one go. The loop here sets up a socket for > each DC. cldap_socke...
2016 Oct 17
2
Bug 6870 resurfaced in Samba 4.2.10
...ource3/libads/cldap.c: > > > > for (i=0; i<num_servers; i++) { > > NTSTATUS status; > > > > status = cldap_socket_init(state->cldap, > > NULL, /* local_addr */ > > state->servers[i], > > &state->cldap[i]); > > > > if (tevent_req_nterror(req, status)) { > > return tevent_req_post(req, ev); > > } > > > > /* Code omitted for brevity */ > > > > } > > > > This is in cldap_multi_netlogon_send(), a function that sends CLDAP > > requests to multiple DCs in one go. The loop here s...
2015 May 27
0
[Announce] Samba 4.2.2 Available for Download
...* BUG 11249: Mangled names do not work with acl_xattr. * BUG 11254: nmbd rewrites browse.dat when not required. o Ralph Boehme <slow at samba.org> * BUG 11213: vfs_fruit: add option "nfs_aces" that controls the NFS ACEs stuff. * BUG 11224: s3:smbd: Add missing tevent_req_nterror. * BUG 11243: vfs: kernel_flock and named streams. * BUG 11244: vfs_gpfs: Error code path doesn't call END_PROFILE. o Alexander Bokovoy <ab at samba.org> * BUG 11284: s4: libcli/finddcs_cldap: continue processing CLDAP until all addresses are used. o David Dissel...
2015 May 27
0
[Announce] Samba 4.2.2 Available for Download
...* BUG 11249: Mangled names do not work with acl_xattr. * BUG 11254: nmbd rewrites browse.dat when not required. o Ralph Boehme <slow at samba.org> * BUG 11213: vfs_fruit: add option "nfs_aces" that controls the NFS ACEs stuff. * BUG 11224: s3:smbd: Add missing tevent_req_nterror. * BUG 11243: vfs: kernel_flock and named streams. * BUG 11244: vfs_gpfs: Error code path doesn't call END_PROFILE. o Alexander Bokovoy <ab at samba.org> * BUG 11284: s4: libcli/finddcs_cldap: continue processing CLDAP until all addresses are used. o David Dissel...
2015 May 12
0
[Announce] Samba 4.1.18 Available for Download
...uot;. * BUG 11254: s3: nmbd: Don't set work_changed = True inside update_server_ttl(). o Andrew Bartlett <abartlet at samba.org> * BUG 11100: debug: Set close-on-exec for the main log file FD. o Ralph Boehme <slow at samba.org> * BUG 11224: s3:smbd: Missing tevent_req_nterror. * BUG 11243: vfs: kernel_flock and named streams. o Ira Cooper <ira at samba.org> * BUG 11069: vfs_glusterfs: Add comments to the pipe(2) code. * BUG 11115: smbd: Stop using vfs_Chdir after SMB_VFS_DISCONNECT. o G?nther Deschner <gd at samba.org> * BUG 10240: vf...
2015 May 12
0
[Announce] Samba 4.1.18 Available for Download
...uot;. * BUG 11254: s3: nmbd: Don't set work_changed = True inside update_server_ttl(). o Andrew Bartlett <abartlet at samba.org> * BUG 11100: debug: Set close-on-exec for the main log file FD. o Ralph Boehme <slow at samba.org> * BUG 11224: s3:smbd: Missing tevent_req_nterror. * BUG 11243: vfs: kernel_flock and named streams. o Ira Cooper <ira at samba.org> * BUG 11069: vfs_glusterfs: Add comments to the pipe(2) code. * BUG 11115: smbd: Stop using vfs_Chdir after SMB_VFS_DISCONNECT. o G?nther Deschner <gd at samba.org> * BUG 10240: vf...
2019 Feb 13
2
smbclient error talking to Netapp with SMB 3.11 / Samba 4.7.11
Hi Louis, thanks for your reply. -<| Quoting L.P.H. van Belle via samba <belle at bazuin.nl>, on Wednesday, 2019-02-13 04:59:55 PM |>- > > DOM.AIN\foobar's password: > ^^^^^^^^ > > No dot is allowed in the NTDOM > Fix that first, then try again. That’s the output when logon succeeds though nor does the value seem to matter anywhere else. This is just Samba
2016 Oct 17
0
Bug 6870 resurfaced in Samba 4.2.10
...> issue. Around line 120 of source3/libads/cldap.c: > > for (i=0; i<num_servers; i++) { > NTSTATUS status; > > status = cldap_socket_init(state->cldap, > NULL, /* local_addr */ > state->servers[i], > &state->cldap[i]); > > if (tevent_req_nterror(req, status)) { > return tevent_req_post(req, ev); > } > > /* Code omitted for brevity */ > > } > > This is in cldap_multi_netlogon_send(), a function that sends CLDAP > requests to multiple DCs in one go. The loop here sets up a socket for > each DC. cld...
2017 Jun 13
2
skip chunk if "DRS linked attribute for GUID - DN not found"
...!W_ERROR_EQUAL(status, WERR_DS_NO_SUCH_OBJECT)) { /* * If we failed to apply the records due to a missing @@ -943,6 +943,11 @@ static void dreplsrv_op_pull_source_apply_changes_trigger(struct tevent_req *req tevent_req_nterror(req, nt_status); return; } + + if (W_ERROR_EQUAL(status, WERR_DS_NO_SUCH_OBJECT)) { + /* linked value to non existing object */ + DEBUG(0,("try to skip chunk\n")); + } if (state-&...
2016 Oct 13
3
Bug 6870 resurfaced in Samba 4.2.10
According to this bugzilla entry, bug 6870 has been fixed as of at least version 3.5: https://bugzilla.samba.org/show_bug.cgi?id=6870 However, I assert that it is present in 4.2.10, which ships with Debian Jessie. On my home network (IPv4 and IPv6), a box with Samba 4.2.10 with IPv6 disabled (via sysctl), will fail to contact a DC because the IPv6 connect fails immediately before the v4