Hi, Code reuse is acceptable within the same project or with code of the same license, but the last thing we want is reusing code with licensing we don't want, like rdesktop. I understand it may look logical since the amount of code appears too small and too simple to be copyrightable, but as you can notice we are being watched very closely by the rdesktop project for any opportunity to cry wolf on licensing. For this reason, you should not reuse parts from rdesktop, as simple and small as they may appear to you. This is not because I want to be a bitch about this, it is because somebody else is already doing that job very well for me.
This being said, simply throw whatever rdesktop-inspired code you have there and start fresh. Don't bother using rdesktop code, the stuff you describe looks simple enough to me so that you can write your own without using rdesktop as a reference. The GSSAPI is fairly standard, and I recall there are some good MSDN articles on SSPI/GSSAPI interop. I may have one suggestion for a different way to interface with the GSSAPI that may be better on the long term: would it be possible to dynamically load the GSSAPI library instead of linking to it, just like what I have done previously for pcsc-lite? It is more work, but it would remove the link dependency. Best regards, -Marc-Andre On Thu, Mar 12, 2015 at 4:55 PM, Thomas Calderon <calderon.tho...@gmail.com> wrote: > Hi, > > The code ported from rdsektop is minimal and isolated in kerberos_gss.c, > it consists of wrappers around GSSAPI to be precise. I was just trying to > apply code reuse. > I can easily rewrite it to have the same functionality so that there is no > licensing issues. > > Is that something that could be acceptable? > > Cheers, > > Thomas. > Le 12 mars 2015 21:10, "Marc-André Moreau" <marcandre.mor...@gmail.com> a > écrit : > > Thanks Peter for pointing it out, I was going to point it out myself. >> >> Thomas, for obvious reasons we cannot consider accepting such a >> contribution in the FreeRDP project, as by your own words it is based on >> code taken from rdesktop. Kerberos support in FreeRDP would be nice, but it >> cannot be implemented by porting GPL code to our Apache 2.0 code base. >> >> >> >> On Thu, Mar 12, 2015 at 4:00 PM, Peter Astrand <astr...@cendio.se> wrote: >> >>> On Thu, 12 Mar 2015, Thomas Calderon wrote: >>> >>> > I have started working on a PoC to support Kerberos authentication for >>> > FreeRDP clients. >>> >>> > The GSSAPI code was ported from the rdesktop project that has support >>> for >>> > Kerberos client authentication. >>> >>> Please note that due to the different licenses, it's not possible to take >>> code from rdesktop and put it into FreeRDP. Code can flow from FreeRDP to >>> rdesktop, but not the other way around, unless you start distributing >>> FreeRDP under the GPLv3 license. (See >>> http://en.wikipedia.org/wiki/Apache_License#GPL_compatibility) >>> >>> >>> Br, >>> --- >>> Peter Astrand ThinLinc Chief Developer >>> Cendio AB https://cendio.com >>> Teknikringen 8 https://twitter.com/ThinLinc >>> 583 30 Linkoping https://facebook.com/ThinLinc >>> Phone: +46-13-214600 https://google.com/+CendioThinLinc >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming The Go Parallel Website, >>> sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub >>> for all >>> things parallel software development, from weekly thought leadership >>> blogs to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> FreeRDP-devel mailing list >>> FreeRDP-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/freerdp-devel >>> >> >> ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel