[Pkg-samba-maint] Bug#567006: winbind: Winbind uses workgroup name instead of DNS domain name when password server specified by name.

Sergey Dorofeev sergey at prodo.ru
Tue Jan 26 14:43:46 UTC 2010


Package: winbind
Version: 2:3.2.5-4lenny7
Severity: normal

Winbind uses workgroup name instead of DNS domain name when password server specified by name.
When password server specified as IP, all works.
Domain NETBIOS name PMS, DNS name PLANETA-M.RU

when smb.conf has
password server = VO-PMS-1
the following logged
===
[2010/01/26 17:35:41,  0] winbindd/winbindd.c:main(1127)
  winbindd version 3.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2010/01/26 17:35:41,  0] winbindd/winbindd_cache.c:initialize_winbindd_cache(2374)
  initialize_winbindd_cache: clearing cache and re-creating with version number 1
[2010/01/26 17:35:42,  1] libsmb/clikrb5.c:ads_krb5_mk_req(680)
  ads_krb5_mk_req: krb5_get_credentials failed for VO-PMS-1$@PMS (Cannot resolve network address for KDC in requested realm)
[2010/01/26 17:35:42,  1] libsmb/cliconnect.c:cli_session_setup_kerberos(626)
  cli_session_setup_kerberos: spnego_gen_negTokenTarg failed: Cannot resolve network address for KDC in requested realm
===
(see than after @ goes netbios name instead of DNS and kerberos obviosly fails)

and wbinfo -t fails
(net ads testjoin reports OK)

when changing to
password server = 172.16.0.32

logs are clean and wbinfo -t is OK


-- System Information:
Debian Release: 5.0.3
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages winbind depends on:
ii  adduser         3.110                    add and remove users and groups
ii  libc6           2.7-18lenny2             GNU C Library: Shared libraries
ii  libcomerr2      1.41.3-1                 common error description library
ii  libkrb53        1.6.dfsg.4~beta1-5lenny2 MIT Kerberos runtime libraries
ii  libldap-2.4-2   2.4.11-1+lenny1          OpenLDAP libraries
ii  libpam0g        1.0.1-5+lenny1           Pluggable Authentication Modules l
ii  libpopt0        1.14-4                   lib for parsing cmdline parameters
ii  libtalloc1      1.2.0~git20080616-1      hierarchical pool based memory all
ii  libwbclient0    2:3.2.5-4lenny7          client library for interfacing wit
ii  lsb-base        3.2-20                   Linux Standard Base 3.2 init scrip
ii  samba-common    2:3.2.5-4lenny7          Samba common files used by both th

winbind recommends no packages.

winbind suggests no packages.

-- no debconf information





More information about the Pkg-samba-maint mailing list