Re: Cannot enter home directory. Using /.
On Sun, Jul 05, 2015 at 07:57:15PM +0200, Wolfgang Schweer wrote:
> cc'ing to the debian-edu mailing list, where more people could give
> advice. Please consider to subscribe to the list if not yet done.
> On Sat, Jul 04, 2015 at 09:01:00AM +0000, Tom Duguid wrote:
> > I have a SckoleLinux server installed with the main server and
> > workstation options selected for install.
> > I have 10 workstations with SkoleLinux installed.
> > I made a mistake when installing some of the workstations using
> > sitesummary2ldap so I removed them using GOSA2.
> > I used 'sitesummary2ldap -a -i ether-xx:xx:xx:xx:xx:xx -t workstations'
> > to put the workstations back on the server.
> > The workstations that I had NOT added and removed previous to this
> > worked.
> > The workstations that I had added by mistake and removed previous to
> > this came up with the following error whenever any user attempts to log
> > in: 'Cannot enter home directory. Using /.'
> > I can recreate this on a Virtual Machine setup by adding a workstation
> > client to the VM server (it works at this point) and then removing it
> > through GOSA2 and adding it again through sitesummary2ldap. When I try
> > to log into the VM workstation I get the 'Cannot enter home directory.
> > Using /.' error again.
> Confirmed for a combined server (jessie) and clients in a VirtualBox
> test environment.
> I was able log in after disabling the nscd netgroup cache using these
> steps (on tjener):
> service nscd stop
> rm /var/cache/nscd/netgroup
> sed -i '/netgroup/ s/yes/no/' /etc/nscd.conf
> service nscd start
> service nslcd restart
> service nfs-kernel-server restart
> Please consider to test the workaround.
Aha, that's it. Looks like the same problem as mine.
Giorgio Pioda - Sysadmin SPSE-Tenero
Cell +41 79 629 20 63
Tel +41 58 468 62 48
Fax +41 58 468 61 98