As per 'all_string_sub(add_script, "%u", account, sizeof(account));' mentioned previously - it acctually does nothing at all. The previous lp_addmachine_script() function returns all variables substituted thanks to the magic of alloc_sub_basic().
Ok... alloc_sub_basic() substitutes everything _except_ "%u"! That's why there's an additional all_string_sub() before calling the script.
Igor
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
