[opensuse] How to mask a blank in the password in /etc/samba/cifstab ?
Hi OpenSuse 13.1 64bit I'd like to mount a windows share with the cifs deamon instead of /etc/fstab. The problem seems to be that there is a space in the password of the remote share. In /etc/fstab one can mask spaces with \040. That way I can mount the share but I don't want to expose the password to anyone that can read /etc/fstab. I tried the same in /etc/samba/cifstab but cifs won't start. I tried to put the password in "" and ''. Either /etc/init.d/cifs status dumps some commandline parameter or it reports a permission denied for this share. cifs stays "unused" I tried another useraccount on the windiows-box that has a password without space. This works with cifstab. What's the trick? :} -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi, On Sat, Dec 14, 2013 at 06:06:34PM +0100, Andreas wrote:
OpenSuse 13.1 64bit
I'd like to mount a windows share with the cifs deamon instead of /etc/fstab. The problem seems to be that there is a space in the password of the remote share.
In /etc/fstab one can mask spaces with \040.
That way I can mount the share but I don't want to expose the password to anyone that can read /etc/fstab.
I tried the same in /etc/samba/cifstab but cifs won't start. I tried to put the password in "" and ''. Either /etc/init.d/cifs status dumps some commandline parameter or it reports a permission denied for this share. cifs stays "unused"
I tried another useraccount on the windiows-box that has a password without space. This works with cifstab.
What's the trick? :}
Have you tried to mount the same share on the command line by calling
mount -t cifs -o username=
On Sat, 2013-12-14 at 18:06 +0100, Andreas wrote:
Hi
OpenSuse 13.1 64bit
I'd like to mount a windows share with the cifs deamon instead of /etc/fstab. The problem seems to be that there is a space in the password of the remote share.
Hi Don't rely on the user to mount the share. Use the machine or host key to automount the share -omultiuser. Leave the user to authenticate herself. HTH L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Andreas
-
Lars Müller
-
lynn