Problem with credentials and cifs
I want to mount a Windows share in my Linux workstation.
When giving following command: sudo mount -t cifs -o rw,username=joe,passwd=xxxyyy //192.168.0.15/public /mnt/BU_zkab/ then it works OK but when I try to use 'credentials' it doesn't work: sudo mount -t cifs -o rw,credentials=/root/.cifscredentials //192.168.0.15/public /mnt/BU_zkab/ where ... # ls -la /root/.cifscredentials -r--r----- 1 root root 34 sep 26 2011 /root/.cifscredentials # cat /root/.cifscredentials username=joe password=xxxyyy then I get this error ... mount: wrong fs type, bad option, bad superblock on //192.168.0.15/public, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so $ dmesg | tail [14313.556288] CIFS VFS: Send error in SessSetup = -13 [14313.556487] CIFS VFS: cifs_mount failed w/return code = -13 [14580.239496] CIFS VFS: No username specified [14733.741952] CIFS VFS: No username specified [15090.382963] CIFS VFS: No username specified [15240.884869] CIFS VFS: No username specified [15317.714548] VFS: Busy inodes after unmount of cifs. Self-destruct in 5 seconds. Have a nice day... [16009.586248] CIFS VFS: No username specified [16156.375915] CIFS VFS: No username specified [16561.258294] CIFS VFS: No username specified |
Well, it says here what the possible solution could be:
Code:
(for several filesystems (e.g. nfs, cifs) you might |
Thanks - that solved my problem
|
Which is actually quite strange, since a
Code:
mount -t cifs ... Anyways, since it is working now please mark this thread as solved using the thread tools at the top of the thread. |
All times are GMT -5. The time now is 04:09 AM. |