nss_ldap, sendmail and ls

Dan Welch welchdw at earthlink.net
Sun Jan 25 09:37:50 PST 2004


On Sun, Jan 25, 2004 at 02:09:29PM -0500, Andrea Venturoli wrote:
> Hello.
> I've built a mailserver with FreeBSD 5.1, which uses nss_ldap for the
> user database, and sendmail-ldap from the port collection. Everything
> works fine except forward files. I've arranged sendmail to keep them
> all in one directory by user name; however this only works for users
> which are in /etc/passwd, not for those that are stored in LDAP.
>
> Something which might be related: if I do "ls -l" I can see the
> usernames, again, only for users which are in /etc/passwd, for those
> that are in LDAP I see the uid number instead. Is this normal?
>
> Any hint is appreciated.
> 
>  bye & Thanks     av.

This amounts to only a hint, but my copy of the port says
	"Currently this is an experimental port, with
	support only for the `passwd' and `group' databases."
which sounds very much like the problem you describe. You 
may need to use a more complete ldap system such as openldap
which is also in the ports.



More information about the freebsd-questions mailing list