I am using net use to map shares on a windows machine to Red Hat Linux using Likewise CIFS. I was wondering if there is a way to check which user a particular share was mapped as. I desire this information because Guest Mode is enabled which will mount the share as guest if invalid credentials are received. Therefore I am curios to know if the share got mounted as guest or as a different local user. If possible I would like to do this from the command line so it can be automated in a script.
Home
/
user-91922