Configuring and Managing MPE/iX Internet Services (MPE/iX 6.5)

Chapter 7 89
Samba/iX Services
Overview of Samba/iX
Figure 7-3 SMB NegProt Connection
Once a protocol has been established, the client can proceed to logon to
the server. Client now sends a SMB Session Setup command
(SesssetupX), see Figure 7-4. The response indicates whether the
username password pair is valid, and if so, can provide additional
information. One of the very important aspects of the response is a User
ID value that must be submitted with all the subsequent SMBs sent to
the server. This is used for user authentication.
Figure 7-4 SMB Sesssetup Connection
After the client has logged in, then proceeds to connect to the file tree by
sending a SMB Tree Connect command (TconX) to the server, see
Figure 7-5. Here TconX stands for tree connect. The client sends a Tcon
or SMB TconX specifying the network name of the share that they wish
to connect to, and if all is well, the server responds with a TID that the
client will use in all future SMBs relating to that share.
Figure 7-5 SMB TconX Connection
After connecting to a tree, the client can now open a file with an open
SMB, followed by reading it with read SMBs, writing it with write
SMBs, and closing it with close SMBs.
Client Server
NegProt command
NegProt response
Client Server
Sesssetup command
Sesssetup response
Client Server
TconX command
TconX response