[Pkg-samba-maint] Bug#649265: winbind: add wins to nsswitch.conf

Osamu Aoki osamu at debian.org
Sat Nov 19 13:26:02 UTC 2011


Package: winbind
Version: 2:3.5.11~dfsg-4
Severity: wishlist

As I understand, winbind is a package to help integrate a machine into a
Windows network. Documentation in "Integrating MS Windows Networks with Samba"
 http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/integrate-ms-networks.html
is a good resource for novice like me.  It seems we need to add wins to nsswitch.conf.

Then I realize, libnss-mdns does put its entries into nsswitch.conf via package
script.  I thought it may be nice for winbind to do the similar.

$ grep nsswitch.conf  *
...
libnss-mdns.postinst:# try to insert mdns entries to the "hosts" line in /etc/nsswitch.conf to
libnss-mdns.postinst:    # abort if /etc/nsswitch.conf does not exist
libnss-mdns.postinst:    if ! [ -e /etc/nsswitch.conf ]; then
libnss-mdns.postinst:        log "Could not find /etc/nsswitch.conf."
libnss-mdns.postinst:    ' /etc/nsswitch.conf
libnss-mdns.postinst:        # nsswitch.conf already contains mdns entries)
libnss-mdns.postinst:            if [ -e /etc/nsswitch.conf ]; then
libnss-mdns.postinst:                    /etc/nsswitch.conf
libnss-mdns.postinst:                    /etc/nsswitch.conf
libnss-mdns.postrm:    # abort if /etc/nsswitch.conf does not exist
libnss-mdns.postrm:    if ! [ -e /etc/nsswitch.conf ]; then
libnss-mdns.postrm:        log "Could not find /etc/nsswitch.conf."
libnss-mdns.postrm:    ' /etc/nsswitch.conf

Regards,

Osamu

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages winbind depends on:
ii  adduser           3.113                
ii  libc6             2.13-21              
ii  libcap2           1:2.22-1             
ii  libcomerr2        1.42~WIP-2011-10-16-1
ii  libgssapi-krb5-2  1.9.1+dfsg-3         
ii  libk5crypto3      1.9.1+dfsg-3         
ii  libkrb5-3         1.9.1+dfsg-3         
ii  libldap-2.4-2     2.4.25-4+b1          
ii  libpopt0          1.16-1               
ii  libtalloc2        2.0.7-3              
ii  libtdb1           1.2.9-4+b1           
ii  libwbclient0      2:3.5.11~dfsg-4      
ii  lsb-base          3.2-28               
ii  samba-common      2:3.5.11~dfsg-4      
ii  zlib1g            1:1.2.3.4.dfsg-3     

Versions of packages winbind recommends:
ii  libpam-winbind  2:3.5.11~dfsg-4

winbind suggests no packages.

-- no debconf information





More information about the Pkg-samba-maint mailing list