From owner-freebsd-questions@FreeBSD.ORG Sun Jan 25 09:37:50 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A033216A4CE for ; Sun, 25 Jan 2004 09:37:50 -0800 (PST) Received: from grouse.mail.pas.earthlink.net (grouse.mail.pas.earthlink.net [207.217.120.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB87143D2D for ; Sun, 25 Jan 2004 09:37:48 -0800 (PST) (envelope-from welchdw@earthlink.net) Received: from user-2ivfbgu.dialup.mindspring.com ([165.247.174.30] helo=gandalf.welch.net) by grouse.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1AkoCb-0003bm-00; Sun, 25 Jan 2004 09:37:42 -0800 Received: from gandalf.welch.net (localhost [127.0.0.1]) by gandalf.welch.net (8.12.6/8.12.6) with ESMTP id i0PHbd0J002249; Sun, 25 Jan 2004 12:37:39 -0500 (EST) (envelope-from welchdw@gandalf.welch.net) Received: (from welchdw@localhost) by gandalf.welch.net (8.12.6/8.12.6/Submit) id i0PHZ01a002224; Sun, 25 Jan 2004 12:35:00 -0500 (EST) Date: Sun, 25 Jan 2004 12:35:00 -0500 From: Dan Welch To: Andrea Venturoli Message-ID: <20040125173500.GA2198@gandalf.welch.net> References: <200401251309.i0PD9TO3097344@soth.ventu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200401251309.i0PD9TO3097344@soth.ventu> User-Agent: Mutt/1.4i cc: freebsd-questions@freebsd.org Subject: Re: nss_ldap, sendmail and ls X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Welch List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 17:37:50 -0000 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.