Lines Matching defs:master

48  * If the host is ommitted, ypxfr will attempt to discover the master by
56 * If the -f flag is used, the transfer will be done even if the master's
124 char *master = NULL;
132 char *master_name = NULL; /* Map's master as contained in the map */
153 * the local or the master version of the map
173 -f forces transfer even if the master's copy is not newer.\n\
275 if (!master) {
279 * if we were unable to get the master name, either from
283 if (!master) {
287 if (!bind_to_server(master, &master_server,
304 map, master);
319 map, master, entry_count);
427 master = *argv;
430 if (strlen(master) > 256) {
546 * This tries to get the master name for the named map, from any
548 * name back, the global "master" gets pointed to it.
555 if (err = __yp_master_rsvdport(source, map, &master)) {
556 logprintf("Can't get master of %s. Reason: %s.\n", map,
670 * master server's version of the map. Values are held in static variables
695 "ypxfr: Couldn't get map's master version number, \
704 "ypxfr: Maps master is '%s'\n", master_name);
710 "ypxfr: Couldn't get map's master name, status was %d\n",
714 master_name = master;
719 "ypxfr: Getting private records from master.\n");
740 * This gets the map's order number from the master server
788 master, yperr_string(
798 logprintf("ypxfr(get_v2order) RPC call to %s failed", master);
807 * master. Only works on 4.0 V2 masters that will match a YP_ private key
850 master, yperr_string(
860 logprintf("ypxfr(get_misc_recs) RPC call to %s failed", master);
898 master, yperr_string(
908 logprintf("ypxfr(get_misc_recs) RPC call to %s failed", master);
917 * This gets the map's master name from the master server
941 resp.master = NULL;
950 strcpy(name, resp.master);
957 "(info) Can't get master name from ypserv at %s. Reason: %s.\n",
958 master, yperr_string(
969 "ypxfr(get_v2master_name) RPC call to %s failed", master);
1004 map, master);
1019 if ((hgstatus = ypxfrd_getdbm(tmp_name, master, source, map)) < 0)
1023 master, domain, map, hgstatus);
1075 master, map);
1382 master, yperr_string(ypprot_err(status)));
1430 if ((domb.dom_client = __yp_clnt_create_rsvdport(master, YPPROG,
1433 (domb.dom_client = __yp_clnt_create_rsvdport(master, YPPROG,
1485 * This sets up a TCP connection to the master server, and either gets
1529 master) == FALSE) {
1533 logprintf("ypxfr: could not get %s address\n", master);
1610 master, yperr_string(ypprot_err(status)));
1701 * This writes the last-modified and master entries into the new dbm file