[Bug 1291951] Re: winbind loose domain join after reboot

Michael Rodrigues mikebrodrigues at gmail.com
Tue Jun 17 17:19:48 UTC 2014


Turns out the tdbbackup method was a red herring. What I am seeing
though is that I can use "net ads testjoin" to rebind without having to
authenticate. Running this with debug I see that the
/var/run/samba/smb_krb5/krb5.conf.DOMAIN file is generated.

-- 
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/1291951

Title:
  winbind loose domain join after reboot

Status in “samba” package in Ubuntu:
  Confirmed

Bug description:
  After a reboot we have to rejoin our server with "net ads join -U
  administrator" to the domain.

  I think, it has something to do, that files in /var/run/ (and
  /var/cache/? ) get cleared on reboot.

  We connect to a Windows 2008 R2 Domain Controller.

  root at proxysrv:~# ls -lah /var/lib/samba/
  insgesamt 200K
  drwxr-xr-x  2 root root 4,0K Mär  1  2013 .
  drwxr-xr-x 42 root root 4,0K Jul 30  2013 ..
  -rw-------  1 root root  36K Dez 10  2012 account_policy.tdb
  -rw-------  1 root root  40K Mär  1  2013 group_mapping.tdb
  -rw-------  1 root root  36K Dez 10  2012 passdb.tdb
  -rw-------  1 root root  44K Mär 12 18:33 secrets.tdb
  -rw-r--r--  1 root root  36K Mär  1  2013 winbindd_idmap.tdb

  root at proxysrv:~# ls -lah /var/run/samba/
  insgesamt 112K
  drwxr-xr-x  4 root root           200 Mär 13 11:49 .
  drwxr-xr-x 17 root root           700 Mär 13 11:40 ..
  -rw-r--r--  1 root root           40K Mär 13 11:49 gencache_notrans.tdb
  -rw-r--r--  1 root root           44K Mär 13 11:49 gencache.tdb
  -rw-------  1 root root           12K Mär 12 18:33 messages.tdb
  -rw-------  1 root root           696 Mär  7 06:38 mutex.tdb
  -rw-r--r--  1 root root          8,0K Mär  7 06:38 serverid.tdb
  drwxr-xr-x  2 root root            60 Mär 13 11:49 smb_krb5
  -rw-r--r--  1 root root             5 Mär  7 06:38 winbindd.pid
  drwxr-x---  2 root winbindd_priv   60 Mär  7 06:38 winbindd_privileged

  root at proxysrv:~# ls -lah /var/run/samba/smb_krb5/
  insgesamt 4,0K
  drwxr-xr-x 2 root root  60 Mär 13 11:49 .
  drwxr-xr-x 4 root root 200 Mär 13 11:49 ..
  -rw-r--r-- 1 root root 327 Mär 13 11:49 krb5.conf.DOMAIN

  root at proxysrv:~# dir /var/cache/samba/
  insgesamt 144K
  drwxr-xr-x  2 root root 4,0K Mär  7 06:38 .
  drwxr-xr-x 12 root root 4,0K Dez 11  2012 ..
  -rw-------  1 root root 104K Mär 13 12:50 netsamlogon_cache.tdb
  -rw-------  1 root root  32K Mär 13 11:49 winbindd_cache.tdb

  Any suggestions?

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: winbind 2:3.6.3-2ubuntu2.9
  ProcVersionSignature: Ubuntu 3.2.0-60.91-generic 3.2.55
  Uname: Linux 3.2.0-60-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: amd64
  Date: Thu Mar 13 12:46:16 2014
  InstallationMedia: Ubuntu-Server 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120817.3)
  MarkForUpload: True
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SambaClientRegression: No
  SourcePackage: samba
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list