Mailinglist Archive: opensuse (1213 mails)
| < Previous | Next > |
Re: [opensuse] Re: how to change users home directory
- From: Anton Aylward <opensuse@xxxxxxxxxxxxxxxx>
- Date: Sat, 14 Apr 2012 17:41:58 -0400
- Message-id: <4F89EF26.7030102@antonaylward.com>
lynn said the following on 04/14/2012 05:07 PM:
I'm sorry, lynn, that doens't help or clarify anything for me, and still
raises some question.
Yes, I understand the idea of 'roaming logins' using NIS/LDAp and NFS.
As I've said before, we've been doing that with UNIX since the 1980s.
The best I can figure is you have a machine that you want to be able to
log into BOTH locally and with the central NIS/LDAP managed account.
I usually do that with a local admin account (root) and my own NIS/NFS
account (anton) when I have that set up.
You can't have both using the same name.
If you have a /etc/nsswitch entry that searched LDAP first then the
local /etc/passwd file
AND you have two accounts:
lynn on the the LDAP server
lynn2 on the local /etc/passwd
AND
there is no lynn2 on the LDAP server
and
there is no lynn in the lcoal /etc/passwd
THEN
if you log in as 'lynn'
nsswitch will direct getpwent() to try the LDAP,
get a hit and do the mount
if you log in as 'lynn2'
nsswitch will direct getpwent() to try LDAP
get a fail or time-out
then try /etc/passwd and get a hit
and log you in locally
You should be able to follow this with the logs from the LDAP server,
the logs from the NFS server and network traffic.
If you don't have the /etc/nsswitch set up properly I don't know what
will happen since I can't see any more detail.
Try this with the CLI/console login. Check the values of $HOME and PWD
immediately after login.
In each case start KDE, LXDE, XFCE from the command line.
Now explain what you mean by not being able to change directory.
--
HTML has followed nature's example... bright, sometimes flashing, colors
are a sign of indigestiblility.
-- Rob Hartill
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx
On 14/04/12 20:49, Anton Aylward wrote:
Lynn said the following on 04/14/2012 01:04 PM:Hi Anton Hi everyone
Of course you can have as many home directories as you like.
Could you explain *exactly* what you mean by that, Lynn.
Local login /home/lynn /etc/passwd
network login /home/lynn LDAP
xp \\server\home\lynn with /home/lynn mapped to Z:
w7 \\server\home\lynn with /home/lynn GPO redirected to \\server\profiles
I can have my network home folder anywhere I like. The only thing I
can't do is have my home folder anywhere else other that /home under a
local login with LXDE. xfce and KDE work fine. Just not LXDE.
I'm sorry, lynn, that doens't help or clarify anything for me, and still
raises some question.
Yes, I understand the idea of 'roaming logins' using NIS/LDAp and NFS.
As I've said before, we've been doing that with UNIX since the 1980s.
The best I can figure is you have a machine that you want to be able to
log into BOTH locally and with the central NIS/LDAP managed account.
I usually do that with a local admin account (root) and my own NIS/NFS
account (anton) when I have that set up.
You can't have both using the same name.
If you have a /etc/nsswitch entry that searched LDAP first then the
local /etc/passwd file
AND you have two accounts:
lynn on the the LDAP server
lynn2 on the local /etc/passwd
AND
there is no lynn2 on the LDAP server
and
there is no lynn in the lcoal /etc/passwd
THEN
if you log in as 'lynn'
nsswitch will direct getpwent() to try the LDAP,
get a hit and do the mount
if you log in as 'lynn2'
nsswitch will direct getpwent() to try LDAP
get a fail or time-out
then try /etc/passwd and get a hit
and log you in locally
You should be able to follow this with the logs from the LDAP server,
the logs from the NFS server and network traffic.
If you don't have the /etc/nsswitch set up properly I don't know what
will happen since I can't see any more detail.
Try this with the CLI/console login. Check the values of $HOME and PWD
immediately after login.
In each case start KDE, LXDE, XFCE from the command line.
Now explain what you mean by not being able to change directory.
--
HTML has followed nature's example... bright, sometimes flashing, colors
are a sign of indigestiblility.
-- Rob Hartill
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx
| < Previous | Next > |