yp troubles

From: Brian McMinn (mcminnspam_at_earthlink.net)
Date: 01/08/05


Date: Sat, 08 Jan 2005 20:56:28 GMT

I've tried several times to get NIS to allow me to update passwords
from any of my machines and I still haven't gotten it to work.

I have 5 machines running FC3, one contains /home and the password
file. It runs ypserv and correctly distributes passwords and home
directories to the rest of the system.

On a client machine (running ypbind), I can run yppasswd and update
a password. This correctly changes the password on the server and
runs the Makefile in /var/yp to re-build the database. However, it
does not restart ypserv so the new database is not visible to the
rest of the system. That's problem one.

Problem two occurs on the server. I've tried running yppasswd to
update passwords both with and without yppasswdd running and with and
without ypbind running. In all cases, I get an error that looks like

yppasswd: unknown user (uid=***)

Where *** is either my user id if I'm running it as me or "0" if
I'm running it as root.

I've found a bit of conflicting information about which daemons
should be running on which machines so I'll ask that as well. My
current setup has
yppasswdd - only on server
ypbind - on all machines (though it appears unnecessary on server)
ypserv - only on server

I sure would appreciate a pointer to some help on how to get yppasswd
running correctly.

  Thanks,
  Brian McMinn
  (and yes, mcminnspam@earthlink.net is a real e-mail address but
   it doesn't get read unless I'm expecting e-mail.)



Relevant Pages

  • Re: unified authentication
    ... > I have a number of FreeBSD machines. ... Each *class* of server or device gets a different root password (or ... root/enable passwords, and have a bit less worry about ex-employees. ... only sysadmins have logins on routers.) ...
    (FreeBSD-Security)
  • Re: Automatic Client Login
    ... client data, I was hoping there was at least a way to allow printing (the ... I am terribly new to server based networks and SBS is my first experience ... manner as the other four machines) that I can't join the Pro box to the ... physical security if you save the passwords on the machines. ...
    (microsoft.public.windows.server.sbs)
  • Re: Automatic Client Login
    ... You then set up workstations with usernames/passwords that match the usernames/passwords on the server. ... I have a hardware firewall and then my SBS still has two nics and does another firewall duty. ... I just tried connectcomputer on the Pro machine, and it seems due to the topology of my network between the WAN and the LAN (the server is physically connected to the router in the same manner as the other four machines) that I can't join the Pro box to the domain. ... You run the risk of lack of physical security if you save the passwords on the machines. ...
    (microsoft.public.windows.server.sbs)
  • NT 4.0 Workstations unable to change passwords
    ... mode (Not Mixed Mode) with one global catalog server at each of 10 ... if they are not in the same subnet/site/branch as the server running ... machines on the same subnet have no problem changing passwords. ...
    (microsoft.public.win2000.active_directory)
  • NT workstations unable to change domain password.
    ... mode (Not Mixed Mode) with one global catalog server at each of 10 ... if they are not in the same subnet/site/branch as the server running ... machines on the same subnet have no problem changing passwords. ...
    (microsoft.public.win2000.general)

Loading