bladedog
April 11th, 2005, 02:48 PM
If you're having problems with mounting a smb $HOME directory and getting the "ICEauthority locking error" when you login to GNOME read further...
Took me forever to figure out what the heck was going on but it's related to file locking problems between UNIX and Samba. To get around this I set an environment variable called ICEAUTHORITY in the /etc/security/pam_env.conf file. This writes the .ICEauthority file somewhere else other than in the samba $HOME share and it set when PAM is invoked. At the bottom of the pam_env.conf put something like this...
# For Ubuntu to write .ICEauthority file somewhere else
ICEAUTHORITY DEFAULT=/tmp/.@{PAM_USER}_ICEauthority
This will create a file in /tmp for each specific user that logs in.
If there's not one already I'll put up a HOWTO for using Ubuntu and mounting SMB $HOME shares soon.
Took me forever to figure out what the heck was going on but it's related to file locking problems between UNIX and Samba. To get around this I set an environment variable called ICEAUTHORITY in the /etc/security/pam_env.conf file. This writes the .ICEauthority file somewhere else other than in the samba $HOME share and it set when PAM is invoked. At the bottom of the pam_env.conf put something like this...
# For Ubuntu to write .ICEauthority file somewhere else
ICEAUTHORITY DEFAULT=/tmp/.@{PAM_USER}_ICEauthority
This will create a file in /tmp for each specific user that logs in.
If there's not one already I'll put up a HOWTO for using Ubuntu and mounting SMB $HOME shares soon.