NIS authontication problem.

2003-12-14 Thread Hossein
Hello every body;
In our department we are going to use a 5.1 Stable FreeBSD, and it 
must run NIS client to authonticate the users through a Linux NIS server.
The ypbind works well and when I do ypcat passwd I get the 
enteries in the passwd of the NIS server. I added the correct lines to 
passwd.master and group according to the handbook. But no user can log in 
and in the /var/log/auth.log it apears that the password is not corect. 
The students here would be very happy to be able to use the BSD 
Shell, and I thank you in advance.

Yours,
Mohammad H. Falaki.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NIS authontication problem.

2003-12-14 Thread Tillman Hodgson
On Sun, Dec 14, 2003 at 06:13:39PM -0500, Hossein wrote:
 Hello every body;
   In our department we are going to use a 5.1 Stable FreeBSD, and it 
 must run NIS client to authonticate the users through a Linux NIS server.
   The ypbind works well and when I do ypcat passwd I get the 
 enteries in the passwd of the NIS server. I added the correct lines to 
 passwd.master and group according to the handbook. But no user can log in 
 and in the /var/log/auth.log it apears that the password is not corect. 

I haven't tried integrating non-BSD'ish machines into one of my NIS
domains, but it occurs to me that the /etc/shadow vs /etc/master.passwd
difference could cause /etc/passwd to propogate without actually
distributing the passwords. You might want to investigate
compatibility modes and so forth.

-T


-- 
Speak the truth.  That is always much easier, and is often the most powerful 
argument.
- Bene Gesserit Axiom
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NIS authontication problem.

2003-12-14 Thread Dan Nelson
In the last episode (Dec 14), Hossein said:
   In our department we are going to use a 5.1 Stable FreeBSD, and
 it must run NIS client to authonticate the users through a Linux NIS
 server.
   The ypbind works well and when I do ypcat passwd I get the
 enteries in the passwd of the NIS server. I added the correct lines
 to passwd.master and group according to the handbook. But no user can
 log in and in the /var/log/auth.log it apears that the password is
 not corect.

If you edited passwd.master directly, you may need to run pwd_mkdb to
rebuild the spwd.db and pwd.db database files that the system uses. 
The vipw command does this automatically.  

Does finger somenisuser on the client print the right info?

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]