Plugin API questions

Luke Howard lukeh at PADL.COM
Sun Mar 30 04:35:42 GMT 2003


First, I can't seem to build HEAD lately:

Compiling smbd/vfs.c
smbd/vfs.c: In function `vfs_init_custom':
smbd/vfs.c:263: `static_init_vfs' undeclared (first use in this function)
smbd/vfs.c:263: (Each undeclared identifier is reported only once
smbd/vfs.c:263: for each function it appears in.)
make: *** [smbd/vfs.o] Error 1

Secondly, is the following function all that is necessary to upgrade an
authentication plugin to use the new plugin API? Has the configuration
directives changed for loading authentication plugins?

/* old plugin API initialization prototype */
NTSTATUS auth_init(struct auth_context *auth_context, const char *param, auth_methods **auth_method);

int auth_paula_init(void)
{
	return smb_register_auth("paula", auth_init, AUTH_INTERFACE_VERSION);
}

cheers,

-- Luke

--
Luke Howard | PADL Software Pty Ltd | www.padl.com


More information about the samba-technical mailing list