From owner-freebsd-current@FreeBSD.ORG Tue Jun 3 13:07:29 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B7CE106567C for ; Tue, 3 Jun 2008 13:07:29 +0000 (UTC) (envelope-from karim.bourenane@orange-ftgroup.com) Received: from relais-inet.francetelecom.com (relais-ias243.francetelecom.com [80.12.204.243]) by mx1.freebsd.org (Postfix) with ESMTP id 176FF8FC24 for ; Tue, 3 Jun 2008 13:07:28 +0000 (UTC) (envelope-from karim.bourenane@orange-ftgroup.com) Received: from omfeda07.si.francetelecom.fr (unknown [xx.xx.xx.200]) by omfeda14.si.francetelecom.fr (ESMTP service) with ESMTP id 3E51570438 for ; Tue, 3 Jun 2008 15:07:27 +0200 (CEST) Received: from PARM01.dc.par.equant.com (unknown [10.237.24.33]) by omfeda07.si.francetelecom.fr (ESMTP service) with ESMTP id EE19A70002 for ; Tue, 3 Jun 2008 15:07:26 +0200 (CEST) To: freebsd-current@freebsd.org MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.12 February 13, 2003 From: karim.bourenane@orange-ftgroup.com Message-ID: Date: Tue, 3 Jun 2008 15:10:18 +0200 X-MIMETrack: Serialize by Router on PARM01/Equant(5012HF429 | October 14, 2003) at 03/06/2008 15:10:22, Serialize complete at 03/06/2008 15:10:22 Content-Type: text/plain; charset="us-ascii" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: [BSD7] Openldap with SUDOers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2008 13:07:29 -0000 Hi Team, and All I want to create a sudoers profile in my openldap, but i dont undestand how to do. Actually in my Ldap i have : In slapd.conf # Sudoers definition base sudoers_base ou=SUDOers,dc=domain,dc=com sudoers_debug 0 Distinguished Name: ou=SUDOers,dc=domain,dc=com Distinguished Name: cn=defaults,ou=SUDOers,dc=domain,dc=com With sudoOption: ignore_dot !mail_no_user log_host !syslog timestamp_timeout=10 Distinguished Name: cn=role1,ou=SUDOers,dc=domain,dc=com ObjetClass : Top and SudoRole sudoCommand : All sudoHost : ALL sudoOption: !authenticate sudoUser : login1,login2 When i connect and try command "sudo su" %sudo su Password: login1 is not in the sudoers file. This incident will be reported. Can anyone have idea, or better solution :) Thanks Karim Bourenane Orange Business Services / Equant RO&SI / IBNF / ENO / GNS 112 Avenue Charles de Gaules 92200 Neuilly S/Seine Phone: +33156 76 35 52 Fax: +33156 76 35 04 http://www.equant.com