From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 4 15:46:34 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B7A12F6A for ; Wed, 4 Feb 2015 15:46:34 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 995219A7 for ; Wed, 4 Feb 2015 15:46:34 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t14FkYBb063614 for ; Wed, 4 Feb 2015 15:46:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 197320] net/samba41: "pkg install samba41" (or samba4) pre-compiled install missing idmap_ad / ad.so shared-module! Date: Wed, 04 Feb 2015 15:46:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: xenomorph@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: timur@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2015 15:46:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197320 Bug ID: 197320 Summary: net/samba41: "pkg install samba41" (or samba4) pre-compiled install missing idmap_ad / ad.so shared-module! Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: timur@FreeBSD.org Reporter: xenomorph@gmail.com Assignee: timur@FreeBSD.org Flags: maintainer-feedback?(timur@FreeBSD.org) It seems like the binary/pre-compiled install of both Samba 4.0.x and Samba 4.1.x lack required modules for using Active Directory / rfc2307 id mapping. With a very simple smb4.conf configuration, I should be able to pull up the UID, GID, and other rfc2307 information from my Active Directory using the "ad" backend. ---------- # server info workgroup = DOMAIN realm = DOMAIN.LOCAL netbios name = Server security = ads # uid and gid is in ad idmap config DOMAIN : backend = ad idmap config DOMAIN : range = 10000-19999 idmap config DOMAIN : schema_mode = rfc2307 ---------- Querying a user doesn't give me any of the information that I'm expecting. My logs are filled with dozens of complaints about a missing "ad.so" idmap shared module. ---------- [2015/02/03 17:00:47.849685, 3] ../source3/winbindd/idmap.c:230(idmap_init_domain) idmap backend ad not found [2015/02/03 17:00:47.849727, 5] ../lib/util/modules.c:174(do_smb_load_module) Probing module 'ad' [2015/02/03 17:00:47.849763, 5] ../lib/util/modules.c:188(do_smb_load_module) Probing module 'ad': Trying to load from /usr/local/lib/shared-modules/idmap/ad.so [2015/02/03 17:00:47.849958, 5] ../lib/util/modules.c:56(load_module) Error loading module '/usr/local/lib/shared-modules/idmap/ad.so': Cannot open "/usr/local/lib/shared-modules/idmap/ad.so" [2015/02/03 17:00:47.849985, 3] ../source3/winbindd/idmap.c:235(idmap_init_domain) Could not probe idmap module ad ---------- The directory "/usr/local/lib/shared-modules/idmap/" only contains four files: ---- autorid.so hash.so rfc2307.so rid.so tdb2.so ----- Where is "ad.so"? Compiling samba41 or samba4 from scratch does build and install "ad.so" (and my above configuration then works as expected). Shouldn't ad.so be included by default in the pre-compiled Samba packages? ("pkg install samba41" and "pkg install samba4"). --- Comment #1 from Bugzilla Automation --- Auto-assigned to maintainer timur@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug.