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

Christian Perrier bubulle at debian.org
Tue Nov 18 17:42:18 UTC 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20081118/4714a58b/attachment.pgp 


More information about the Pkg-samba-maint mailing list