I try to create user in samba server and found out that samr protocol is used for that
RPC clients for this protocol MUST use RPC over TCP/IP for the SamrValidatePassword method and MUST use RPC over SMB for the SamrSetDSRMPassword method.
I understood that there are some relationship between smb and samr.
Could you please explain the hierarchy of of those protocols ?
I want to know it because most articles mention that Samba server support smb protocol and from java I can use jcifs library.
JCIFS is an Open Source client library that implements the CIFS/SMB networking protocol in 100% Java
Also I noticed that this library contains classes where you can notice samr in the name https://github.com/codelibs/jcifs/tree/master/src/main/java/jcifs/dcerpc/msrpc
So what is relationship of samr and smb ?
Based on this
IP < TCP < SMB Named Pipes < MSRPC