[Samba] Re: Samba 3.0.3 on FC2: windows machine cannot join domain
Igor Belyi
sambauser at katehok.ac93.org
Fri Sep 24 21:24:25 GMT 2004
Igor Belyi wrote:
> 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
More information about the samba
mailing list