Re: [Samba] Pam_mount + cifs
I think (or choose to assume) that Thierry meant to answer to the list, not to me personally. On 22/10/07 22:58, Thierry Lacoste [EMAIL PROTECTED] wrote: On Monday 22 October 2007 22:27, you wrote: On 19/10/07 10:13, Thierry Lacoste [EMAIL PROTECTED] wrote: I have it working in an LDAP context. However I was unable to make KDE work. http://lists.samba.org/archive/samba/2006-July/122347.html If you make some progress please let me know. Mount.cifs will only work with KDE if you mount with '-o serverino'. -BT Thanks a lot. I will try that soon. I've long been trying to replace my insecure nfs mounts with cifs mounts but I wasn't prepared to do it in production (especially because of KDE issues). AFAICS you seem to believe it is sensible choice. A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? I moved your reply to below my text... That said. Yes, and no. I've used cifs in production on 600 Linux clients for 18 months. It works, but not as well as I'd like, and in some contexts it fails to meet my purposes. Which is why we, sometime this spring or next summer, will be moving to NFSv4 for home directories. We have the Kerberos structure in place, meaning that the main obstacle isn't one. For more than 90 of our users, cifs works perfectly. For the remainder, it is a continuing cause of frustration and irritation that umask doesn't work, file create mode follows server-side settings not creation programme settings and is anything but easy to get the way it should be. Much of this comes down to file permission settings being mapped to Windows file system functionality of various sorts, which for us is a complete non-starter - these Samba servers only serve data to Linux machines. A few applications (mutt and eclipse, from the top of my head, a few others) behave very erratic with cifs, and unless you have a very tightly run ntp service emacs and various other editor-like applications will snafu on you, too. If these things don't bother you, cifs should serve your purposes. The slow file performances has been less of an issue for us than I'd expected. People are used to moving data they'll be chewing for more than a few moments to local disk - networked disk is always slow. Bjørn -- Bjørn Tore Sund Phone: 555-84894 Email: [EMAIL PROTECTED] IT department VIP: 81724 Support: http://bs.uib.no Univ. of Bergen When in fear and when in doubt, run in circles, scream and shout. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Pam_mount + cifs
Diego Obetko wrote: On 10/22/07, *Thierry Lacoste* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Did you try mount_cifs manually ? FWIW here's what I have in my pam_mount.conf (ahomes is the samba server) : volume * cifs ahomes ~/ uid=,filemode=0700,dirmode=0700 - - i've tried that... no luck. manually mounting the share i get the same behaviour drwx-- 36 1181 guest0 2007-10-17 09:33 dobetko id shows information correctly though :/ Bjørn: When compiling (make the pam_cifs i get this error.. In file included from pam_cifs.c:22: pam_cifs_module.h:32:34: error: security/pam_modules.h: No existe el fichero o el directorio pam_cifs_module.h:33:34: error: security/_pam_macros.h: No existe el fichero o el directorio In file included from pam_cifs.c:22: pam_cifs_module.h:40: error: expected ')' before '*' token pam_cifs.c:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' pam_cifs.c:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' pam_cifs.c:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' make: *** [pam_cifs.o] Error 1 You're lacking the pam development package. On my Fedora it's called pam-devel, and is installable with 'yum install pam-devel'. Pam modules cannot be compiled without having pam header files and libraries available. -BT -- Bjørn Tore Sund Phone: 555-84894 Email: [EMAIL PROTECTED] IT department VIP: 81724 Support: http://bs.uib.no Univ. of Bergen When in fear and when in doubt, run in circles, scream and shout. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Pam_mount + cifs
On 10/22/07, Thierry Lacoste [EMAIL PROTECTED] wrote: Did you try mount_cifs manually ? FWIW here's what I have in my pam_mount.conf (ahomes is the samba server) : volume * cifs ahomes ~/ uid=,filemode=0700,dirmode=0700 - - i've tried that... no luck. manually mounting the share i get the same behaviour drwx-- 36 1181 guest0 2007-10-17 09:33 dobetko id shows information correctly though :/ Bjørn: When compiling (make the pam_cifs i get this error.. In file included from pam_cifs.c:22: pam_cifs_module.h:32:34: error: security/pam_modules.h: No existe el fichero o el directorio pam_cifs_module.h:33:34: error: security/_pam_macros.h: No existe el fichero o el directorio In file included from pam_cifs.c:22: pam_cifs_module.h:40: error: expected ')' before '*' token pam_cifs.c:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' pam_cifs.c:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' pam_cifs.c:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' make: *** [pam_cifs.o] Error 1 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Pam_mount + cifs
[EMAIL PROTECTED]:~$ id uid=10323(dobetko) gid=10002(soporte) grupos=1,10002(soporte),10051,10055 [EMAIL PROTECTED]:~$ whoami dobetko [EMAIL PROTECTED]:~$ ls -l /home/dobetko total 156566 -rwxr-xr-x 1 dobetko root0 2006-08-23 07:00 7725_EntConsole.log -rwxr-xr-x 1 dobetko root95514 2004-01-22 06:39 bliss.jpg drwx-- 1 dobetko root 4096 2007-10-18 09:49 Desktop drwx-- 1 dobetko root 4096 2006-09-29 08:02 Entorno de red drwx-- 1 dobetko root 4096 2007-06-14 08:01 Escritorio drwx-- 1 dobetko root 4096 2006-09-29 08:14 garfio drwx-- 1 dobetko root 4096 2006-09-08 10:16 groupware -rwxr-xr-x 1 dobetko root 904153 2003-03-11 21:32 In_Gods_Country.jpg drwx-- 1 dobetko root 4096 2007-07-05 08:45 juegos drwx-- 1 dobetko root 4096 2007-10-16 11:40 Mis documentos -rwxr-xr-x 1 dobetko root2 2007-10-09 10:53 openoffice.txt drwx-- 1 dobetko root 4096 2006-10-23 08:10 perfil_win -rwxr-xr-x 1 dobetko root0 2007-10-03 10:42 prueba -rwxr-xr-x 1 dobetko root0 2007-10-05 17:35 pruieba -rwxr-xr-x 1 dobetko root0 2007-05-23 13:54 rc.local On 10/19/07, Thierry Lacoste [EMAIL PROTECTED] wrote: I have it working in an LDAP context. However I was unable to make KDE work. http://lists.samba.org/archive/samba/2006-July/122347.html If you make some progress please let me know. Regards, Thierry. On Wednesday 17 October 2007 19:18, Diego Obetko wrote: Hi, i'm probably not the first but i have found no concrete information about my problem... lots of information, nothing helped.. :S so, here's the thing.. i'm running a samba-3.0.22-13.16 server on SLES 9 kernel 2.6.16.21-0.8-default as an nt domain controller, there was a migration to Linux for the workstations so i had to implement WINBIND + PAM_MOUNT. Maybe a winbind issue. See below. after searching for the right configuration y got it working with SMBFS and here's the problem... smbfs doesn't support hardlinks or symlinks... a BIG trouble since the workstations run KDE (dcop)... i've tryed mounting homes with cifs insted but this is what happens - pam_mount.conf - debug 1 mkmountpoint 1 luserconf .pam_mount.conf options_allow nosuid,nodev options_denysuid,dev options_require nosuid,nodev lsof /usr/sbin/lsof %(MNTPT) fsck /sbin/fsck -p %(FSCKLOOP) cifsmount /bin/mount -t cifs //%(SERVER)/%(VOLUME) %(MNTPT) -o username=%(USER)%(before=\,\ OPTIONS) smbmount /usr/bin/smbmount //%(SERVER)/%(VOLUME) %(MNTPT) -o username=%(USER),gid=%(USERGID)%(before=\,\ OPTIONS) umount /bin/umount %(MNTPT) mntagain /bin/mount --bind %(PREVMNTPT) %(MNTPT) volume * cifs 192.168.9.15/home/ uid=,dir_mode=0700,workgroup=COLEGIO - - --- pam_mount(mount.c:368) information for mount: pam_mount(mount.c:369) -- pam_mount(mount.c:370) (defined by globalconf) pam_mount(mount.c:373) user: dobetko pam_mount(mount.c:374) server:192.168.9.15 pam_mount(mount.c:375) volume:dobetko pam_mount(mount.c:376) mountpoint:/home/dobetko pam_mount(mount.c:377) options: user=dobetko,dir_mode=0700 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(mount.c:177) realpath of volume /home/dobetko is /home/dobetko pam_mount(mount.c:182) checking to see if //192.168.9.15/dobetko is already mounted at /home/dobetko pam_mount(mount.c:799) checking for encrypted filesystem key configuration pam_mount(mount.c:819) about to start building mount command pam_mount(misc.c:264) command: /bin/mount [-t] [cifs] [//192.168.9.15/dobetko] [/home/dobetko] [-o] [username=dobetko,user=dobetko,dir_mode=0700] pam_mount(mount.c:851) mount errors (should be empty): pam_mount(mount.c:100) pam_mount(misc.c:341) set_myuid(pre): real uid/gid=0:10003, effective uid/gid=0:10003 pam_mount(mount.c:100) pam_mount(misc.c:376) set_myuid(post): real uid/gid=0:10003, effective uid/gid=0:10003 pam_mount(mount.c:854) waiting for mount S.ficheros Bloques de 1K UsadoDispon Uso% Montado en /dev/hda1 27617036 15634032 10580132 60% / tmpfs 254372 0254372 0% /lib/init/rw udev 1024052 10188 1% /dev tmpfs 254372 0254372 0% /dev/shm //192.168.9.15/dobetko 117206592 101382352 15824240 87% /home/dobetko pam_mount(pam_mount.c:123) clean system authtok (0) pam_mount(misc.c:264) command: /usr/sbin/pmvarrun [-u] [dobetko] [-o] [1] pam_mount(misc.c:341) set_myuid(pre): real uid/gid=0:10003, effective uid/gid=0:10003 pam_mount(misc.c:376) set_myuid(post): real uid/gid=0:10003, effective uid/gid=0:10003
Re: [Samba] Pam_mount + cifs
forgot about this one [EMAIL PROTECTED]:~$ id 1181 id: 1181: No existe ese usuario (doesn't exist) On 10/22/07, Diego Obetko [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:~$ id uid=10323(dobetko) gid=10002(soporte) grupos=1,10002(soporte),10051,10055 [EMAIL PROTECTED]:~$ whoami dobetko [EMAIL PROTECTED]:~$ ls -l /home/dobetko total 156566 -rwxr-xr-x 1 dobetko root0 2006-08-23 07:00 7725_EntConsole.log -rwxr-xr-x 1 dobetko root95514 2004-01-22 06:39 bliss.jpg drwx-- 1 dobetko root 4096 2007-10-18 09:49 Desktop drwx-- 1 dobetko root 4096 2006-09-29 08:02 Entorno de red drwx-- 1 dobetko root 4096 2007-06-14 08:01 Escritorio drwx-- 1 dobetko root 4096 2006-09-29 08:14 garfio drwx-- 1 dobetko root 4096 2006-09-08 10:16 groupware -rwxr-xr-x 1 dobetko root 904153 2003-03-11 21:32 In_Gods_Country.jpg drwx-- 1 dobetko root 4096 2007-07-05 08:45 juegos drwx-- 1 dobetko root 4096 2007-10-16 11:40 Mis documentos -rwxr-xr-x 1 dobetko root2 2007-10-09 10:53 openoffice.txt drwx-- 1 dobetko root 4096 2006-10-23 08:10 perfil_win -rwxr-xr-x 1 dobetko root0 2007-10-03 10:42 prueba -rwxr-xr-x 1 dobetko root0 2007-10-05 17:35 pruieba -rwxr-xr-x 1 dobetko root0 2007-05-23 13:54 rc.local On 10/19/07, Thierry Lacoste [EMAIL PROTECTED] wrote: I have it working in an LDAP context. However I was unable to make KDE work. http://lists.samba.org/archive/samba/2006-July/122347.html If you make some progress please let me know. Regards, Thierry. On Wednesday 17 October 2007 19:18, Diego Obetko wrote: Hi, i'm probably not the first but i have found no concrete information about my problem... lots of information, nothing helped.. :S so, here's the thing.. i'm running a samba-3.0.22-13.16 server on SLES 9 kernel 2.6.16.21-0.8-default as an nt domain controller, there was a migration to Linux for the workstations so i had to implement WINBIND + PAM_MOUNT. Maybe a winbind issue. See below. after searching for the right configuration y got it working with SMBFS and here's the problem... smbfs doesn't support hardlinks or symlinks... a BIG trouble since the workstations run KDE (dcop)... i've tryed mounting homes with cifs insted but this is what happens - pam_mount.conf - debug 1 mkmountpoint 1 luserconf .pam_mount.conf options_allow nosuid,nodev options_denysuid,dev options_require nosuid,nodev lsof /usr/sbin/lsof %(MNTPT) fsck /sbin/fsck -p %(FSCKLOOP) cifsmount /bin/mount -t cifs //%(SERVER)/%(VOLUME) %(MNTPT) -o username=%(USER)%(before=\,\ OPTIONS) smbmount /usr/bin/smbmount //%(SERVER)/%(VOLUME) %(MNTPT) -o username=%(USER),gid=%(USERGID)%(before=\,\ OPTIONS) umount /bin/umount %(MNTPT) mntagain /bin/mount --bind %(PREVMNTPT) %(MNTPT) volume * cifs 192.168.9.15/home/ uid=,dir_mode=0700,workgroup=COLEGIO - - --- pam_mount(mount.c:368) information for mount: pam_mount( mount.c:369) -- pam_mount(mount.c:370) (defined by globalconf) pam_mount(mount.c:373) user: dobetko pam_mount(mount.c:374) server: 192.168.9.15 pam_mount(mount.c:375) volume:dobetko pam_mount(mount.c:376) mountpoint:/home/dobetko pam_mount(mount.c:377) options: user=dobetko,dir_mode=0700 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(mount.c:177) realpath of volume /home/dobetko is /home/dobetko pam_mount(mount.c:182) checking to see if //192.168.9.15/dobetko is already mounted at /home/dobetko pam_mount(mount.c:799) checking for encrypted filesystem key configuration pam_mount(mount.c:819) about to start building mount command pam_mount(misc.c:264) command: /bin/mount [-t] [cifs] [//192.168.9.15/dobetko] [/home/dobetko] [-o] [username=dobetko,user=dobetko,dir_mode=0700] pam_mount(mount.c:851) mount errors (should be empty): pam_mount(mount.c:100) pam_mount(misc.c:341) set_myuid(pre): real uid/gid=0:10003, effective uid/gid=0:10003 pam_mount(mount.c:100) pam_mount( misc.c:376) set_myuid(post): real uid/gid=0:10003, effective uid/gid=0:10003 pam_mount(mount.c:854) waiting for mount S.ficheros Bloques de 1K UsadoDispon Uso% Montado en /dev/hda1 27617036 15634032 10580132 60% / tmpfs 254372 0254372 0% /lib/init/rw udev 1024052 10188 1% /dev tmpfs 254372 0254372 0% /dev/shm //192.168.9.15/dobetko 117206592 101382352 15824240 87% /home/dobetko pam_mount(pam_mount.c:123) clean
Re: [Samba] Pam_mount + cifs
On 17/10/07 19:18, Diego Obetko [EMAIL PROTECTED] wrote: Hi, i'm probably not the first but i have found no concrete information about my problem... lots of information, nothing helped.. :S so, here's the thing.. i'm running a samba-3.0.22-13.16 server on SLES 9 kernel 2.6.16.21-0.8-default as an nt domain controller, there was a migration to Linux for the workstations so i had to implement WINBIND + PAM_MOUNT. after searching for the right configuration y got it working with SMBFS and here's the problem... smbfs doesn't support hardlinks or symlinks... a BIG trouble since the workstations run KDE (dcop)... i've tryed mounting homes with cifs insted but this is what happens I recommend trying pam_cifs in stead, https://sourceforge.net/projects/pam-cifs - I've been using that in production with 600 linux clients for 18 months now - works like a charm. -BT -- Bjørn Tore Sund Phone: 555-84894 Email: [EMAIL PROTECTED] IT department VIP: 81724 Support: http://bs.uib.no Univ. of Bergen When in fear and when in doubt, run in circles, scream and shout. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Pam_mount + cifs
On 19/10/07 10:13, Thierry Lacoste [EMAIL PROTECTED] wrote: I have it working in an LDAP context. However I was unable to make KDE work. http://lists.samba.org/archive/samba/2006-July/122347.html If you make some progress please let me know. Mount.cifs will only work with KDE if you mount with '-o serverino'. -BT -- Bjørn Tore Sund Phone: 555-84894 Email: [EMAIL PROTECTED] IT department VIP: 81724 Support: http://bs.uib.no Univ. of Bergen When in fear and when in doubt, run in circles, scream and shout. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Pam_mount + cifs
I have it working in an LDAP context. However I was unable to make KDE work. http://lists.samba.org/archive/samba/2006-July/122347.html If you make some progress please let me know. Regards, Thierry. On Wednesday 17 October 2007 19:18, Diego Obetko wrote: Hi, i'm probably not the first but i have found no concrete information about my problem... lots of information, nothing helped.. :S so, here's the thing.. i'm running a samba-3.0.22-13.16 server on SLES 9 kernel 2.6.16.21-0.8-default as an nt domain controller, there was a migration to Linux for the workstations so i had to implement WINBIND + PAM_MOUNT. Maybe a winbind issue. See below. after searching for the right configuration y got it working with SMBFS and here's the problem... smbfs doesn't support hardlinks or symlinks... a BIG trouble since the workstations run KDE (dcop)... i've tryed mounting homes with cifs insted but this is what happens - pam_mount.conf - debug 1 mkmountpoint 1 luserconf .pam_mount.conf options_allow nosuid,nodev options_denysuid,dev options_require nosuid,nodev lsof /usr/sbin/lsof %(MNTPT) fsck /sbin/fsck -p %(FSCKLOOP) cifsmount /bin/mount -t cifs //%(SERVER)/%(VOLUME) %(MNTPT) -o username=%(USER)%(before=\,\ OPTIONS) smbmount /usr/bin/smbmount //%(SERVER)/%(VOLUME) %(MNTPT) -o username=%(USER),gid=%(USERGID)%(before=\,\ OPTIONS) umount /bin/umount %(MNTPT) mntagain /bin/mount --bind %(PREVMNTPT) %(MNTPT) volume * cifs 192.168.9.15/home/ uid=,dir_mode=0700,workgroup=COLEGIO - - --- pam_mount(mount.c:368) information for mount: pam_mount(mount.c:369) -- pam_mount(mount.c:370) (defined by globalconf) pam_mount(mount.c:373) user: dobetko pam_mount(mount.c:374) server:192.168.9.15 pam_mount(mount.c:375) volume:dobetko pam_mount(mount.c:376) mountpoint:/home/dobetko pam_mount(mount.c:377) options: user=dobetko,dir_mode=0700 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(mount.c:177) realpath of volume /home/dobetko is /home/dobetko pam_mount(mount.c:182) checking to see if //192.168.9.15/dobetko is already mounted at /home/dobetko pam_mount(mount.c:799) checking for encrypted filesystem key configuration pam_mount(mount.c:819) about to start building mount command pam_mount(misc.c:264) command: /bin/mount [-t] [cifs] [//192.168.9.15/dobetko] [/home/dobetko] [-o] [username=dobetko,user=dobetko,dir_mode=0700] pam_mount(mount.c:851) mount errors (should be empty): pam_mount(mount.c:100) pam_mount(misc.c:341) set_myuid(pre): real uid/gid=0:10003, effective uid/gid=0:10003 pam_mount(mount.c:100) pam_mount(misc.c:376) set_myuid(post): real uid/gid=0:10003, effective uid/gid=0:10003 pam_mount(mount.c:854) waiting for mount S.ficheros Bloques de 1K UsadoDispon Uso% Montado en /dev/hda1 27617036 15634032 10580132 60% / tmpfs 254372 0254372 0% /lib/init/rw udev 1024052 10188 1% /dev tmpfs 254372 0254372 0% /dev/shm //192.168.9.15/dobetko 117206592 101382352 15824240 87% /home/dobetko pam_mount(pam_mount.c:123) clean system authtok (0) pam_mount(misc.c:264) command: /usr/sbin/pmvarrun [-u] [dobetko] [-o] [1] pam_mount(misc.c:341) set_myuid(pre): real uid/gid=0:10003, effective uid/gid=0:10003 pam_mount(misc.c:376) set_myuid(post): real uid/gid=0:10003, effective uid/gid=0:10003 pam_mount(pam_mount.c:360) pmvarrun says login count is 3 pam_mount(pam_mount.c:491) done opening session bash: /home/dobetko/.bashrc: Permision denied $mount //192.168.9.15/dobetko on /home/dobetko type cifs (rw,mand) $ls -l /home drwx-- 36 1181 guest0 2007-10-17 09:33 dobetko Apparently the user id is not resolved. What's the output of 'id dobetko' and 'id 1181' ? What's the output of 'whami' and 'ls -l /home/dobetko' ? smb.conf (server side) [global] server string = Samba PDC domain logons = Yes domain master = Yes netbios name = samba security = users wins support = Yes # unix password sync = yes workgroup = COLEGIO logon drive = H: logon path = \\%L\%U\./.perfil_win logon home = \\%L\profiles\%U add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ passdb backend = smbpasswd veto files = /*.asf/*.wma/*.wmv/*.mp2/*.mp4/*.mp3/*.rsm/*root*/ local master = Yes os level = 65 preferred master = Yes ea support = yes unix extensions = yes map archive = No delete
RE: [Samba] PAM_MOUNT
I've found the same.. I haven't been able to get it to work either... Craig Herring Does anybody on the list use pam_mount to mount smb file systems. I have been looking at the instructions on http://www.flyn.org/projects/pam_mount/index.html however they do not seem to work and I cannot see any information in messages. Thanks. -- Brett Hales [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] pam_mount permissions
Has anyone gotten back to you about this yet? I just got over the headache of trying the same thing myself... the only way i could get X to work was to set dmask=0777 (which pam mount will allow you to do in your pam_mount.conf)... make sure you have the latest version of pam_mount, there are a few old ones floating around out there. This solution was lousy in my case, because I'm running a terminal system, and everyone would be able to open everyone elses home directory, even accidentally, with those permissions! Someone from a Gnome conference told me the latest version of GDM (2.4.x?) fixes this problem, though i haven't yet tried it... ... i ended up using a batch script to generate all the domain users home dirs on the linux box, including a mount point inside the linux home dir, from which i use pam_mount to mount their SMB home-dir files... I think this is actually a better solution anyway, as GDM (in my case) and other linux programs like Open office create files in the home dir that many of our users are apt to delete or otherwise break when they see them in their regular file folder :-) HTH [EMAIL PROTECTED] writes: G'day All Thank you to every one who has helped me get pam_mount and winbind working. I can now use winbind to use the passwords from a samba HEAD PDC to do authentications and pam_mount to mount the users home directory. YAY Does any one know what the option is to change the permissions on a mounted directory in pam_mount? at present it gives me rwxr-xr-x, which is fine. But I run startx and it gives me a cannot lock .Xauthority message. Im thinking is it the permissions that are wrong or would there be something else? Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba David M. Leuser, II Assistant Network Administrator New Hampton School (603) 744-3182 x121 [EMAIL PROTECTED] Picture the root account as a magic hat that gives you lots of power, with which you can, by waving your hands, create or destroy entire cities. Because it is easy to wave your hands in a destructive manner, it is not a good idea to wear the magic hat when it is not needed, despite the wonderful feeling. -- Gnome User's Guide -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba