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
Post a Comment