[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pam-mount



Hallo

Ich komme mit libpam_mount nicht weiter.

Sofern ich die Docs richtig verstanden habe sollte diese meinen
Samba-Share mounten.
Ich bin den Beispielen gefolgt aber ich bekomme Fehler die ich nicht
deuten kann.
Was geht schief?

Einrichtung:
Optionen hinzugefügt in /etc/pam.d/
-->--
/etc/pam.d/login:@include common-pammount
/etc/pam.d/gdm:@include common-pammount
/etc/pam.d/gdm-autologin:@include common-pammount
--<--

In "/etc/security/pam_mount.conf" folgende option auskommentiert:
-->--
# user dürfen also:
luserconf .pam_mount.conf
--<--

In "~/.pam_mount.conf" steht folgendes:
-->--
volume flobee smbfs server share /home/flobee/servers/share - - -
--<--


Fehler/Debug-Meldung:
-->--
pam_mount(readconfig.c:467) path to luserconf set to
/home/flobee/.pam_mount.conf
pam_mount(readconfig.c:197) reading options_allow...
pam_mount(readconfig.c:180) reading options_require...
pam_mount(pam_mount.c:439) back from global readconfig
pam_mount(pam_mount.c:443) going to readconfig user
pam_mount(pam_mount.c:448) back from user readconfig
pam_mount(pam_mount.c:459) pam_sm_open_session: real uid/gid=0:1000,
effective uid/gid=0:1000
pam_mount(readconfig.c:418) checking sanity of volume record (share)
pam_mount(readconfig.c:317) option nosuid required
pam_mount(readconfig.c:401) illegal option specified by user
pam_mount(pam_mount.c:123) clean system authtok (0)
pam_mount(misc.c:264) command: /usr/sbin/pmvarrun [-u] [flobee] [-o] [1]
pam_mount(misc.c:341) set_myuid(pre): real uid/gid=0:1000, effective
uid/gid=0:1000
pam_mount(misc.c:376) set_myuid(post): real uid/gid=0:1000, effective
uid/gid=0:1000
pam_mount(pam_mount.c:360) pmvarrun says login count is 1
pam_mount(pam_mount.c:491) done opening session
--<--


test (nicht da):
-->--
flobee@d1:~$ mount
/dev/sdb1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sdb6 on /home type ext3 (rw)
capifs on /dev/capi type capifs (rw,mode=0666)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
--<--

Logout sagt:
-->--
flobee@d1:~$ logout
pam_mount(pam_mount.c:533) received order to close things
pam_mount(pam_mount.c:534) real and effective user ID are 0 and 0.
pam_mount(misc.c:264) command: /usr/sbin/pmvarrun [-u] [flobee] [-o] [-1]
pam_mount(misc.c:341) set_myuid(pre): real uid/gid=0:1000, effective
uid/gid=0:1000
pam_mount(misc.c:376) set_myuid(post): real uid/gid=0:1000, effective
uid/gid=0:1000
pam_mount(pam_mount.c:360) pmvarrun says login count is 0
pam_mount(pam_mount.c:556) going to unmount
pam_mount(mount.c:368) information for mount:
pam_mount(mount.c:369) ----------------------
pam_mount(mount.c:370) (defined by luserconf)
pam_mount(mount.c:373) user:          flobee
pam_mount(mount.c:374) server:        tv
pam_mount(mount.c:375) volume:        share
pam_mount(mount.c:376) mountpoint:    /home/flobee/servers/share
pam_mount(mount.c:377) options:
pam_mount(mount.c:378) fs_key_cipher:
pam_mount(mount.c:379) fs_key_path:
pam_mount(mount.c:380) use_fstab:   0
pam_mount(mount.c:381) ----------------------
pam_mount(misc.c:264) command: /usr/bin/lsof [/home/flobee/servers/share]
pam_mount(mount.c:131) lsof output (should be empty)...
pam_mount(mount.c:133) waiting for lsof
pam_mount(misc.c:264) command: /usr/bin/smbumount
[/home/flobee/servers/share]
pam_mount(mount.c:487) umount errors (should be empty):
pam_mount(mount.c:100) pam_mount(misc.c:341) set_myuid(pre): real
uid/gid=0:1000, effective uid/gid=0:1000
pam_mount(mount.c:100) pam_mount(misc.c:376) set_myuid(post): real
uid/gid=0:1000, effective uid/gid=0:1000
pam_mount(mount.c:100) /home/flobee/servers/share probably not
smb-filesystem
pam_mount(mount.c:490) waiting for umount
pam_mount(pam_mount.c:558) unmount of share failed
pam_mount(pam_mount.c:567) pam_mount execution complete
pam_mount(pam_mount.c:106) Clean global config (0)
pam_mount(pam_mount.c:123) clean system authtok (0)
--<--

Ich bin ratlos. :-(


Gruß Florian



Reply to: