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= ///share
and exporting the password beforehand to the PASSWD environment
variable. See man mount.cifs for all the details and more options.
If that works but the cifstab mechanism doesn't please file a bug
report. The very same applies if mounting from the command line doesn't
work. In both cases we need to investigate further.
Please report it at bugzilla.novell.com as described at
http://en.opensuse.org/Samba in the section 'Samba bug reporting and
advanced debugging information' You'll find a section titled 'Debugging
cifs vfs client' please provided the information requested there and be
this nice to check if the instructions are still working. :)
If you assign the defect directly to samba-maintainers@suse.de you might
accelerate the process (a bit).
Add a reference to this thread as available from the openSUSE listserver
archive (http://lists.opensuse.org/opensuse/2013-12/msg00535.html) to
your defect report and also add a link to your defect report back to
this thread with your reply.
Cheers,
Lars
--
Lars Müller [ˈlaː(r)z ˈmʏlɐ]
Samba Team + SUSE Labs
SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany