Having problems linking with file_pload in an idmap module

Ralph Böhme rb at sernet.de
Fri Dec 26 01:08:36 MST 2014


Hi Richard,

On Thu, Dec 25, 2014 at 07:55:34PM -0800, Richard Sharpe wrote:
> I am trying to use file_pload but I get the following when the module
> is invoked:
> 
> [2014/12/25 19:48:55.946619,  5, pid=7795, effective(0, 0), real(0,
> 0)] ../lib/util/modules.c:48(load_module)
>   Error loading module '/usr/local/samba/lib/idmap/script.so':
> /usr/local/samba/lib/idmap/script.so: undefined symbol: file_pload
> 
> Remember, this is invoked from winbindd.
> 
> I cannot find the magic that I need in the wscript_build to fix this problem.
> 
> Can anyone spare a clue?

you're trying to use a static function?

$ git grep file_pload
source3/lib/util_file.c:static char *file_pload(const char *syscmd, size_t *size)
source3/lib/util_file.c:                        DEBUG(0,("file_pload: failed to expand buffer!\n"));
source3/lib/util_file.c:        p = file_pload(syscmd, &size);

Cheerio!
-Ralph

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de


More information about the samba-technical mailing list