NetBSD Problem Report #38076
From martin@duskware.de Thu Feb 21 10:55:12 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id BF9AB63BD2C
for <gnats-bugs@gnats.netbsd.org>; Thu, 21 Feb 2008 10:55:11 +0000 (UTC)
Message-Id: <20080221080446.DFEE263BA8C@narn.NetBSD.org>
Date: Thu, 21 Feb 2008 08:04:46 +0000 (UTC)
From: info@meyer-datasystems.de
Reply-To: info@meyer-datasystems.de
To: netbsd-bugs-owner@NetBSD.org
Subject: libnss_winbind not functional
X-Send-Pr-Version: www-1.0
>Number: 38076
>Category: pkg
>Synopsis: libnss_winbind not functional
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: jlam
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 21 11:00:01 +0000 2008
>Closed-Date: Sun Apr 06 00:55:26 +0000 2008
>Last-Modified: Sun Apr 06 00:55:26 +0000 2008
>Originator: Ingo Meyer
>Release: 4.0
>Organization:
meyer datasystems, munich
>Environment:
NetBSD mailer.collin.com 4.0 NetBSD 4.0 (GENERIC) #0: Sun Dec 16 00:20:10 PST 2007 builds@wb34:/home/builds/ab/netbsd-4-0-RELEASE/i386/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
SAMBA 3.0.26a:
winbindd -V
Version 3.0.26a
>Description:
if nsswitch.conf is set to
passwd: winbind
the call to /usr/bin/getent passwd yields nothing
in /usr/pkgsrc/net/samba/work/samba-3.0.26a/source configure
doesn't expand the macro @WINBIND_NSS_EXTRA_OBJS@. Therefore
the files nsswitch/winbind_nss_netbsd.c and winbind_nss_linux.c
are not compiled into the library libnss_winbind.so.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->jlam
Responsible-Changed-By: reed@narn.netbsd.org
Responsible-Changed-When: Fri, 22 Feb 2008 14:43:31 +0000
Responsible-Changed-Why:
Assigned to samba maintainer.
From: "Johnny C. Lam" <jlam@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38076 CVS commit: pkgsrc/net/samba
Date: Thu, 3 Apr 2008 20:19:43 +0000 (UTC)
Module Name: pkgsrc
Committed By: jlam
Date: Thu Apr 3 20:19:42 UTC 2008
Modified Files:
pkgsrc/net/samba: Makefile Makefile.mirrors Makefile.patches PLIST
distinfo options.mk
pkgsrc/net/samba/patches: patch-aa patch-ae patch-at patch-au patch-ax
patch-ay patch-ba patch-be patch-bo patch-br patch-bs patch-ca
Added Files:
pkgsrc/net/samba/patches: patch-db
Removed Files:
pkgsrc/net/samba/patches: patch-ab patch-ah
Log Message:
Update samba to version 3.0.28a.
CHANGES FOR PKGSRC:
==================
Makefile:
+ Modify section that manually handles the ELF symlinks for samba
shared libraries -- add additional libraries that are built (addns,
smbsharemodes) and reorganize so we don't need two loops where one
will do.
+ Pass --with-included-popt to the configure script to force using
the popt distribution included with samba to avoid any library
mismatch errors between samba and any installed popt. This fixes
PR pkg/34444 by Jason Lingohr.
+ Don't build the smbmount programs on Linux -- they're deprecated in
favor of the mount.cifs programs.
+ Remove some pkgviews-related settings -- I'm not supporting pkgviews
installation of samba.
Makefile.patches:
+ Empty out PATCHFILES because we are updating to the latest release
of samba, which has all previous patches for security advisories
already rolled into the main sources.
Makefile.mirrors:
+ Update SAMBA_MIRRORS in Makefile.mirrors to the latest list of FTP
mirrors.
options.mk:
+ Only show the ``acl'' option on platforms that actually support
POSIX ACLs.
+ Add a new ``fam'' option to enable building the notify_fam VFS
module.
patch-ab, patch-ax:
+ Remove patch-ab and update patch-ax -- there's nothing for the
scripts to back up so we don't need to patch the install* scripts
to avoid this.
patch-ae, patch-ah:
+ Update patch-ae and remove patch-ah -- we should definitely check
that PAM_AUTHTOK_RECOVERY_ERR is defined before using its value to
define PAM_AUTHTOK_RECOVER_ERR.
patch-at, patch-au:
+ Fix patch-at and patch-au -- in configure.in, we need to "escape"
left and right brackets or else m4 will strip them away in the
resulting configure script. This should fix the detection of FreeBSD
and NetBSD systems capable of using nss_winbind noted in PR pkg/38076
by Ingo Meyer.
patch-ay:
+ Remove some unnecessary changes -- we can safely just do "mkdir" in
some places because we know the parent and any intermediate directories
exist.
patch-be:
+ Fix a bug in locating WINS_LIST -- nmbd/nmbd_winsserver.c was
referring to WINS_LIST under the state directory in one place and
under the lock directory in another; change all references to be
under the state directory.
patch-db:
+ Add patch to fix the build of samba on older BSDs. Patch supplied
in PR pkg/37487 by John Frear.
All remaining changes to patches/patch-* are simply to remove fuzz.
MAJOR CHANGES FROM VERSION 3.0.26a:
* Fix failure to join Windows 2008 domains.
* Fix Windows Vista (including SP1 RC) inter-op issues.
* Add a new ``administrative share'' service parameter for defining
hidden shares that cannot be managed from Windows.
* Fix for CVS-2007-6015 (already fixed in 3.0.26anb4 in pkgsrc).
* Fix for CVS-2007-5398 (already fixed in 3.0.26anb4 in pkgsrc).
* Fix for CVS-2007-4572 (already fixed in 3.0.26anb4 in pkgsrc). Also
subsequent fix for regression experienced by smbfs clients caused by
the fix for CVS-2007-4572, noted in PR pkg/38300 by Dave Barnes.
* Many other bugs fixed and memory leaks plugged.
To generate a diff of this commit:
cvs rdiff -r1.179 -r1.180 pkgsrc/net/samba/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/net/samba/Makefile.mirrors
cvs rdiff -r1.7 -r1.8 pkgsrc/net/samba/Makefile.patches
cvs rdiff -r1.37 -r1.38 pkgsrc/net/samba/PLIST
cvs rdiff -r1.60 -r1.61 pkgsrc/net/samba/distinfo
cvs rdiff -r1.22 -r1.23 pkgsrc/net/samba/options.mk
cvs rdiff -r1.31 -r1.32 pkgsrc/net/samba/patches/patch-aa
cvs rdiff -r1.26 -r0 pkgsrc/net/samba/patches/patch-ab
cvs rdiff -r1.8 -r1.9 pkgsrc/net/samba/patches/patch-ae \
pkgsrc/net/samba/patches/patch-at pkgsrc/net/samba/patches/patch-au
cvs rdiff -r1.3 -r0 pkgsrc/net/samba/patches/patch-ah
cvs rdiff -r1.2 -r1.3 pkgsrc/net/samba/patches/patch-ax
cvs rdiff -r1.3 -r1.4 pkgsrc/net/samba/patches/patch-ay \
pkgsrc/net/samba/patches/patch-be pkgsrc/net/samba/patches/patch-br
cvs rdiff -r1.6 -r1.7 pkgsrc/net/samba/patches/patch-ba
cvs rdiff -r1.4 -r1.5 pkgsrc/net/samba/patches/patch-bo \
pkgsrc/net/samba/patches/patch-bs pkgsrc/net/samba/patches/patch-ca
cvs rdiff -r0 -r1.1 pkgsrc/net/samba/patches/patch-db
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: jlam@NetBSD.org
State-Changed-When: Fri, 04 Apr 2008 01:16:56 +0000
State-Changed-Why:
The net/samba package was updated to version 3.0.28a along with the
following changes to the patches:
+ Fix patch-at and patch-au -- in configure.in, we need to "escape"
left and right brackets or else m4 will strip them away in the
resulting configure script. This should fix the detection of FreeBSD
and NetBSD systems capable of using nss_winbind noted in PR pkg/38076
by Ingo Meyer.
This should fix the problem noted in this PR. Please let me know if the
problem still exists. Thanks!
From: Juan RP <xtraeme@gmail.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/38076 (libnss_winbind not functional)
Date: Fri, 4 Apr 2008 03:19:52 +0200
On Fri, 4 Apr 2008 01:16:57 +0000 (UTC)
jlam@NetBSD.org wrote:
> Synopsis: libnss_winbind not functional
>
> State-Changed-From-To: open->feedback
> State-Changed-By: jlam@NetBSD.org
> State-Changed-When: Fri, 04 Apr 2008 01:16:56 +0000
> State-Changed-Why:
> The net/samba package was updated to version 3.0.28a along with the
> following changes to the patches:
>
> + Fix patch-at and patch-au -- in configure.in, we need to "escape"
> left and right brackets or else m4 will strip them away in the
> resulting configure script. This should fix the detection of FreeBSD
> and NetBSD systems capable of using nss_winbind noted in PR pkg/38076
> by Ingo Meyer.
Heh. This has been one of the most useful commits/updates I've seen on
pkgsrc for long time.
You rock, Johnny!
--
Juan Romero Pardines - xtraeme at gmail|netbsd dot org
The NetBSD Project
Make your own NetBSD/x86 Live CD:
http://www.netbsd.org/~xtraeme/mklivecd/
From: Ingbert Meyer <info@meyer-datasystems.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/38076 (libnss_winbind not functional)
Date: Fri, 04 Apr 2008 14:01:18 +0200
jlam@NetBSD.org schrieb:
> Synopsis: libnss_winbind not functional
>
> State-Changed-From-To: open->feedback
> State-Changed-By: jlam@NetBSD.org
> State-Changed-When: Fri, 04 Apr 2008 01:16:56 +0000
> State-Changed-Why:
> The net/samba package was updated to version 3.0.28a along with the
> following changes to the patches:
>
> + Fix patch-at and patch-au -- in configure.in, we need to "escape"
> left and right brackets or else m4 will strip them away in the
> resulting configure script. This should fix the detection of FreeBSD
> and NetBSD systems capable of using nss_winbind noted in PR pkg/38076
> by Ingo Meyer.
>
> This should fix the problem noted in this PR. Please let me know if the
> problem still exists. Thanks!
>
>
I'll try this in the next days. Thank You !!!
Ingo
--
I. Meyer
meyer datasystems
Schluesselbergstr. 8/2.Stck
81673 Muenchen
info@meyer-datasystems.de
Tel: +49 89 22846106
Mobil: +49 162 4726634
From: Ingbert Meyer <info@meyer-datasystems.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/38076 (libnss_winbind not functional)
Date: Sat, 05 Apr 2008 18:00:46 +0200
jlam@NetBSD.org schrieb:
> Synopsis: libnss_winbind not functional
>
> State-Changed-From-To: open->feedback
> State-Changed-By: jlam@NetBSD.org
> State-Changed-When: Fri, 04 Apr 2008 01:16:56 +0000
> State-Changed-Why:
> The net/samba package was updated to version 3.0.28a along with the
> following changes to the patches:
>
> + Fix patch-at and patch-au -- in configure.in, we need to "escape"
> left and right brackets or else m4 will strip them away in the
> resulting configure script. This should fix the detection of FreeBSD
> and NetBSD systems capable of using nss_winbind noted in PR pkg/38076
> by Ingo Meyer.
>
> This should fix the problem noted in this PR. Please let me know if the
> problem still exists. Thanks!
>
>
>
>
I just tested the new package on NetBSD 4.0:
nss_winbind.so compiles well and seems to be complete. getent is working
as expected.
thank you
I. Meyer
--
I. Meyer
meyer datasystems
Schluesselbergstr. 8/2.Stck
81673 Muenchen
info@meyer-datasystems.de
Tel: +49 89 22846106
Mobil: +49 162 4726634
State-Changed-From-To: feedback->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sun, 06 Apr 2008 00:55:26 +0000
State-Changed-Why:
Fix confirmed by originator.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.