rlogind.c (14024) | rlogind.c (18449) |
---|---|
1/*- 2 * Copyright (c) 1983, 1988, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 683 unchanged lines hidden (view full) --- 692 des_set_key_krb(&kdata->session, schedule); 693 694 } else 695#endif 696 rc = krb_recvauth( 697 authopts, 0, 698 ticket, "rcmd", 699 instance, dest, (struct sockaddr_in *) 0, | 1/*- 2 * Copyright (c) 1983, 1988, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 683 unchanged lines hidden (view full) --- 692 des_set_key_krb(&kdata->session, schedule); 693 694 } else 695#endif 696 rc = krb_recvauth( 697 authopts, 0, 698 ticket, "rcmd", 699 instance, dest, (struct sockaddr_in *) 0, |
700 kdata, "", (bit_64 *) 0, version); | 700 kdata, "", NULL, version); |
701 702 if (rc != KSUCCESS) 703 return (rc); 704 705 getstr(lusername, sizeof(lusername), "locuser"); 706 /* get the "cmd" in the rcmd protocol */ 707 getstr(term+ENVSIZE, sizeof(term)-ENVSIZE, "Terminal type"); 708 --- 64 unchanged lines hidden --- | 701 702 if (rc != KSUCCESS) 703 return (rc); 704 705 getstr(lusername, sizeof(lusername), "locuser"); 706 /* get the "cmd" in the rcmd protocol */ 707 getstr(term+ENVSIZE, sizeof(term)-ENVSIZE, "Terminal type"); 708 --- 64 unchanged lines hidden --- |