Agent functions

Online 

Edits the samba configuration file and adds the shares. 

Offline 

Removes the shares from the configuration file. 

Monitor 

Issues the command smbclient to check if the specified shares exist. 

Clean 

Terminates all ongoing resource actions and takes the resource offline, forcibly when necessary.