[Pkg-ltsp-devel] Bug in 0.6-0ubuntu1 ltspfsd (solved)

Kenneth Girrard kgirrard at comfsm.fm
Wed May 19 17:56:46 UTC 2010


Local devices support in LTSP was broken for me in a new install of  
Ubuntu 10.04LTS (amd64). I was unable to mount a device, even by  
manually calling ltspfsmounter. The problem turned out to be a type  
mis-match that was causing the handle_auth function to throw an  
authorization failure.

The problem was the auth_size variable. It was declared as type  
size_t, but the call "xdr_u_int(in, &auth_size)" expects it to be  
u_int. When auth_size was evaluated later it was mangled.

Changing the declaration (in ltspfsd_functions.c, function  
handle_auth) of auth_size to

	u_int auth_size;

fix the problem for me.

Hope this helps. Took me a couple days to nail it down.

If I've sent this to the wrong folks, please advise and I'll redirect  
as needed.

Thanks,

Ken



More information about the Pkg-ltsp-devel mailing list