2.2: problems with nsswitch (linux 2.2)

John H Terpstra jht at charity.aquasoft.com.au
Tue Oct 10 21:16:12 GMT 2000


Hi Chris,

The changes I checked in yesterday work.I look forward to your fail-over
changes and will continue to hope that it too will work. ;)

Thanks for the feedback though - at least someone is listening. 8)

Cheers,
John T.

On Tue, 10 Oct 2000, Christopher R. Hertel wrote:

> JHT:  
> 
> The WINS failover code is included with the Alpha but it isn't finished.
> The key change is that lp_wins_server() should not be used directly.  Once
> WINS failover is working, the lp_wins_server() function will return a 
> list of IPs, not a single IP.  That list will be read by the functions in 
> lib/wins_srv.c and managed there.  It will be updated automatically, so 
> there's no need to call lp_wins_server().
> 
> Instead, use wins_srv_ip().  This function will return the current WINS
> server.  If the WINS server fails, the next server in the list will become
> current.
> 
> This isn't finished yet because I have some unanswered questions about 
> the workings of UNICAST_SUBNET.  Jeremy was going to work through that 
> with me but he hasn't had time.  The code, as is, doesn't "get in the 
> way".  It simply doesn't do the failover yet.
> 
> Chris -)-----
> 
> > os: Red Hat Linux 6.1
> > kernel: 2.2.16-22 (rh70)
> > glibc-2.1.2-11 + egcs-1.1.2-24
> >  
> > # make nsswitch
> > Compiling nsswitch/wins.c with -fpic
> > nsswitch/wins.c: In function `lookup_backend':
> > nsswitch/wins.c:58: `wins_ip' undeclared (first use in this function)
> > nsswitch/wins.c:58: (Each undeclared identifier is reported only once
> > nsswitch/wins.c:58: for each function it appears in.)
> > nsswitch/wins.c:59: incompatible type for argument 6 of `name_query'
> > make: *** [nsswitch/wins.po] Error 1
> > #
> > 
> > -- 
> > giulioo at pobox.com
> > 
> 
> 
> -- 
> Christopher R. Hertel -)-----                   University of Minnesota
> crh at nts.umn.edu              Networking and Telecommunications Services
> 
>     Ideals are like stars; you will not succeed in touching them
>     with your hands...you choose them as your guides, and following
>     them you will reach your destiny.  --Carl Schultz
> 





More information about the samba-technical mailing list