cvs commit: src/lib/libc/gen getpwent.c
    Bill Paul 
    wpaul at FreeBSD.org
       
    Fri Jul 18 16:51:16 PDT 2003
    
    
  
wpaul       2003/07/18 16:51:15 PDT
  FreeBSD src repository
  Modified files:
    lib/libc/gen         getpwent.c 
  Log:
  Revert to using yp_order() to probe for master.paswd.by* maps and
  don't probe the server at all for passwd.by* maps. This fixes
  interoperability with the Services For UNIX NIS server (which is
  really a front end to Captive^WActiveDirectory). This server
  incorrectly returns success for all YPPROC_MASTER requests,
  even for maps that don't exist, which makes it impossible to
  (ab)use it to probe for the existence of the master.passwd.by*
  maps.
  
  This is a little kludgey, but basically restores the original
  behavior of getpwent.c as it is in -stable, and works around both
  the lack of YPPROC_ORDER on NIS+ servers as well as the broken
  YPPROC_MASTER on Services For UNIX servers.
  
  Revision  Changes    Path
  1.83      +14 -7     src/lib/libc/gen/getpwent.c
    
    
More information about the cvs-all
mailing list