The process of user authentication depends whether Samba/iX
is running in share level or user level. The "security" parameter
in the configuration file is used to specify the share level or
user level authentication. If the "security" parameter
is set to share, Samba/iX will tell clients it is granting access
under share mode security. The process for granting access under
share level security is:
If the service is marked "guest ok" or "public",
then the client is granted access with the rights of the username
given in the "guest account" parameter for the
service.
If a service is marked as "guest only" (not guest ok or
public) then access is granted with the rights of the username given
in the guest account parameter for the service.
If a client passed a username/password pair to Samba/iX, and the
username and password are validated, the client is granted access
with the rights of the username.
If the client registered a username with Samba/iX during a
previous connection and now supplies the correct password for that
username, access is granted.
If the client validated a username/password pair with the Samba/iX
server during a previous connections, and now passes the correct
corresponding access token, access is granted. This step will be
skipped if the "revalidate" service parameter is true for
this service.