Le ven. 5 avr. 2019 à 03:21, Lars Kruse <de...@sumpfralle.de> a écrit : > > 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).
Thanks for your report. Reading the source of cifs-utils and linux, I don't find where the dollar sign is unescaped. As a workaround for pma_mount, you may use a <cifsmount> wrapper command. See https://manpages.debian.org/testing/libpam-mount/pam_mount.conf.5.en.html Regards -- Mathieu Parent