Log in

View Full Version : Flexlm Vendor Daemon


crkzone
November 29th, 2009, 08:44
Does anybody know how to compile flexlm vendor daemon by knowing correct vendor codes and EncryptionSeed1 & 2 . It seems there is no way to force lmnewgen not to build new lmseeds.h and even if we patch it(of course compiling is possbile but if needs correct dependencies!) the daemon does not accept correct license keys!


I have tried both v8.4 and 9.2.Lmcrypt output is correct ofcourse after compiling indivisually and seperate from binrary build otherwise it doesn't work too.

When i do the same for vendor daemon it refueses to accept the correct license file which original daemon accepts.

I think the problem is related to how lmnewgen deals with encryption seeds.
From version v9.2 source code we can underestand that lmnewgen call rnd function to produce encryption seeds from lm_seeds.
Vendor Daemon depends on lm_new.obj and lsvendor.obj files which i guess random encryption seeds or somehow hardcoded inside.

I have changed the attributes of lm_seeds.h to readonly and i found this error
Can't write lmseeds.h file, exiting: Permission denied
NMAKE : fatal error U1077: '.\lmnewgen.exe' : return code '0x1'