Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 12:35:00 -0500
From:      Dan Welch <welchdw@earthlink.net>
To:        Andrea Venturoli <ml.ventu@flashnet.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: nss_ldap, sendmail and ls
Message-ID:  <20040125173500.GA2198@gandalf.welch.net>
In-Reply-To: <200401251309.i0PD9TO3097344@soth.ventu>
References:  <200401251309.i0PD9TO3097344@soth.ventu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040125173500.GA2198>