question about

ssdl.566 ssdl.566 at 163.com
Sat Mar 24 04:53:43 UTC 2018


Hi Jeremy:
          I have a question about smbXsrv_open_update function call in smb2_create process.


         if (update_open ) {
op->global->create_guid = _create_guid;


                        what is create_guid field used for ? is it just used in durable connect process?
                   
if (need_replay_cache) {
op->flags |= SMBXSRV_OPEN_NEED_REPLAY_CACHE;
}


status = smbXsrv_open_update(op);
DEBUG(10, ("smb2_create_send: smbXsrv_open_update "
  "returned %s\n",
  nt_errstr(status)));
if (!NT_STATUS_IS_OK(status)) {
tevent_req_nterror(req, status);
return tevent_req_post(req, ev);
}
}
                here smbXsrv_open_update was called just to store create_guid and backend_cookie information for durable connect, am i right?
                if  'durable handles' option in smb.conf is set to 'no', i want to know if it is possible we donot call smbXsrv_open_update here.




peace and happiness
leilei dong


More information about the samba-technical mailing list