undefined smb_messages in samba-4.3.13

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

undefined smb_messages in samba-4.3.13

Samba - samba-technical mailing list
Below is the smbd generated after building samba-4.3.13
[sandeep@machine-10 samba-4.3.13]$ nm ./bin/default/source3/smbd/smbd |
grep smb_messages
[sandeep@machine-10 samba-4.3.13]$


I see in the following in samba-4.3.13 code's  smb_server folder:
[sandeep@r320-sys-10 source4]$ ls smb_server/
blob.c  handle.c  management.c  service_smb.c  session.c  smb  smb2
smb_server.c  smb_server.h  tcon.c  wscript_build
[sandeep@r320-sys-10 source4]$ ls smb_server/smb2
fileinfo.c  fileio.c  find.c  keepalive.c  negprot.c  receive.c
sesssetup.c  smb2_server.h  tcon.c  wscript_build


Which says that receive.c is built only for SMB,SMB2 protocol whereas in
SMB3 it is not.


I am looking for help in:
How can we intercept operations in SMB3?
Should i include receive.c in SMB3 build or is their any alternative?


Thanks in advance,

-Sandeep
Reply | Threaded
Open this post in threaded view
|

Re: undefined smb_messages in samba-4.3.13

Samba - samba-technical mailing list
You should upgrade to Samba 4.7(.3) for SMB3 support along with many
improvements and bug fixes.
https://www.samba.org/

On 11/30/2017 9:03 PM, sandeep nag via samba-technical wrote:

> Below is the smbd generated after building samba-4.3.13
> [sandeep@machine-10 samba-4.3.13]$ nm ./bin/default/source3/smbd/smbd |
> grep smb_messages
> [sandeep@machine-10 samba-4.3.13]$
>
>
> I see in the following in samba-4.3.13 code's  smb_server folder:
> [sandeep@r320-sys-10 source4]$ ls smb_server/
> blob.c  handle.c  management.c  service_smb.c  session.c  smb  smb2
> smb_server.c  smb_server.h  tcon.c  wscript_build
> [sandeep@r320-sys-10 source4]$ ls smb_server/smb2
> fileinfo.c  fileio.c  find.c  keepalive.c  negprot.c  receive.c
> sesssetup.c  smb2_server.h  tcon.c  wscript_build
>
>
> Which says that receive.c is built only for SMB,SMB2 protocol whereas in
> SMB3 it is not.
>
>
> I am looking for help in:
> How can we intercept operations in SMB3?
> Should i include receive.c in SMB3 build or is their any alternative?
>
>
> Thanks in advance,
>
> -Sandeep


Reply | Threaded
Open this post in threaded view
|

Re: undefined smb_messages in samba-4.3.13

Samba - samba-technical mailing list
In reply to this post by Samba - samba-technical mailing list
Hi Sandeep,

> Below is the smbd generated after building samba-4.3.13
> [sandeep@machine-10 samba-4.3.13]$ nm ./bin/default/source3/smbd/smbd |
> grep smb_messages
> [sandeep@machine-10 samba-4.3.13]$
>
>
> I see in the following in samba-4.3.13 code's  smb_server folder:
> [sandeep@r320-sys-10 source4]$ ls smb_server/
> blob.c  handle.c  management.c  service_smb.c  session.c  smb  smb2
> smb_server.c  smb_server.h  tcon.c  wscript_build
> [sandeep@r320-sys-10 source4]$ ls smb_server/smb2
> fileinfo.c  fileio.c  find.c  keepalive.c  negprot.c  receive.c
> sesssetup.c  smb2_server.h  tcon.c  wscript_build
>
>
> Which says that receive.c is built only for SMB,SMB2 protocol whereas in
> SMB3 it is not.
The code of 'smbd' is located in source3/smbd/
and SMB3 is supported there.

metze



signature.asc (853 bytes) Download Attachment