[Samba] Running "net join" from web page
Thomas Madsen
tm at softcom.dk
Thu Dec 16 13:57:18 GMT 2004
Hi all,
i'm trying to make a linux box join a windows domain by calling "NET
JOIN" from php/perl.
The join works perfecly when used from the command line.
I made a perl script that runs the actual command, set-uid it to root
and ran it from php.
Then i got this error:
[2004/12/16 14:33:24, 0] libsmb/clientgen.c:cli_initialise(251)
libsmb based programs must *NOT* be setuid root.
How can i make "net join" run from a webpage/perl setup? Have anybody
else tried this?
BR and thanks,
Thomas.
More information about the samba
mailing list