From owner-freebsd-questions@FreeBSD.ORG Mon Jul 3 07:47:12 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 E5DD116A403 for ; Mon, 3 Jul 2006 07:47:12 +0000 (UTC) (envelope-from jim.l.lester@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id B42C743E3B for ; Mon, 3 Jul 2006 07:14:51 +0000 (GMT) (envelope-from jim.l.lester@gmail.com) Received: by nf-out-0910.google.com with SMTP id c29so707539nfb for ; Mon, 03 Jul 2006 00:14:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=b6E/lVcgl3qOLmBrqYzVLWnabsOMqthrhtbMPPumNZIp5tQBQ7l0aqu7GXYxt+EdffQm5ZtQYyeMj0q2sqITzdwCiJ42rVRBNs7NgA5G0kjYoDLBYPtH/EBawbo7z+CXnRAdpY9NYOdxggi7mKPOTUP5tbiNcZvlhdvotHSCMUg= Received: by 10.49.20.14 with SMTP id x14mr2109599nfi; Mon, 03 Jul 2006 00:14:50 -0700 (PDT) Received: by 10.48.214.3 with HTTP; Mon, 3 Jul 2006 00:14:50 -0700 (PDT) Message-ID: <15f2a91a0607030014i489d7278n32f8d68686c6ea26@mail.gmail.com> Date: Mon, 3 Jul 2006 00:14:50 -0700 From: "Jim Lester" To: "Dan Nelson" In-Reply-To: <20060703062231.GE4915@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060703062231.GE4915@dan.emsphone.com> Cc: ACM Staff , freebsd-questions@freebsd.org Subject: Re: sudo and LDAP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jul 2006 07:47:13 -0000 Ya, that worked. I didn't think about it from that angel. I suppose it has to auth the user somehow and I don't have ldap in system, I just have it in ssh. Thanks. On 7/2/06, Dan Nelson wrote: > In the last episode (Jul 02), ACM Staff said: > > Ok, so I am running a box with 6.0-STABLE > > > > Problem is I can't get sudo working for my LDAP based users. I > > compiled sudo from the ports tree with LDAP support. Here is some > > output > > > > as a user: > > > > notroot@risk:~$ id notroot > > uid=2018(notroot) gid=200(acm) groups=200(acm), 203(officers), > > 201(staff), 204(staffers) > > notroot@risk:~$ sudo ls > > Password: > > Sorry, try again. > > Have you created a pam.d/sudo file, or edited your pam.d/other file to > include pam_ldap.so? I recommend copying the pam.d/su file, then > editing pam.d/system to include pam_ldap.so. > > -- > Dan Nelson > dnelson@allantgroup.com >