Thank you very much Matt for your mail. I think to do an error during the
management of the user, because the root UID should be 1000 and don't 500 as
I had, so with the command:
pbedit -r -u root -U <NewSID>
I resolved my problem.
Thank you very much.
Alessandro Tani
----- Original Message -----
From: "Matt Schwartz" <mschwartz@dcscorp.net>
To: "Tani Alessandro" <alessandro.tani@quesse.it>
Sent: Thursday, June 16, 2005 1:59 PM
Subject: Re: [Samba] Unable to modify TDB passwd
>I have seen this one before and I solved it by simply re-adding the user.
>Just type:
> smbpasswd -a root
>
> Tani Alessandro wrote:
>
>> Hi everybody,
>>
>> My name is Tani Alessandro, I have a problem when I try to change the
>> password of user "root" (the Domain Administrator). For all
the others
>> users I don't have any problem. I have update samba from the
version
>> 3.0.11 to the version 3.0.14a. I use a Red Hat 9. When I try to change
>> the root password I recive this messagge:
>>
>> > Unable to modify TDB passwd ! Error: Record does not exist
>> > occured while storing the RID index (RID_000001f4)
>> > Update of user root failed!
>>
>> But the root user exist:
>>
>> > [root@sole samba]# pdbedit -Lvu root
>>
>>> Unix username: root
>>> NT username:
>>> Account Flags: [U ]
>>> User SID:
S-1-5-21-3208351604-3227578651-2542640303-500
>>> Primary Group SID:
S-1-5-21-3208351604-3227578651-2542640303-1001
>>> Full Name: root
>>> Home Directory: \\sole\homes\root
>>> HomeDir Drive: H:
>>> Logon Script: root.bat
>>> Profile Path:
>>> Domain: MIODOMINIO
>>> Account desc: Utente Amministratore del Dominio
>>> Workstations:
>>> Munged dial:
>>> Logon time: 0
>>> Logoff time: Fri, 13 Dec 1901 21:45:51 GMT
>>> Kickoff time: Fri, 13 Dec 1901 21:45:51 GMT
>>> Password last set: Mon, 13 Jun 2005 17:41:37 GMT
>>> Password can change: Thu, 16 Jun 2005 17:41:37 GMT
>>> Password must change: Wed, 13 Jul 2005 17:41:37 GMT
>>> Last bad password : 0
>>> Bad password count : 0
>>> Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>>
>>
>> What could I do to resolve my problem?
>>
>> Thank you very much,
>>
>> Alessandro Tani
>>
>> --------------------------------------------------------------------
>> Le informazioni contenute nella presente comunicazione e i relativi
>> allegati possono essere riservate e sono, comunque, rivolte esclusi-
>> vamente al destinatario. La diffusione, distribuzione e/o copie del
>> documento trasmesso o degli allegati da parte di qualsiasi soggetto
>> diverso dal destinatario ? perseguibile ai sensi dell'articolo 616
>> Codice Penale e del Decreto Legislativo n. 196/2003.
>> Se avete ricevuto questo messaggio per errore, Vi preghiamo di re-
>> inviarlo al mittente e distruggerlo.
>> Per informazioni potete contattare l'indirizzo privacy@quesse.it
>> ***
>> This message and its attachments are addressed solely to the persons
>> above and may contain confidential information. If you have received
>> the message in error, be informed that any use of the content hereof
>> is prohibited and it is punished by law. Please return it immediately
>> to the sender and delete the message. Should you have any questions,
>> please contact us at privacy@quesse.it.
>> --------------------------------------------------------------------
>>
>
>
--------------------------------------------------------------------
Le informazioni contenute nella presente comunicazione e i relativi
allegati possono essere riservate e sono, comunque, rivolte esclusi-
vamente al destinatario. La diffusione, distribuzione e/o copie del
documento trasmesso o degli allegati da parte di qualsiasi soggetto
diverso dal destinatario ? perseguibile ai sensi dell'articolo 616
Codice Penale e del Decreto Legislativo n. 196/2003.
Se avete ricevuto questo messaggio per errore, Vi preghiamo di re-
inviarlo al mittente e distruggerlo.
Per informazioni potete contattare l'indirizzo privacy@quesse.it
***
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited and it is punished by law. Please return it immediately
to the sender and delete the message. Should you have any questions,
please contact us at privacy@quesse.it.
--------------------------------------------------------------------