Hi, I use pam_mount to mount each user's home directory when he logs in. It works just fine with this line in the pam_mount.conf : volume * smb myserver & /home/& uid=&,workgroup=MYDOMAIN - - (the & here is replaced by the user name when pam_mount is invoked) As you can see, the group id (gid) is not specified because I can't find any clue of how to tell pam_mount to set the gid based on user gid. The only allowed parameter is gid=& which is suitable only when you have a group for each user. Does anybody know how to get the user's gid ? Thanks -- Olivier <olles@wanadoo.fr>