Operating System - HP-UX
1820243 Members
2744 Online
109621 Solutions
New Discussion юеВ

Problems with graphical Login fo NIS users

 
SOLVED
Go to solution
Frau Pia SAURER
Advisor

Problems with graphical Login fo NIS users

Hi folks!

I've got a HP-UX 11.0 machine that is a nis client. Now when I try to log on vie telnet everything works fine. When I try to log in via ReflectionX or Xwin32 I get an error message that the login is incorrect?

Any Ideas? Help would be very appriciated.

Thanks in advance
15 REPLIES 15
RAC_1
Honored Contributor
Solution

Re: Problems with graphical Login fo NIS users

What messages/errors do you see in following files?

syslog.log
$HOME/.dt/errorlog
/var/dt/Xerrors
There is no substitute to HARDWORK
MarkSyder
Honored Contributor

Re: Problems with graphical Login fo NIS users

Have you looked in /var/adm/syslog/syslog.log? Alternatively, cd to the user's home directory, cd .dt, and look in errorlog.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Frau Pia SAURER
Advisor

Re: Problems with graphical Login fo NIS users

Hi!

in Xerrors:

/usr/bin/X11/xset: bad font path element (#40), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax

In the other two files there is nothing worth to mention it. Just a NFS error to an other machine

Thanx
RAC_1
Honored Contributor

Re: Problems with graphical Login fo NIS users

The fonts error are ok. Do you have absolutely nothing in $HOME/.dt/errorlog and syslog?

Is processes dtlogin running? Is your reflection settings correct? Particularly the hardcoded user names and passwords if any. (Reflection has a setting that allows you store user name and password for logging)
There is no substitute to HARDWORK
Frau Pia SAURER
Advisor

Re: Problems with graphical Login fo NIS users

Hi!

yes the settings should be OK because local users are able to login.

Do you know what is happening while a X login? It seems like for some reason the machine can't contact NIS if I try to log in to cde.

Thanx
RAC_1
Honored Contributor

Re: Problems with graphical Login fo NIS users

First do not give points untill your problem is resolved.

Now onto the problem. What makes you think that cde/gui login is not able to get to nis. From the pc where you run reflection, can you do nslookup on ip and hostname of hp-ux server? Is that nslookup correct? I am still doubtful that you should really be checking stored user names and passwords in reflection.
There is no substitute to HARDWORK
Frau Pia SAURER
Advisor

Re: Problems with graphical Login fo NIS users

Hi!

Yes nslookup is correct. There are no stored usernames and passwords in Reflection.

I also can log in to all other machines in my nis domain. I still think that there is a problem with the X login routine.
RAC_1
Honored Contributor

Re: Problems with graphical Login fo NIS users

Is dtlogin process running? Can you login from another pc using reflection?

Try doing following. Open telnet seesion on hp-ux server. Do tail -f /var/adm/syslog/syslog.log

Now try logging in with reflection. Do you see any error messages in syslog?
There is no substitute to HARDWORK
Frau Pia SAURER
Advisor

Re: Problems with graphical Login fo NIS users

Hi!

no messages! Yes dtlogin is running and no I can't loin from another Computer.
RAC_1
Honored Contributor

Re: Problems with graphical Login fo NIS users

Is you password more than 8 chars? If yes enter only first 8 chars. Also does your password has special chars like #@ in it?
There is no substitute to HARDWORK
Frau Pia SAURER
Advisor

Re: Problems with graphical Login fo NIS users

Hi!

I guess there is a little missunderstnding.

All settings seem to be correct. the password does not have special characters and is not more than 8 characers long.

I can log in via telnet with nis users and local users(those that have an entry in the local passwd file) I can log in via Reflection with local users but NOT with nis users. So it seems that the cde login does not ask the nis Server for user authentication. It only looks in the local /etc/passwd. Now I have to find a way to force the cde login to act like the normal login -> first look in your local /etc/passwd then contact nis server.

So there is no problem with the passwords or with dtlogin process not running or such stuff. dtlogin just does not act like expected. So my question is which steps are made during the dtlogin? which programs are used and where can I configure it. maybe there is a equivalent to nsswitch.conf for dtlogin process? Maybe there has to be another sign then '+' in the /etc/passwd file or mabe its just a bug in HP-UX (I have a HP-UX 11.11 box too and this is working with exactly the same settings)

RAC_1
Honored Contributor

Re: Problems with graphical Login fo NIS users

Now you explain. To allow nis users access +username or + (all users shold be there.) But al need to have /etc/nsswitch.conf configured correctly. And this would apply to telnet/ssh/reflection (any login) method.
There is no substitute to HARDWORK
Frau Pia SAURER
Advisor

Re: Problems with graphical Login fo NIS users

yes.

But the problem is that for every non graphic method(telnet,ssh,..) it works fine. For every graphic method (reflection, xwin32) it doesn't work. So I have no Idea why.
Frau Pia SAURER
Advisor

Re: Problems with graphical Login fo NIS users

Hi!

I fixed it. I just killed the dtlogin processes and started them again.

thanx for your help
Frau Pia SAURER
Advisor

Re: Problems with graphical Login fo NIS users

See previous reply