Interpret the source string as a file name when it contains
a ':' sign but the initial part is not a known backend.
This might occur even implicitly when "%T" is used in an
include file name (even though this is not realistic..).
Michael
} else {
/*
* Separator was specified but this is not a known backend.
- * Can't handle this.
+ * As a last resort, try to interpret the original source
+ * string as a file name that contains a ":" sign.
+ * This may occur with an include directive like this:
+ * 'include = /path/to/file.%T'
*/
- DEBUG(1, ("smbconf_init: ERROR - unknown backend '%s' given\n",
- backend));
- werr = WERR_INVALID_PARAM;
+ werr = smbconf_init_txt(mem_ctx, conf_ctx, source);
}
done: