Fail to join Windows 7 or Windows 2008 Machine to Samba Domain

Bug #814898 reported by rdratlos
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
smbldap-tools (Debian)
New
Unknown
smbldap-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When joining a Windows 7 or Windows 2008 machine to a Samba domain using smbldap-useradd -w as 'add machine script', Windows fails with error message: 'The following error ocurred attempting to join the domain "MYDOMAIN":
 A device attached to the system is not functioning.'

The reason for this is that smbldap tools are calling smbpasswd right after the
ldap add of the machine, however, some nss dependent service is using
a cached copy of ldap which does not contain the new machine entry. See e. g. http://lists.samba.org/archive/samba/2010-July/156930.html.

When using nscd on the Samba server, smbldap -useradd should flush the nss cache.

Revision history for this message
rdratlos (rdratlos) wrote :
Revision history for this message
rdratlos (rdratlos) wrote :

Sorry: uploaded the wrong file.
Here's the correct patch:

tags: added: patch
Daniel T Chen (crimsun)
tags: added: patch-forwarded-debian
removed: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package smbldap-tools - 0.9.5-1ubuntu1

---------------
smbldap-tools (0.9.5-1ubuntu1) oneiric; urgency=low

  * Apply patch from rdratlos to resolve being unable to join a Windows
    7 or Windows 2008 machine to a Samba domain due to the use of cached
    nss credentials. (LP: #814898)
 -- Daniel T Chen <email address hidden> Mon, 01 Aug 2011 15:14:32 -0400

Changed in smbldap-tools (Ubuntu):
status: New → Fix Released
Changed in smbldap-tools (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.