From owner-freebsd-stable@FreeBSD.ORG Sun Feb 5 11:50:15 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 192801065672 for ; Sun, 5 Feb 2012 11:50:15 +0000 (UTC) (envelope-from olavgg@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id AD6918FC1B for ; Sun, 5 Feb 2012 11:50:14 +0000 (UTC) Received: by eekb47 with SMTP id b47so2146504eek.13 for ; Sun, 05 Feb 2012 03:50:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=rLXGCWsTbBggwcoBlvbLuwmQfF58nmB1Xab+Wq0OluI=; b=QN/3Jwvo17hHcoguV3c+kd9yXDxVEdcky1Lp4GeDfacvG6evY1wuQ4d0LyqRTymPox nFtu8fNm+IzLNm0qjqA9aO3nmwNoL9yZo9VWc8NqhzQ5Rbe7HlQfedJiDUGGPw5AgCdm SAZmzsB0VutwMG0cpRoX7jyvxtORYQ4+sSw/Q= MIME-Version: 1.0 Received: by 10.213.98.71 with SMTP id p7mr730348ebn.101.1328441007392; Sun, 05 Feb 2012 03:23:27 -0800 (PST) Received: by 10.213.5.8 with HTTP; Sun, 5 Feb 2012 03:23:27 -0800 (PST) Date: Sun, 5 Feb 2012 12:23:27 +0100 Message-ID: From: Olav Gjerde To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Why do I get 32767 id mapping when using NSFv4 with LDAP? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2012 11:50:15 -0000 I've configured a server with 9-STABLE compiled late january. I've played a bit with NFSv4 and it works great. Except that I can't get it to play nice with OpenLDAP. If I mirror the passwd and group files between the client and server the mapping is correct. If I add pam_ldap to the /etc/pam.d/system file it works fine on both systems when I browse local files, however NFSv4 map both the uid and gid as 32767. The files should belong to user olav with uid and gid 1001. Do anyone how I can get this to work properly? At least what I should look into? Do I need kerberos?