I've spun up a test box this afternoon and I'm following this guide to setup powerbroker open on it. However I'm stuck at the pam_mount config. Every time I try and login with my test user the mount does not work. Looking in the auth.log I get:
Jun 26 15:31:55 test-linux-sso sshd[3915]: Accepted keyboard-interactive/pam for test from 192.168.0.11 port 9611 ssh2 Jun 26 15:31:55 test-linux-sso sshd[3915]: pam_unix(sshd:session): session opened for user test by (uid=0) Jun 26 15:31:55 test-linux-sso sshd[3915]: (rdconf1.c:388): libxml detected a syntax error in /etc/security/pam_mount.conf.xml Jun 26 15:31:55 test-linux-sso sshd[3915]: pam_systemd(sshd:session): Failed to create session: No such file or directory
I do not see any typos in my pam_mount.conf.xml:
<pam_mount> <volume fstype=”cifs” server=”testfs.test.com” path=”Profiles” mountpoint=”/home/local/TEST” options=”sec=krb5i,user=%(DOMAIN_USER)@%(DOMAIN_NAME),uid=%(USERUID),gid=%(USERGID),cruid=%(USERUID),nodev,nosuid,file_mode=0700,dir_mode=0700″> <and><not><user></user></not></and> </volume> <mkmountpoint enable=”1″ remove=”true” /> </pam_mount>
Does anyone have any ideas why it fails?
[link][2 comments]