[Pkg-samba-maint] Bug#529735: Bug unreproducible

Christian PERRIER bubulle at debian.org
Thu May 12 07:53:20 UTC 2011


tags 529735 unreproducible moreinfo
thanks

Hello,

A while ago, you reported the following against samba:
===============================================
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"
=================================================

I'm afraid I can't reproduce that anymore. With a TDB backend,
"smbpasswd -a" will happily work when a user has been deleted then
re-added in Unix accounts.

I suspect the problem you had has either been fixed since then....or
was related to something else.


mykerinos:/# userdel -r patrick
mykerinos:/# tdbdump /var/lib/samba/passdb.tdb | grep patrick
key(13) = "USER_patrick\00"
data(205) = "\00\00\00\00\FF\FF\FF\7F\FF\FF\FF\7F\00\00\00\00\0E\8F\CBM\00\00\00\00\FF\FF\FF\7F\08\00\00\00patrick\00\0A\00\00\00MYKERINOS\00\01\00\00\00\00\10\00\00\00Patrick Star,,,\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\BE\0B\00\00\01\02\00\00\00\00\00\00\10\00\00\00\E5!\80\D8\80\96\DB}\DFG;\CA \F7qz\00\00\00\00\10\00\00\00\A8\00\15\00\00\00 \00\00\00\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EC\04\00\00"
data(8) = "patrick\00"
mykerinos:/# adduser patrick
Ajout de l'utilisateur « patrick » ...
Ajout du nouveau groupe « patrick » (1004) ...
Ajout du nouvel utilisateur « patrick » (1000) avec le groupe « patrick » ...
Création du répertoire personnel « /home/patrick »...
Copie des fichiers depuis « /etc/skel »...
Entrez le nouveau mot de passe UNIX : 
Retapez le nouveau mot de passe UNIX : 
Aucun mot de passe fourni
Entrez le nouveau mot de passe UNIX : 
Retapez le nouveau mot de passe UNIX : 
passwd : le mot de passe a été mis à jour avec succès
Modification des informations relatives à l'utilisateur patrick
Entrez la nouvelle valeur ou « Entrée » pour conserver la valeur proposée
        Nom complet []: 
        N° de bureau []: 
        Téléphone professionnel []: 
        Téléphone personnel []: 
        Autre []: 
Cette information est-elle correcte ? [O/n]o
mykerinos:/# smbpasswd -a patrick
New SMB password:
Retype new SMB password:
mykerinos:/# 

I hereby propose closing this bug report.

-- 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20110512/08cc50e4/attachment.pgp>


More information about the Pkg-samba-maint mailing list