! __.SYMDEF 750993950 202 806 162 ` @t ˆ *„0„;„I„R„Z_xdr_packet_get_lmgr_52_licence_control_fail_genPasswd_verifyPasswd_genData_verifylmgr.c 750982451 202 806 100644 1362 ` #include #include #include #include #include #include #include #include "lmgr.h" extern void fail(); extern void verify(); void licence_control() { CLIENT *cl; packet *p; packet cp; char * DEMETER = NULL; static char info[MAX_STR]; struct stat stbuf; int fd; licenceinfo linfo; DEMETER = getenv("DEMETER"); if (DEMETER == NULL) { fprintf(stderr,"Environment variable DEMETER is not set. Check the Demeter installation guide.\n"); exit(1); } sprintf(info,"%s/%s",DEMETER,DATABASE); if (stat(info,&stbuf) >= 0) { if (stbuf.st_size != sizeof(licenceinfo)) { fprintf(stderr,"%s is corrupted.\n",info); exit(1); } fd = open(info,O_RDONLY); if (stbuf.st_size != read(fd, (char*)&linfo, stbuf.st_size)) { fprintf(stderr,"Failed to read %s\n",info); exit(1); } close(fd); } else { fprintf(stderr,"Unable to find %s.\n",info); exit(1); } if (!(cl = clnt_create(linfo.sname, LMGRPROG, LMGRVERS, "tcp"))) fail(0); cp.data1 = getpid(); cp.data2 = genData(cp.data1); if (p = get_lmgr_52(&cp,cl)) { if (p->data3) fail(1); verify(p); } else fail(2); } lmgr_xdr.o 750974866 202 806 100644 216 ` `$ã¿ @’€2€€° @’`€2€€° @’`€2€° ° Çàè†ÿÿÿø$†ÿÿÿÜ@†ÿÿÿÀ_xdr_packet_xdr_int£££lmgr_clnt.o 750974868 202 806 100644 340 ` x0T㿘#¢`@’ Â`Â@” Ø€Ô ’ `Ø"`Ô"`˜ Ò# \’ ” –ŸÀ@š€"€²² Çà‘è€ €†ÿÿÿðx$ x<ˆ@‹x 0_xdr_packet_bzero_TIMEOUT_get_lmgr_52£££lmgr.o 750983317 202 806 100644 1584 ` À¨ÀXã·P@ º€2€ ! @’`@ !  ’`–à@”’¿À@€&€%пԀ¢("€ ’  ’`@”@ ’ @Ô¿Ôº@’·¼Ò¿Ô€¢@€  ’`@”@ @€  ’`@”@ ’`–à” 4@¹¼º€€@ @@Ð'·°Ð'·´·°@’º€€ Ô`€ €@ @€@ ÇàèDEMETEREnvironment variable DEMETER is not set. Check the Demeter installation guide. %s/%slicence/info%s is corrupted. Failed to read %s Unable to find %s. tcpÀ†ÿÿÿø  Àh È$ ˆ(( ‹(, †ÿÿÿÔ0 È4†ÿÿÿÌ<h@ hDHL P X†ÿÿÿ¨d†ÿÿÿœtPˆ+Œ ˆ( ‹(” +˜ †ÿÿÿh †ÿÿÿ`¬†ÿÿÿTÀ†ÿÿÿ@Ô=Ø ˆ(Ü ‹(à =ä †ÿÿÿì†ÿÿÿô†ÿÿÿ d ˆ( ‹(  P †ÿÿþð†ÿÿþè d, d4 †ÿÿþÌL†ÿÿþ´T†ÿÿþ¬\ †ÿÿþ¤l †ÿÿþ””†ÿÿþlœ†ÿÿþd¬†ÿÿþT +17=EMS\er‡_fail_sprintf_close_licence_control_open_read_stat_getpid_getenv__iob_fprintf_genData_clnt_create_get_lmgr_52_verify_exit£££utils.o 750993889 202 806 100644 1848 ` ˜hã¿ ” ’`@ €¦ € ‘. ’`Ð Â’`€ ’`€  ’`€  ’`@@ Çàèã¿ Ðð €¢€ÿÿÍ ÇàèÃàã· Ôf¸ –bšd˜’`@¸´ @¸ª®’&€²€¸¸®%À¬¸¬€¸€º€´¸¤¸®À´@¶ ”à€¢€&€$ÖN`€¦À&€-ÐN`âN`äN@ÐOÔN€¤€¤€¤€ ™< ™3 ˜™; Ø/@@ÐO@€2€¶àš DÚ/@¶à€¦à®%à´ ¬ ¸ ²`¿ÿߺ`À. ÇàèØN@ÞOâM€˜ ˜˜§; §4à¦À §<à¿ÿãæ/@ÒN@ÖOÚMÀ’@’@ ’@ ¡:`¡4   ¡< ¿ÿ×à/@ã½ ¾ÿÿ£’¾@’&€€ @’`@ ÇàèUnable to connet to %s for the Demeter licence manager. saentis.ccs.neu.eduFailed to find the licence server. Faild to talk to the licence server. Cannot get data from the licence server. Cannot talk to the licence server. demeter@saentis:: %d%s%s%sLicence data is not valid. Check the Demeter installation guide. ˆ(˜ Ñ Ñ ˜†ÿÿÿè‹(,@0 @@PDdHxLŒPåTˆ(X å`‹(d hˆ(l  t‹(x/|ˆ(€ /ˆ‹(ŒYˆ(”‹(˜ Yœ†ÿÿÿd¤ †ÿÿÿ\ì}ð }¯ ¯†ÿÿþø†ÿÿþì¤ †ÿÿþ\d†ÿÿýœt¸xˆ(|‹(€†ÿÿý€„ ¸ˆ †ÿÿýx äP,2;ÜDLT]´el_fail_sprintf_genPasswd_verifyPasswd__iob_fprintf_genData_strlen_strcmp_isascii_verify_exit£