PHP smbpwd licanse
Steve Langasek
vorlon at netexpress.net
Mon Mar 25 09:42:03 GMT 2002
On Mon, Mar 25, 2002 at 03:58:10PM +0100, Simo Sorce wrote:
> Sorry, but you cannot use the same code released under GPL and include
> it under a different license. You can however study what the code does
> and create a complete new code based on the same concepts you learned
> from the code.
More valuable, I think, would be if it were possible to release a GPLed
PHP extension that uses these GPLed routines. Would that be disallowed
because PHP's license is not GPL-compatible? Or, since these are
effectively language bindings, would the GPL only extend to PHP scripts
using this PHP extension?
Is there any precedent in the history of Perl modules, for example?
I do remember that the PHP team was not allowed to distribute a
extension that was built on top of GNU readline; but I don't remember
whether this was only because they were unwilling to license that
extension under the GPL.
Steve Langasek
postmodern programmer
> On Mon, 2002-03-25 at 13:43, metzemix at gmx.de wrote:
> > I want to publish a php extension to provide functions witch generate NT and
> > LM password hash.
> >
> > I use the source/lib/md4.c and source/libsmb/smbdes.c files.
> >
> > I'm not sure if this is possible because PHP uses the PHP license and samba
> > GPL.
> >
> > function list:
> > string smbntpwd( string password )
> > string smblmpwd( string password )
> >
> > This is usefull to manage SAMBA Accounts in LDAP Directories or MySQL
> > with PHP scripts.
> >
> > metze
> >
> > --
> > GMX - Die Kommunikationsplattform im Internet.
> > http://www.gmx.net
> >
> >
> --
> Simo Sorce
> ----------
> Una scelta di liberta': Software Libero.
> A choice of freedom: Free Software.
> http://www.softwarelibero.it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20020325/8eb5ce88/attachment.bin
More information about the samba-technical
mailing list