I tried to use the 'wins hook' configuration option to call an external script
for wins updates. It seems that because of '>' in one of the passed variables,
wins support = yes
wins hook = /home/lyon/wins.php
log.nmbd (my externalip has been replaced):
sh: -c: line 1: syntax error near unexpected token `3'
sh: -c: line 1: `/home/lyon/wins.php refresh OFFSHORE<03> 03 259200 192.168.0.1
sh: -c: line 1: syntax error near unexpected token `20'
sh: -c: line 1: `/home/lyon/wins.php refresh OFFSHORE<20> 20 259200 192.168.0.1
wins.php is a script, using php to store the var's. There is nothing wrong with
it. (has execution rights, all stuff works)
After looking at the hook code, i noticed that the '>' is detected, but is not
being fixed. I dont think i am good enough with C to fix it though, so i hope
somebody could look into it.
This is fixed in any of the pre-releases and will be in Samba 3.0.1
*** This bug has been marked as a duplicate of 528 ***