[Pkg-samba-maint] Bug#506109: Bug#506109: Bug#506109: winbind: /usr/lib/samba/nss_info/rfc2307.so missing (needs to be symlinked?)

Steve Langasek vorlon at debian.org
Tue Nov 18 22:50:34 UTC 2008


On Tue, Nov 18, 2008 at 06:42:18PM +0100, Christian Perrier wrote:
> Quoting Martin Dag Nilsson (martin.dag.nilsson at axis.com):
> > Package: winbind
> > Version: 2:3.2.4-1
> > Severity: important

> > We are researching samba/winbind to integrate our debian machines to Active Directory.
> > We specify 'winbind nss info = rfc2307' in smb.conf to get shell/homedir information from Active Directory, but it falls back to using the template backend.

> > Running '/usr/sbin/winbindd -inS -d 3' we can see the following error:
> > "Error loading module '/usr/lib/samba/nss_info/rfc2307.so': /usr/lib/samba/nss_info/rfc2307.so: cannot open shared object file: No such file or directory"

> > Looking under /usr/lib/samba shows that there is no nss_info directory.

> > When creating the dir /usr/lib/samba/nss_info and making /usr/lib/samba/nss_info/rfc2307.so a symlink to /usr/lib/samba/idmap/ad.so, everything works as expected. Don't know if this is a problem upstream or a packaging problem, but a fix is needed.
> > The same probably applies to sfu.so, but we haven't tried that one since we are not using it.

> These symlinks are apparently created during in the "installmodules"
> target of the Makefile.

> So, it could just be that we need to add the two symlinks to
> debian/winbind.files. Not sure if dh_movefiles will cope with
> this. Alternatively we need to create the directory and the symlinks
> manually in debian/rules

I would suggest using debian/winbind.links.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-samba-maint mailing list