Re: nis login problems

2001-04-09 Thread Michael Soulier
On Mon, Apr 09, 2001 at 11:34:25AM -0500, Andrew D Dixon wrote:

> The RedHat server is also running shadow password which I know can cause
> trouble for NIS.

Seems like you already said it to me. I'm no NIS expert, but I'd
double-check the maps that it's pushing out to the client. Make sure that the
shadow passwords aren't pushing something stupid for the password, like ! or
*. 

Anything in the relevant log files?

Mike

-- 
Michael P. Soulier, TD12, SKY  Tel: 613-765-4699 (ESN: 39-54699)
Optical Networks, Nortel Networks, SDE Pegasus
"With sufficient thrust, pigs fly just fine. However, this is not necessarily a
good idea. It is hard to be sure where they are going to land, and it could be
dangerous sitting under them as they fly overhead." -- RFC 1925
Nortel Linux User's Group Ottawa: (internal) http://nlug.ca.nortel.com



Re: nis login problems

2001-04-09 Thread Nate Amsden
Andrew D Dixon wrote:

> The problem is that when I try to login with the username andrew.dixon
> on my Debian box the login fails.  It does fail differently then if
> I just give it a garbage login so I do believe that it is accessing the
> maps in some way.

did you follow the directions noted when you installed the nis package?
i.e. you have to have something like
+:::
in /etc/passwd
and
+:::
in /etc/group
(that may not be the right number of colons, check the docs)

for nis logins to work.. i use it on one debian 2.2 machine at work(client)
and the NIS server is a solaris machine, works great, i think the only
thing that doesn't work is changing the password from the client(although
i haven't tried it in months), since nobody but the IT staff can login
to it though its not an issue.

nate


-- 
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
[EMAIL PROTECTED]



Re: nis login problems

2001-04-09 Thread Andrew D Dixon
Just figured out that this does actually work.  The problem is that I had gdm 
running on the
Linux box and the RedHat server logs you into runlevel 3.

I'll start to look into gdm to tell it to deal with NIS but has anyone come 
across this
problem before?

thanks,
Andy

Andrew D Dixon wrote:

> Hi All,
> I'm trying to implement NIS and I'm stuck.
>
> I've set up the server on our RedHat machine and the client on my Debian
> box.
>
> When I run ypcat I get the following:
>
> [EMAIL PROTECTED]:~$ ypcat passwd
> andrew.dixon:$1$h7CPc4pd$WilaTSJaZOPgHfvhqwVnJ.:11424:11424::/home/andrew.dixon:/bin/bash
>
> ming.gao:$1$eYE/v93N$X8a4bjprJCPYvI6/efDGB/:11423:11423::/home/ming.gao:/bin/bash
>
> mike.wilson:$1$KXvcabWc$SHuCdrhC00VP4yAbTzYW..:11422:11422::/home/mike.wilson:/bin/bash
>
> brad.kemp:$1$aSXA.ncX$93r3dg1PQ9azJtady8iAq/:502:502::/home/brad.kemp:/bin/bash
>
> and when I run $ypmatch andrew.dixon passwd:
>
> [EMAIL PROTECTED]:~$ ypmatch andrew.dixon passwd
> andrew.dixon:$1$h7CPc4pd$WilaTSJaZOPgHfvhqwVnJ.:11424:11424::/home/andrew.dixon:/bin/bash
>
> The problem is that when I try to login with the username andrew.dixon
> on my Debian box the login fails.  It does fail differently then if
> I just give it a garbage login so I do believe that it is accessing the
> maps in some way.
>
> The RedHat server is also running shadow password which I know can cause
> trouble for NIS.
>
> Any help would be greatly appreciated.
>
> Thanks,
> Andy
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]