On Thu, Feb 02, 2006 at 06:08:52PM -0500, Jose Fragoso wrote:
> 
> yppasswd: pam_chauthtok(): error in service module 
> 
> and the change fails. Now if I instead use the following command: 
> 
> yppasswd -h `ypwhich` 
> 
> It works immediatelly. 
> 
> With an OpenBSD client, it always work. 
> 
> So I guess the FreeBSD box is trying to talk to the rpc.ypasswdd from another 
> server. 

  perhaps you could tcpdump and find out which server it's trying, or if it
  is sending broadcasts?  

  does freebsd allow for something similar to the /etc/yp/DOMAINNAME file?

  i've gotten quite fond of using that file.

  my quick suggestion is to watch the network interfaces and see what
  is different on the wire between 'yppasswd' and the one with ypwhich.

  also, don't know what the ramification of the PAM is...  perhaps nothing ?
  did a quick peek at the freebsd yppasswd(1) page and didn't see much
  mention.

-- 

  jared

[ openbsd 3.9-beta GENERIC ( jan 30 ) // i386 ] 

Reply via email to