[Samba] Debian client/workstation pam_mount

Christian Naumer cn at brain-biotech.de
Fri Sep 25 12:14:07 UTC 2020

Am 25.09.20 um 13:55 schrieb Robert Wooden via samba:
> Although still not quite correct, my pam_mount.conf.xml looks like:
> root at lws4:~# cat /etc/security/pam_mount.conf.xml
> <debug enable="1" />
> <volume fstype="fuse"
> server="mbr04.subdom.example.com"
> path="/srv/samba/public"
> mountpoint="/home/test2/dtshare"
> options=""username=%(USER),uid=%(USERUID),gid=%(USERGID),domain=%(DOMAIN_NAME),nosuid,nodev,noatime,reconnect,nonempty,allow_other,default_permissions,password_stdin"
> ssh="0" noroot="0" />

> Password entry required for 'Password for root@//
> mbr04.subdom.example.com/home/mnt-test/:' (PID 5820).
> Please enter password with the systemd-tty-ask-password-agent tool:

Do you want to run this as root?

Also this:

Sep 25 06:37:29 lws4 sshd[5799]: (rdconf1.c:401): libxml *detected a
syntax error *in /etc/security/pam_mount.conf.xml

Did you check the syntax? Have you tried Rowlands example? Specifically
without the "password_stdin"

Are us ssh-ing into this client? With which user?



Dr. Christian Naumer
Unit Head Bioprocess Development

B.R.A.I.N Aktiengesellschaft
Darmstaedter Str. 34-36, D-64673 Zwingenberg
e-mail cn at brain-biotech.com, homepage www.brain-biotech.com
fon +49-6251-9331-30  /   fax +49-6251-9331-11

Sitz der Gesellschaft: Zwingenberg/Bergstrasse
Registergericht AG Darmstadt, HRB 24758
Vorstand: Adriaan Moelker (Vorstandsvorsitzender), 
Manfred Bender
Aufsichtsratsvorsitzender: Dr. Georg Kellinghusen

More information about the samba mailing list