[Pkg-samba-maint] Bug#529735: samba: NT_STATUS_UNSUCCESSFUL when adding user with the same uid as deleted user

Arseny Klimovsky arseny.klimovsky at gmail.com
Thu May 21 08:36:24 UTC 2009


Package: samba
Version: 2:3.2.5-4
Severity: normal

There was a user (both samba and UNIX) which was deleted only from UNIX users.

If create a new user, he can recieve the uid of deleted user. But it would be impossible to add him running
#smbpasswd -a newuser
Unable to modify TDB passwd: NT_STATUS_UNSUCCESSFUL!
Failed to add entry for user newuser.
Failed to modify password entry for user newuser

Debug will also not show the actual reason.

smbpasswd should write something like "The user with the same uid exists in the db"

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-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 samba depends on:
ii  adduser              3.110               add and remove users and groups
ii  debconf [debconf-2.0 1.5.24              Debian configuration management sy
ii  libacl1              2.2.47-2            Access control list shared library
ii  libattr1             1:2.4.43-2          Extended attribute shared library
ii  libc6                2.7-18              GNU C Library: Shared libraries
ii  libcomerr2           1.41.3-1            common error description library
ii  libcups2             1.3.8-1lenny4.1     Common UNIX Printing System(tm) - 
ii  libgnutls26          2.4.2-6+lenny1      the GNU TLS library - runtime libr
ii  libkrb53             1.6.dfsg.4~beta1-5  MIT Kerberos runtime libraries
ii  libldap-2.4-2        2.4.11-1            OpenLDAP libraries
ii  libpam-modules       1.0.1-5             Pluggable Authentication Modules f
ii  libpam-runtime       1.0.1-5             Runtime support for the PAM librar
ii  libpam0g             1.0.1-5             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-4           client library for interfacing wit
ii  logrotate            3.7.1-5             Log rotation utility
ii  lsb-base             3.2-20              Linux Standard Base 3.2 init scrip
ii  procps               1:3.2.7-11          /proc file system utilities
ii  samba-common         2:3.2.5-4           Samba common files used by both th
ii  update-inetd         4.31                inetd configuration file updater
ii  zlib1g               1:1.2.3.3.dfsg-12   compression library - runtime

samba recommends no packages.

Versions of packages samba suggests:
pn  ldb-tools                   <none>       (no description available)
ii  openbsd-inetd [inet-superse 0.20080125-2 The OpenBSD Internet Superserver
ii  smbldap-tools               0.9.4-1      Scripts to manage Unix and Samba a

-- debconf information:
  samba/tdbsam: false
  samba/generate_smbpasswd: true
  samba/run_mode: daemons


-- 
--
-------------------------
С уважением,
Климовский Арсений
e-mail: Arseny.Klimovsky at gmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20090521/24775a31/attachment-0001.htm>


More information about the Pkg-samba-maint mailing list