Hi

After zeroing nsswitch.conf everything work like charm...


On 07/09/06, Dominic Marks <dom@goodforbusiness.co.uk > wrote:
Marcus Rueckert wrote:
> On 2006-09-07 13:24:19 +0100, Dominic Marks wrote:
>> Boris Ivanov wrote:
>>> Hi
>>>
>>> I met problem developing plug-in under FreeBSD 6.1.
>>>
>>> First I tried to use internal plugins like quota and acl but I got:
>>>
>>> IMAP(xxx): module /usr/local/lib/dovecot/imap/lib01_acl_plugin.so:
>>> dlsym(acl_plugin_init) failed: Shared object "nss_dns.so.1" not found,
>>> required by "imap"
>>>
>>> This library doesn't exist on FreeBSD 6.1 Same story  when u mention any
>>> plugin in dovecot.conf…
>>>
>>> Any ideas how to fix it?
>> The nss functions are in libc. So I'd guess removing all reference to
>> any nss_*.so
>> libs would be sufficient.
>
> how about cleaning up our nsswitch.conf?
> or the fbsd equivalent of it.

What do you mean exactly? By the it is /etc/nsswitch.conf on FreeBSD too.

A default one looks like:

group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files

I'm no expert on nsswitch by the way! :)

Dominic



--
Yours
Boris