[Samba] tdbtool help

simo idra at samba.org
Thu Aug 24 13:10:33 GMT 2006


use net idmap dump and net idmap restore

Simo.

On Thu, 2006-08-24 at 08:59 -0400, David Shapiro wrote:
> Please provide me with an example on how to use this tool to change a
> uid of a user to what I want the uid to be.  I am confused on what it
> thinks are keys.  It has a keys command:
>  
> 
> key 11 bytes: UID 119989
> key 44 bytes: S-1-5-21-54348060-1989963526-242692186-2277
> key 44 bytes: S-1-5-21-54348060-1989963526-242692186-8749
> key 45 bytes: S-1-5-21-54348060-1989963526-242692186-24986
> 
>  
> But if I go to type tdb> show UID 119989
>  
> 
> tdb> open winbindd_idmap.tdb
> tdb> show UID 119989
> fetch failed
> tdb>
> 
> What is the key?  UID 119989?  119989?  11 bytes: UID 119989?  Sigh. 
> No examples are shown in the manpage.
>  
> What I really want to do is locate the uid assocated with a specific
> sid and change it to something else.   Please help.
>  
> Thanks,
>  
> David
>  
> 
> David Shapiro
> Distributed Systems
> Unix Team Lead
> office: 919-765-2011
> cellphone: 730-0538
-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba mailing list