Thank you for the hint at those credential files. :) interestingly THERE the \040 works go figure :} On the other hand the cred-file does work in fstab, too I'm just wondering if the cifs thingy is worth the headache. If cifstab would accept \040 it'd be all nice and fluffy. While the cred-file solves the problem with a space in the password it still doesn't help when there is a space in the remote folder name. Well, at least now I have a way to use fstab without exposing passwords there. Am 14.12.2013 23:29, schrieb David C. Rankin:
On 12/14/2013 01:35 PM, Andreas wrote:
I didn't try your last suggestions, yet, but I found another thing.
I can't mount share via cifstab that has a space in the remote folder name. Thats the same problem.
In /etc/fstab I can replace the space with \040 but cifstab won't work that way.
I haven't tried with spaces, but I have had good luck using a credentials file for cifs mounts:
mount.cifs //server/share /mountpoint -o credentials=/home/david/mnt/cfile
the contents of the credentials file (cfile) is simply:
username=your_username password=your_password
This may give you the option of putting your_password in " or ' and getting it to work. Of course it just needs to be readable to you. Worth a try. You can also try character codes (your \040, etc.).
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org