Народ подскажите чего надо при монтирование через pam-mount выдает ошибку:
Ошибка:Sep 28 09:00:01 mediak login[2658]: pam_mount(mount.c:64): Errors from underlying mount program:
Sep 28 09:00:01 mediak login[2658]: pam_mount(mount.c:68): mount: wrong fs type, bad option, bad superblock on //server//home/test,
Sep 28 09:00:01 mediak login[2658]: pam_mount(mount.c:68): missing codepage or helper program, or other error
Sep 28 09:00:01 mediak login[2658]: pam_mount(mount.c:68): (for several filesystems (e.g. nfs, cifs) you might
Sep 28 09:00:01 mediak login[2658]: pam_mount(mount.c:68): need a /sbin/mount.<type> helper program)
Sep 28 09:00:01 mediak login[2658]: pam_mount(mount.c:68): In some cases useful info is found in syslog - try
Sep 28 09:00:01 mediak login[2658]: pam_mount(mount.c:68): dmesg | tail or so
Sep 28 09:00:01 mediak login[2658]: pam_mount(mount.c:68):
Sep 28 09:00:01 mediak login[2658]: pam_mount(pam_mount.c:492): mount of /home/test failed
Sep 28 09:00:01 mediak nologin: Attempted login by test on /dev/tty1
Sep 28 09:00:01 mediak login[2658]: pam_unix(login:session): session closed for user test
Sep 28 09:00:01 mediak login[2658]: pam_mount(mount.c:64): umount messages:
Sep 28 09:00:01 mediak login[2658]: pam_mount(mount.c:68): umount: /home/test: not mounted
Sep 28 09:00:01 mediak login[2658]: pam_mount(mount.c:698): unmount of /home/test failed
pam_mount.conf.xml<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
<!--
See pam_mount.conf(5) for a description.
-->
<pam_mount>
<!-- debug should come before everything else,
since this file is still processed in a single pass
from top-to-bottom -->
<debug enable="0" />
<!-- Volume definitions -->
<!-- pam_mount parameters: General tunables -->
<!--
<luserconf name=".pam_mount.conf.xml" />
-->
<!-- Note that commenting out mntoptions will give you the defaults.
You will need to explicitly initialize it with the empty string
to reset the defaults to nothing. -->
<mntoptions allow="nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other" />
<!--
<mntoptions deny="suid,dev" />
<mntoptions allow="*" />
<mntoptions deny="*" />
-->
<mntoptions require="nosuid,nodev" />
<path>/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin</path>
<logout wait="0" hup="0" term="0" kill="0" />
<!-- pam_mount parameters: Volume-related -->
<mkmountpoint enable="1" remove="true" />
<volume fstype="cifs" server="server" path="/home/%(USER)" mountpoint="/home/%(USER)" />
</pam_mount>
Синим выделено то что я добавил.