Public bug reported: After a reboot we have to rejoin our server to the domain.
I think, it has something to do, that file in /var/run/ (and /var/cache/? ) get cleared on reboot. We connect to a Windows 2008 R2 Domain Controller. root@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@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@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@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) ** Affects: samba (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug precise ** Description changed: After a reboot we have to rejoin our server to the domain. I think, it has something to do, that file in /var/run/ (and /var/cache/? ) get cleared on reboot. We connect to a Windows 2008 R2 Domain Controller. root@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@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@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@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 + 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) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1291951 Title: winbind loose domain join after reboot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1291951/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs