A little more on this.
I have just created a new ldap user (test3) via the Zentyal users and groups web interface.
I tried to log that user in on a LTSP terminal with no success so i went to the Ubuntu computer and tried to do it in a shell
ssh test3@lovelace
Last login: Tue May 21 13:09:55 2013 from 192.168.1.20
Could not chdir to home directory /home/test3: No such file or directory
192.168.1.x is the subnet for my ltsp clients so it looks like some login happened from here but it was prevented because of the home directory issue.
I can login the ltsp client test2
On the ubuntu computer I can see a directory "test2" in /home. The ldap account "test2" now works.
But I had previously created that directory manually.
If I do
/home$ ls -l
drwxr-xr-x 26 lovelace_admin lovelace_admin 4096 May 21 13:08 lovelace_admin
drwx--x--x 26 test2 __USERS__ 4096 May 21 13:07 test2
These exist
If I try to do
mkdir test3
chown test3 test3
I get the following:
pam_mount(pam_mount.c:553): pam_mount 2.10: entering session stage
pam_mount(misc.c:38): Session open: (ruid/rgid=1000/1000, e=0/1000)
pam_mount(pam_mount.c:614): no volumes to mount
command: 'pmvarrun' '-u' 'root' '-o' '1'
pam_mount(misc.c:38): set_myuid<pre>: (ruid/rgid=1000/1000, e=0/1000)
pam_mount(misc.c:38): set_myuid<post>: (ruid/rgid=0/1000, e=0/1000)
pmvarrun(pmvarrun.c:252): parsed count value 0
pam_mount(pam_mount.c:440): pmvarrun says login count is 1
pam_mount(pam_mount.c:645): done opening session (ret=0)
pam_mount(pam_mount.c:691): received order to close things
pam_mount(pam_mount.c:693): No volumes to umount
command: 'pmvarrun' '-u' 'root' '-o' '-1'
pam_mount(misc.c:38): set_myuid<pre>: (ruid/rgid=1000/1000, e=0/1000)
pam_mount(misc.c:38): set_myuid<post>: (ruid/rgid=0/1000, e=0/1000)
pmvarrun(pmvarrun.c:252): parsed count value 1
pam_mount(pam_mount.c:440): pmvarrun says login count is 0
pam_mount(pam_mount.c:728): pam_mount execution complete
pam_mount(pam_mount.c:115): Clean global config (1073741824)
but ls -l
still lists owner of test3 as root
ssh test3 still gives "Could not chdir to home directory /home/test3: No such file or directory!