mount.cifs credentials=/path-to-passwd-file not parsing
Hi,
I have RHEL5.4 and I am trying to mount a windows share.
From the older server entry file system type smb or smbfs it gives me error:
mount: unknown filesystem type 'smbfs'
Tried using cifs, i am able to mount windows share, however using option credentials=/path-to-passwd as mentioned in man 8 mount.cifs
credentials=filename
specifies a file that contains a username and/or password. The
format of the file is:
username=value
password=value
This is preferred over having passwords in plaintext in a shared
file, such as /etc/fstab. Be sure to protect any credentials file
properly.
I am unable to mount it.
My password contains meta characters something like $@.
Any idea what could be the reason? I am passing following options:
-o user=my_user,credentials=/etc/smbfs.credentials,domain=MY-DOMAIN,uid=USER,gid=USER,ro
And getting error:
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Thanks.
Last edited by xxx_anuj_xxx; 11-10-2009 at 03:24 AM.
Reason: typo
|