I have done all this but it still displays: "yppasswd: unknown NIS user: miled".
I can log on all clients using NIS database. The problem is only i can't change
passwords.
In the rc.conf of master server I have :
nisdomainname="armornet"
nis_server_enable="YES"
nis_client_enable="YES"
nis_yppasswdd_enable="YES"
nis_yppasswdd_flags="-a -t /var/yp/master.passwd"
In rc.conf of clients:
nisdomainname="armornet"
nis_client_enable="YES"
I have another question about 3.4-STABLE. I don't see it in the directory
releases/i386/, I just have 3.4-RELEASE so where I can find it?
Thank you for help.
> > Hi Miled,
> > > Anyone have yppasswd operating with NIS can tell me what he added in his
> > > rc.conf?
> > nis_client_enable="YES"
> > nisdomainname="yournisdomainname"
> did you add :
> nis_yppasswdd_enable="YES" # Run rpc.yppasswdd at boot time (or NO).
> nis_yppasswdd_flags="-a -t /var/yp/etc/master.passwd" # Flags to
> rpc.yppasswdd.
> Sorry, I can't even remember were I got that from, nor what the options
> mean. At least it works for me (on a 3.4-STABLE machine)
> > > Because it always display user unknown. I had rpc.yppasswdd running on
> > > the master server and ypbind on clients. Of course I can login using NIS
> > > but I can't change passwords.
> > Hm, silly question: did you modify the passwd and group files? You must
> > add (without quotes) "+:::" to /etc/group and "+:::::::::" to passwd
> > (vipw).
> > Uwe
> --