[Pkg-samba-maint] Bug#926431: cifs-utils: Password containing special character "$" (dollar) only works with prepended backslash
Lars Kruse
devel at sumpfralle.de
Fri Apr 5 02:18:25 BST 2019
Package: cifs-utils
Version: 2:6.8-2
Severity: normal
Dear Maintainer,
recently I changed my LDAP password to a new one, that contains a "$" character.
Afterwards I failed to mount shares with this new password.
I tried the following approaches:
* interactive mount (e.g. "mount -t cifs -o user=foo //example/share /mnt")
* credential file
(e.g. "mount -t cifs -o user=foo,credentials=bar //example/share /mnt")
* indirect mount via "pam_mount"
In the first two cases I succeed to mount the share, if I prepend the
special character ("$") with a backslash. Thus "pass\$word" works, while
the real password is "pass$word".
The last case ("pam_mount") was obviously impossible to test this way.
I observed the same behaviour with a client on jessie (2:6.4-1) and on
stretch (2:6.7-1).
Thank you for your time!
Cheers,
Lars
PS: this issue does not seem to be related to
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775051
(I failed to reproduce its problem on my hosts)
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 4.19.0-3-686-pae (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages cifs-utils depends on:
ii libc6 2.28-8
ii libcap-ng0 0.7.9-2
ii libkeyutils1 1.6-6
ii libkrb5-3 1.17-2
ii libpam0g 1.3.1-5
ii libtalloc2 2.1.14-2
ii libwbclient0 2:4.9.5+dfsg-2
cifs-utils recommends no packages.
Versions of packages cifs-utils suggests:
ii keyutils 1.6-6
pn smbclient <none>
pn winbind <none>
-- no debconf information
More information about the Pkg-samba-maint
mailing list