Package: smbldap-tools Version: 0.9.4-1 Severity: normal Tags: patch When joining domain with new computer for which a posix account doesn't exist an error message is shown: "no such user". If one tries to do it for the second time it works as expected (the computer joins the domain).
Bug is caused by interference from nscd: 1. When adding new computer to domain samba checks if posix account exists for it. 2. Nscd chaches the negative result 3. Samba adds new account to LDAP 4. Samba checks if the account is properly added 5. Nscd returns the cached negative result 6. Samba returns "no such user" error to Windows workstation Fix: add sustem "/usr/sbin/nscd -i passwd > /dev/null &2>1"; after each $ldap_master->unbind; in the smbldap-useradd script to invalidate nscd cache after LDAP modifications. -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages smbldap-tools depends on: ii libcrypt-smbhash-perl 0.12-2 generate LM/NT hash of a password ii libdigest-sha1-perl 2.11-2+b1 NIST SHA-1 message digest algorith ii libio-socket-ssl-perl 1.16-1+lenny1 Perl module implementing object or ii libnet-ldap-perl 1:0.36-1 A Client interface to LDAP servers ii libunicode-maputf8-perl 1.11-2 Perl module for conversing between ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction smbldap-tools recommends no packages. smbldap-tools suggests no packages. -- no debconf information -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl System Zarządzania Jakością zgodny z normą ISO 9001:2000 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

