pam_mount est vraiment ce qu'il te faut ...
Pour ne pas avoir a t'embêter avec les comptes de chaque utilisateur, jette un coup d'oeil au fichier de conf, super bien fait :
# If user is "*", "&" will be replaced by name of the user logging on in the
# volume, mount point, mount options and fs key path fields. "~/*" will be
# replaced with "user's homedir/*." In this mode, the user need not
# own the mount point, but it must exist.
#
# volume user [smb|ncp|nfs|local] server volume mount_point mount_options
fs_key_cipher fs_key_path
#
# volume * smb krueger & /home/& uid=&,gid=&,dmask=0750 - -
Je vois pas comment faire mieux autrement, c'est vraiment le truc idéal ...
[^] # Re: pam_mount
Posté par jerome . En réponse au message Montages automatiques Samba par utilisateur & Gnome 2.6. Évalué à 1.