diff options
author | Tim Potter <tpot@samba.org> | 1999-04-05 05:18:07 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 1999-04-05 05:18:07 +0000 |
commit | 69ae7902bb2ba16f6312aaaa0cdee1204297905a (patch) | |
tree | 538085dd8c972d7b6f96f0f0f29c0504fe322b26 /source3/smbd/service.c | |
parent | 38b6de53b4a424bef672020f9440e9edb884228d (diff) | |
download | samba-69ae7902bb2ba16f6312aaaa0cdee1204297905a.tar.gz samba-69ae7902bb2ba16f6312aaaa0cdee1204297905a.tar.bz2 samba-69ae7902bb2ba16f6312aaaa0cdee1204297905a.zip |
Disable VFS routines if no libdl available.
(This used to be commit cbfd8a8990b4d06d0c866274e7d28e4a5e384686)
Diffstat (limited to 'source3/smbd/service.c')
-rw-r--r-- | source3/smbd/service.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 8202294293..5c7929d1b6 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -350,11 +350,18 @@ connection_struct *make_connection(char *service,char *user,char *password, int if (*lp_vfsobj(SNUM(conn))) { +#ifdef HAVE_LIBDL + /* Loadable object file */ if (vfs_init_custom(conn) < 0) { return NULL; } +#else + DEBUG(0, ("No libdl present - cannot use VFS objects\n")); + conn_free(conn); + return NULL; +#endif } else { |