From: Mike B. <sm...@te...> - 2000-07-04 17:37:47
|
Hi all, Since xandi is off on holidays and only a small few are hanging out on the 3Dsia irc channel (irc.openprojects.net) I guess I'm going to have to start using this mailing list :) Ok - I'm after having serious trouble connecting the client to the 3Dsia server. Eventually I've figured out its a problem in the authentication code, specifically "3Dsia/server/authentication/shadow/shadow.cpp" in the function "CheckShadowed". I'm not familar with how shadowed passwords are stored under unix. The encrypted string for the shadowed password and encrypted (using the function crypt) string for the inputted password DON'T match - which causes "CheckShadowed" to return false. To temporarily bypass this authentication problem just change the function "CheckShadowed" to return true - this may cause other problems. Now I'm getting graphics appearing but it core dumps after various amounts of time (is this related to no proper authentication occuring?). Suggestions appreciated....also is there some way to use gdb on the client/server where gdb doesn't bring up this message: "Single stepping until exit from function sigsuspend, which has no line number information. warning: Signal ? does not exist on this system." I'm going to look at how other programs handle authentication with shadowed passwords - that'll help me fix the problem. Either way I think it would be better to authenticate users via a different system, i.e. not the system passwords. Good luck, Mike (a.k.a. Smoog) |