[Bug 1342842] [NEW] winbind crashed when "getent passwd" is called

Paul Ortman paul.ortman at gmail.com
Wed Jul 16 16:54:01 UTC 2014


Public bug reported:

I have samba configured as a member server in a AD.  `wbinfo -u` and
`wbinfo -p` accurately report all the domain users.  `getent passwd`
shows just one domain user and then all the local users.  winbindd
crashes at that point.

smb.conf:

[global]
   workgroup = MERCHANTS
   realm = MERCHANTS.LOCAL
   netbios name = x1
   server string = %h server (Samba, Ubuntu)
   dns proxy = no
   log level = 0 auth:3 winbind:3
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d
   security = ADS
   #password server = msb-dcdns.merchants.local
   kerberos method = secrets and keytab
   encrypt passwords = true
   client signing = mandatory
   server signing = mandatory
   guest account = nobody
   restrict anonymous = 1
   load printers = no
   printing = bsd
   printcap name = /dev/null
   disable spoolss = yes
   socket options = TCP_NODELAY
   domain master = no
   local master = no
   preferred master = no
   ;idmap uid = 10000-20000
   ;idmap gid = 10000-20000
   idmap config * : backend = tdb
   idmap config * : range = 70001-80000
   idmap config MERCHANTS : backend = ad
   idmap config MERCHANTS : default = yes
   idmap config MERCHANTS : readonly = yes
   idmap config MERCHANTS : schema_mode = rfc2307
   idmap config MERCHANTS : range = 10000-20000
;  template shell = /bin/bash
   winbind enum groups = yes
   winbind enum users = yes
   winbind refresh tickets = yes
   winbind use default domain = yes
   winbind offline logon = yes
   winbind nss info = rfc2307
   #winbind separator = +

# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"

# apt-cache policy samba
samba:
  Installed: 2:4.1.6+dfsg-1ubuntu2.14.04.2
  Candidate: 2:4.1.6+dfsg-1ubuntu2.14.04.2
  Version table:
 *** 2:4.1.6+dfsg-1ubuntu2.14.04.2 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2:4.1.6+dfsg-1ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "winbind crash dump"
   https://bugs.launchpad.net/bugs/1342842/+attachment/4154174/+files/_usr_sbin_winbindd.0.crash

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1342842

Title:
  winbind crashed when "getent passwd" is called

Status in “samba” package in Ubuntu:
  New

Bug description:
  I have samba configured as a member server in a AD.  `wbinfo -u` and
  `wbinfo -p` accurately report all the domain users.  `getent passwd`
  shows just one domain user and then all the local users.  winbindd
  crashes at that point.

  smb.conf:

  [global]
     workgroup = MERCHANTS
     realm = MERCHANTS.LOCAL
     netbios name = x1
     server string = %h server (Samba, Ubuntu)
     dns proxy = no
     log level = 0 auth:3 winbind:3
     log file = /var/log/samba/log.%m
     max log size = 1000
     syslog = 0
     panic action = /usr/share/samba/panic-action %d
     security = ADS
     #password server = msb-dcdns.merchants.local
     kerberos method = secrets and keytab
     encrypt passwords = true
     client signing = mandatory
     server signing = mandatory
     guest account = nobody
     restrict anonymous = 1
     load printers = no
     printing = bsd
     printcap name = /dev/null
     disable spoolss = yes
     socket options = TCP_NODELAY
     domain master = no
     local master = no
     preferred master = no
     ;idmap uid = 10000-20000
     ;idmap gid = 10000-20000
     idmap config * : backend = tdb
     idmap config * : range = 70001-80000
     idmap config MERCHANTS : backend = ad
     idmap config MERCHANTS : default = yes
     idmap config MERCHANTS : readonly = yes
     idmap config MERCHANTS : schema_mode = rfc2307
     idmap config MERCHANTS : range = 10000-20000
  ;  template shell = /bin/bash
     winbind enum groups = yes
     winbind enum users = yes
     winbind refresh tickets = yes
     winbind use default domain = yes
     winbind offline logon = yes
     winbind nss info = rfc2307
     #winbind separator = +

  # cat /etc/lsb-release
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=14.04
  DISTRIB_CODENAME=trusty
  DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"

  # apt-cache policy samba
  samba:
    Installed: 2:4.1.6+dfsg-1ubuntu2.14.04.2
    Candidate: 2:4.1.6+dfsg-1ubuntu2.14.04.2
    Version table:
   *** 2:4.1.6+dfsg-1ubuntu2.14.04.2 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
          500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
          100 /var/lib/dpkg/status
       2:4.1.6+dfsg-1ubuntu2 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1342842/+subscriptions



More information about the foundations-bugs mailing list