Skip to main content

Thread: how to check if mount.cifs will need a password?


hi,

have daemon running automatically mounts cifs shares using /etc/fstab entries
1 of entries needs password dont have access to
problem daemon tries mount resulting in error (13 - permission denied) makes sense
want prevent error message (which logged dmesg kernel log)
thought overriding error logging value mount.cifs dont seem have one

other idea's how can check if fstab entry need username/password key or how can check if fstab entry fail mount in case of automated daemon can prevent flooding error log?

thx

one possiblity found using smbclient this
smbclient -n -c "cd ." -u username [my fstab based smb server]


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] how to check if mount.cifs will need a password?


Ubuntu

Comments

Popular posts from this blog

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support